eat enter events when the new alttab popup hides
This commit is contained in:
parent
41177771c1
commit
0fe1e8f4d7
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "focus_cycle.h"
|
||||
#include "openbox.h"
|
||||
#include "window.h"
|
||||
#include "event.h"
|
||||
#include "render/render.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
@ -466,6 +467,9 @@ void focus_cycle_popup_hide()
|
|||
|
||||
popup.mapped = FALSE;
|
||||
|
||||
/* kill enter events cause by this unmapping */
|
||||
event_ignore_all_queued_enters();
|
||||
|
||||
while(popup.targets) {
|
||||
ObFocusCyclePopupTarget *t = popup.targets->data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue