diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-06 09:10:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-06 09:10:43 +0000 |
| commit | 261d3193c5258126fda8234a3305180066f0f939 (patch) | |
| tree | 780da6c8e466cb39120a891f7ceb0f9efcdfaca8 | |
| parent | a1184b2b7707a9d5c7e6680a6730a6d629e9fa03 (diff) | |
sync before removing all the enter events. this way it actually catches them
| -rw-r--r-- | openbox/screen.c | 1 |
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)); |
