X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fpopup.c;h=9af23be0d88bfe291139cfec9b4bf6794daf338b;hb=a488360f48abbfd6e67576a1844d792b28e6065c;hp=e7fcbbe552acbf9c93a3e2f29dd3137f9fade101;hpb=2244bc036a9c96704675318dc382ea3abd6f3fdf;p=chaz%2Fopenbox diff --git a/openbox/popup.c b/openbox/popup.c index e7fcbbe5..9af23be0 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -2,7 +2,7 @@ popup.c for the Openbox window manager Copyright (c) 2006 Mikael Magnusson - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,6 +23,7 @@ #include "frame.h" #include "client.h" #include "stacking.h" +#include "event.h" #include "screen.h" #include "render/render.h" #include "render/theme.h" @@ -215,6 +216,9 @@ void popup_hide(ObPopup *self) if (self->mapped) { XUnmapWindow(ob_display, self->bg); self->mapped = FALSE; + + /* kill enter events cause by this unmapping */ + event_ignore_queued_enters(); } }