compiz/compiz_stacking.patch
raveit 64729054e8 add %global plugins_schemas
- change mateconf scriptlets
- remove (Requires(post): desktop-file-utils)
- add some patches from Jasmine Hassan jasmine.aura@gmail.com
- remove (noreplace) from mateconf schema directory
- add desktop-file-validate
- disable mate keybindings for the moment
2012-12-04 16:21:22 +01:00

17 lines
740 B
Diff

Author: Michael Vogt <michael.vogt@ubuntu.com>
Description: map windows with focus_on_map=FALSE in the background
map windows with focus_on_map=FALSE in the background (just like metacity)
Origin: vendor, ubuntu (1:0.8.2-0ubuntu6)
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/333284
--- a/src/event.c
+++ b/src/event.c
@@ -2075,7 +2075,7 @@ handleEvent (CompDisplay *d,
focus = allowWindowFocus (w, NO_FOCUS_MASK,
w->screen->x, w->screen->y, 0);
- if (focus == CompFocusDenied)
+ if ((focus == CompFocusDenied || focus == CompFocusPrevent) && (w->type & ~NO_FOCUS_MASK))
stackingMode = CompStackingUpdateModeInitialMapDeniedFocus;
else
stackingMode = CompStackingUpdateModeInitialMap;