search for: 5c763b3

Displaying 1 result from an estimated 1 matches for "5c763b3".

Did you mean: 57633
2007 Mar 03
1
sticky windows and rotate focus
...dow and rotate faces, that window will stay focused. I'm not really sure what other consequences this change has, but I haven't found any problems so far. Can anyone offer some advice? Steve -------------- next part -------------- diff --git a/src/display.c b/src/display.c index 9dcf0a1..5c763b3 100644 --- a/src/display.c +++ b/src/display.c @@ -3135,7 +3135,12 @@ focusDefaultWindow (CompDisplay *d) } } else - focus = w; + { + /* only focus sticky window if it already had focus */ + if (!(w->state & CompWindowStateStickyMask) || + w->id == d->act...