eat enter events on desktop switch so that our own policy can be applied
This commit is contained in:
parent
f68066aa63
commit
f791f9a35e
1 changed files with 4 additions and 2 deletions
|
@ -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,7 +454,8 @@ void screen_set_desktop(guint num)
|
|||
}
|
||||
}
|
||||
|
||||
if (!focus_client)
|
||||
event_ignore_queued_enters();
|
||||
|
||||
focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue