From 99c6a00cf6cae461f45d8fd3e852a9479f3694bc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 13 Jun 2007 15:13:16 +0000 Subject: don't raise windows when moving them between desktops in some cases --- openbox/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index 92d4d9a4..3d3d73cd 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -520,7 +520,7 @@ void screen_set_num_desktops(guint num) for (it = client_list; it; it = g_list_next(it)) { ObClient *c = it->data; if (c->desktop >= num && c->desktop != DESKTOP_ALL) - client_set_desktop(c, num - 1, FALSE); + client_set_desktop(c, num - 1, FALSE, TRUE); } /* change our struts/area to match (after moving windows) */ @@ -561,7 +561,7 @@ void screen_set_desktop(guint num, gboolean dofocus) ignore_start = event_start_ignore_all_enters(); if (moveresize_client) - client_set_desktop(moveresize_client, num, TRUE); + client_set_desktop(moveresize_client, num, TRUE, FALSE); /* show windows before hiding the rest to lessen the enter/leave events */ -- cgit v1.2.3