don’t fix coordinates/change focus/warp when source_output was scratchpad

next
Michael Stapelberg 2015-01-23 17:07:31 +01:00
parent 13850a55b0
commit 9480801927
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ void con_move_to_workspace(Con *con, Con *workspace, bool fix_coordinates, bool
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
* to the coordinate space of the correct output */
if (fix_coordinates && con->type == CT_FLOATING_CON) {