summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 38ad8978..53dce6e7 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -430,6 +430,7 @@ void screen_set_desktop(guint num)
}
}
+ XSync(ob_display, FALSE);
/* focus the last focused window on the desktop, and ignore enter events
from the switch so it doesnt mess with the focus */
while (XCheckTypedEvent(ob_display, EnterNotify, &e));