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
|
Snapshot 47f473189e
|
||||||
|
|
||||||
* Fix typo so the removal of expanded activity bundles is complete. (tomeu)
|
* Fix typo so the removal of expanded activity bundles is complete. (tomeu)
|
||||||
|
@ -48,8 +48,8 @@ class EventArea(gobject.GObject):
|
|||||||
self._windows.append(invisible)
|
self._windows.append(invisible)
|
||||||
|
|
||||||
screen = wnck.screen_get_default()
|
screen = wnck.screen_get_default()
|
||||||
screen.connect('active-window-changed',
|
screen.connect('window-stacking-changed',
|
||||||
self._active_window_changed_cb)
|
self._window_stacking_changed_cb)
|
||||||
|
|
||||||
def _create_invisible(self, x, y, width, height):
|
def _create_invisible(self, x, y, width, height):
|
||||||
invisible = gtk.Invisible()
|
invisible = gtk.Invisible()
|
||||||
@ -101,6 +101,6 @@ class EventArea(gobject.GObject):
|
|||||||
for window in self._windows:
|
for window in self._windows:
|
||||||
window.hide()
|
window.hide()
|
||||||
|
|
||||||
def _active_window_changed_cb(self, screen, previous_window=None):
|
def _window_stacking_changed_cb(self, screen):
|
||||||
for window in self._windows:
|
for window in self._windows:
|
||||||
window.window.raise_()
|
window.window.raise_()
|
||||||
|
Loading…
Reference in New Issue
Block a user