don’t fix coordinates/change focus/warp when source_output was scratchpad
This commit is contained in:
parent
13850a55b0
commit
9480801927
|
@ -771,7 +771,7 @@ void con_move_to_workspace(Con *con, Con *workspace, bool fix_coordinates, bool
|
||||||
next = ws;
|
next = ws;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (source_output != dest_output) {
|
if (source_output != dest_output && !con_is_internal(source_output)) {
|
||||||
/* Take the relative coordinates of the current output, then add them
|
/* Take the relative coordinates of the current output, then add them
|
||||||
* to the coordinate space of the correct output */
|
* to the coordinate space of the correct output */
|
||||||
if (fix_coordinates && con->type == CT_FLOATING_CON) {
|
if (fix_coordinates && con->type == CT_FLOATING_CON) {
|
||||||
|
|
Loading…
Reference in New Issue