Skip to content
Snippets Groups Projects
Commit d8435e5e authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

Revert "events: ignore client configure requests when maxized"

Bug: 15638

Ignoring all configure requests when maximized or fullscreen is overkill
and prevent valid use cases from working.

This reverts commit 3751c2c7.
parent 2e1070f3
No related branches found
No related tags found
Loading
......@@ -1365,14 +1365,10 @@ handleConfigureRequest (DisplayInfo *display_info, XConfigureRequestEvent * ev)
ev->value_mask &= ~(CWSibling | CWStackMode);
}
}
if (c)
{
TRACE ("window \"%s\" (0x%lx)", c->name, c->window);
if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_MOVING_RESIZING)
|| FLAG_TEST (c->flags, CLIENT_FLAG_FULLSCREEN)
|| (FLAG_TEST_ALL (c->flags, CLIENT_FLAG_MAXIMIZED)
&& (c->screen_info->params->borderless_maximize)))
if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_MOVING_RESIZING))
{
/* Sorry, but it's not the right time for configure request */
return EVENT_FILTER_REMOVE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment