compiz/compiz_stacking.patch
raveit 85a4272321 do some major changes
- disable mateconf and use libini text file configuration backend
- remove mateconf from scriptlet section
- move glib annotate svg plugins to core package
- disable gtk-windows-decorator
- drop compiz-mate-gtk compiz session script
- disable gtk-windows-decorator patches
- disable marco/metacity
- disable mate/gnome
- disable mate/gnome keybindings
- insert compiz-mate-emerald compiz session script
- insert compiz-xfce-emerald compiz session script
- insert compiz-lxde-emerald compiz session script
- add emerald as require
- add matecompat icon
- add icon cache scriptlets
2012-12-25 19:33:43 +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;