Displaying 1 result from an estimated 1 matches for "9dcf0a1".
Did you mean:
98cbf0a1
2007 Mar 03
1
sticky windows and rotate focus
...ticky window 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 ==...