diff --git a/source/dialogs/window-dialog.c b/source/dialogs/window-dialog.c index d1d3f31f..6bffb53f 100644 --- a/source/dialogs/window-dialog.c +++ b/source/dialogs/window-dialog.c @@ -451,13 +451,13 @@ SwitcherMode run_switcher_window ( char **input, G_GNUC_UNUSED void *data ) // Change to the desktop of the selected window/client. // TODO: get rid of strtol window_send_message ( display, root, root, netatoms[_NET_CURRENT_DESKTOP], - strtol ( list[selected_line], NULL, 10 ) - 1, - SubstructureNotifyMask | SubstructureRedirectMask, time ); + strtol ( list[selected_line], NULL, 10 ) - 1, + SubstructureNotifyMask | SubstructureRedirectMask, time ); XSync ( display, False ); window_send_message ( display, root, ids->array[selected_line], - netatoms[_NET_ACTIVE_WINDOW], 2, // 2 = pager - SubstructureNotifyMask | SubstructureRedirectMask, time ); + netatoms[_NET_ACTIVE_WINDOW], 2, // 2 = pager + SubstructureNotifyMask | SubstructureRedirectMask, time ); } }