Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-09-13 10:30:37 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-09-13 10:30:37 (GMT)
commit6b04dca40e66fba93f4e1ac9fc753d591b60dc84 (patch)
treed242209bf645873d3e3b363a611d7daeced6a278 /shell
parent3a4f4166f05f7475f4a9da7c469b46611ec09e1b (diff)
Raise the event area on window stack changes rather
than on activate. I think activate is called only when there is a focus change.
Diffstat (limited to 'shell')
-rw-r--r--shell/view/frame/eventarea.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/frame/eventarea.py b/shell/view/frame/eventarea.py
index 7365deb..69bb759 100644
--- a/shell/view/frame/eventarea.py
+++ b/shell/view/frame/eventarea.py
@@ -48,8 +48,8 @@ class EventArea(gobject.GObject):
self._windows.append(invisible)
screen = wnck.screen_get_default()
- screen.connect('active-window-changed',
- self._active_window_changed_cb)
+ screen.connect('window-stacking-changed',
+ self._window_stacking_changed_cb)
def _create_invisible(self, x, y, width, height):
invisible = gtk.Invisible()
@@ -101,6 +101,6 @@ class EventArea(gobject.GObject):
for window in self._windows:
window.hide()
- def _active_window_changed_cb(self, screen, previous_window=None):
+ def _window_stacking_changed_cb(self, screen):
for window in self._windows:
window.window.raise_()