Displaying 1 result from an estimated 1 matches for "maximize_state".
2007 Apr 05
1
Ignoring increment hint when maximized horz/vert
...er horz or vert (instead of both) maximized windows honor the "ignore" option:
--- src/window.c
+++ src/window.c
@@ -4012,7 +4012,7 @@ constrainNewWindowSize (CompWindow *w,
if (d->opt[COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED].value.b)
{
- if ((w->state & MAXIMIZE_STATE) == MAXIMIZE_STATE)
+ if (w->state & MAXIMIZE_STATE)
flags &= ~(PResizeInc | PAspect);
}
After playing with that, however, I wonder if something like the following would be more correct, as it still enforces increment in the axis that isn't maximized (but it w...