Raise the event area on window stack changes rather
than on activate. I think activate is called only when there is a focus change.
This commit is contained in:
parent
3a4f4166f0
commit
6b04dca40e
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
||||
* #2739 Make frame show on corners also after showing palettes. (marco)
|
||||
|
||||
Snapshot 47f473189e
|
||||
|
||||
* Fix typo so the removal of expanded activity bundles is complete. (tomeu)
|
||||
|
@ -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_()
|
||||
|
Loading…
Reference in New Issue
Block a user