X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=2cb3cd84c8318e3cfbbc1ba98c8e01ef67eda881;hb=af3ae51f822d9e4bb2b164d8590886f08f5b659f;hp=9ce25dde546da3669067dc0996ad73ce88582bff;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 9ce25dde..2cb3cd84 100644 --- 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)