search for: compwindowtypedockmask

Displaying 2 results from an estimated 2 matches for "compwindowtypedockmask".

2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
...sDefaultWindow (CompScreen *s) { - CompScreen *s; CompWindow *w; CompWindow *focus = NULL; - for (s = d->screens; s; s = s->next) + for (w = s->reverseWindows; w; w = w->prev) { - for (w = s->reverseWindows; 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 | + CompWind...
2006 Dec 08
4
Patch to wobbly snap for outputs
...reen->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->screen->workArea.x; + v2 = workArea.x; } v1 = v1 - w->output.left + w->input.left; @@ -594,6 +602,9 @@ findNextEastEdge (CompW...