search for: presizeinc

Displaying 1 result from an estimated 1 matches for "presizeinc".

2007 Apr 05
1
Ignoring increment hint when maximized horz/vert
...+ 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 wouldn't allow resize at all if aspect is constrained-- should we?). What do you folks think? --- sr...