Displaying 1 result from an estimated 1 matches for "compwindowstatemaximizedvertmask".
2007 Apr 05
1
Ignoring increment hint when maximized horz/vert
...opt[COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED].value.b ||
+ !(w->state & CompWindowStateMaximizedHorzMask))
+ xinc = MAX (xinc, hints->width_inc);
+
+ if (!d->opt[COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED].value.b ||
+ !(w->state & CompWindowStateMaximizedVertMask))
+ yinc = MAX (yinc, hints->height_inc);
}
/* clamp width and height to min and max values */
Oh, also a tiny whitespace issue I noticed:
--- src/window.c
+++ src/window.c
@@ -3314,7 +3314,7 @@ addWindowSizeChanges (CompWindow *w,
x = (vx - w->screen->x) * w...