all repos — openbox @ f791f9a35e016b52295fa733dc21f9d64de6ead1

openbox fork - make it a bit more like ryudo

eat enter events on desktop switch so that our own policy can be applied
Dana Jansens danakj@orodu.net
commit

f791f9a35e016b52295fa733dc21f9d64de6ead1

parent

f68066aa63edd6404dc8a598bd9e1f66d8d3844d

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M openbox/screen.copenbox/screen.c

@@ -28,6 +28,7 @@ #include "config.h"

#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 @@ frame_hide(c->frame);

} } - 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)