projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68066a
)
eat enter events on desktop switch so that our own policy can be applied
author
Dana Jansens
<danakj@orodu.net>
Mon, 22 Sep 2003 04:16:02 +0000
(
04:16
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 22 Sep 2003 04:16:02 +0000
(
04:16
+0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index 9ce25dde546da3669067dc0996ad73ce88582bff..7c3cb8d01abdeed04889be315ad68dfb896d018d 100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-28,6
+28,7
@@
#include "screen.h"
#include "client.h"
#include "frame.h"
+#include "event.h"
#include "focus.h"
#include "popup.h"
#include "extensions.h"
@@
-453,8
+454,9
@@
void screen_set_desktop(guint num)
}
}
- if (!focus_client)
- focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
+ event_ignore_queued_enters();
+
+ focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
}
static void get_row_col(guint d, guint *r, guint *c)