Displaying 1 result from an estimated 1 matches for "comparewindowactiveness".
2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
...- if (focus)
+ if (w->type & (CompWindowTypeNormalMask |
+ CompWindowTypeDialogMask |
+ CompWindowTypeModalDialogMask))
{
- if (w->type & (CompWindowTypeNormalMask |
- CompWindowTypeDialogMask |
- CompWindowTypeModalDialogMask))
- {
- if (compareWindowActiveness (focus, w) < 0)
+ if (compareWindowActiveness (focus, w) < 0)
focus = w;
- }
}
- else
- focus = w;
}
+ else
+ focus = w;
}
}
if (focus)
{
- if (focus->id != d->activeWindow)
+ if (focus->id != s->display->activeWindow)...