#include "openbox.h"
#include "frame.h"
#include "moveresize.h"
+#include "event.h"
#include "prop.h"
#include "gettext.h"
*en = c->functions & OB_CLIENT_FUNC_CLOSE;
break;
case CLIENT_DECORATE:
- *en = client_normal(c);
+ *en = c->functions & OB_CLIENT_FUNC_UNDECORATE;
break;
default:
*en = TRUE;
g_assert_not_reached();
}
+ event_ignore_all_queued_enters();
+
/* update the menu cuz stuff can have changed */
if (f) {
client_menu_update(f, NULL);
g_assert_not_reached();
}
+ event_ignore_all_queued_enters();
+
/* update the menu cuz stuff can have changed */
if (f) {
layer_menu_update(f, NULL);