search for: compwindowtypenormalmask

Displaying 3 results from an estimated 3 matches for "compwindowtypenormalmask".

2006 Dec 08
4
Patch to wobbly snap for outputs
...osition.y); + workArea = w->screen->outputDev[output].workArea; + + if (x >= workArea.x) { CompWindow *p; - v1 = w->screen->workArea.x; + v1 = workArea.x; for (p = w->screen->windows; p; p = p->next) { - if (p->invisible || w == p || p->type != CompWindowTypeNormalMask) + if (p->invisible || w == p || + (p->type != CompWindowTypeNormalMask && + p->type != CompWindowTypeDockMask)) continue; s = p->attrib.y - p->output.top; @@ -566,7 +574,7 @@ findNextWestEdge (CompWindow *w, } else { - v2 = w->scre...
2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
...rseWindows; w; w = w->prev) - { - if (w->type & CompWindowTypeDockMask) - continue; + if (w->type & CompWindowTypeDockMask) + continue; - if ((*s->focusWindow) (w)) + if ((*s->focusWindow) (w)) + { + if (focus) { - if (focus) + if (w->type & (CompWindowTypeNormalMask | + CompWindowTypeDialogMask | + CompWindowTypeModalDialogMask)) { - if (w->type & (CompWindowTypeNormalMask | - CompWindowTypeDialogMask | - CompWindowTypeModalDialogMask)) - { - if (compareWindowActiveness (focus, w) < 0) + if (compareWi...
2007 Jan 11
1
Menu fix for firefox and blur
...r.c b/plugins/blur.c index cde18fb..0be98e9 100644 --- a/plugins/blur.c +++ b/plugins/blur.c @@ -226,7 +226,12 @@ blurPreparePaintScreen (CompScreen *s, for (w = s->windows; w; w = w->next) { - if (bs->wMask & w->type) + int type = w->type; + + if (w->type == CompWindowTypeNormalMask && w->attrib.override_redirect) + type = CompWindowTypeUnknownMask; // menu fix hack + + if (bs->wMask & type) { BLUR_WINDOW (w); -- 1.4.4.3