1
=== modified file 'src/window.cpp'
2
Index: compiz-0.9.6+bzr20110929/src/window.cpp
3
===================================================================
4
--- compiz-0.9.6+bzr20110929.orig/src/window.cpp 2011-10-03 22:42:50.182475550 +0800
5
+++ compiz-0.9.6+bzr20110929/src/window.cpp 2011-10-03 22:43:09.642572039 +0800
8
return modalTransient->moveInputFocusTo ();
10
- if (priv->state & CompWindowStateHiddenMask)
11
+ /* If the window is still hidden but not shaded
12
+ * it probably meant that a plugin overloaded
13
+ * CompWindow::focus to allow the focus to go
14
+ * to this window, so only move the input focus
15
+ * to the frame if the window is shaded */
18
XSetInputFocus (s->dpy (), priv->serverFrame,
19
RevertToPointerRoot, CurrentTime);