Add each activity to a separate window group to get
a correct behavior with transient windows in matchbox. Thanks to Matthew Allum for suggesting this.
This commit is contained in:
parent
32bb288389
commit
48a21ef143
@ -162,6 +162,10 @@ class Activity(gtk.Window):
|
|||||||
self.present()
|
self.present()
|
||||||
|
|
||||||
def __realize(self, window):
|
def __realize(self, window):
|
||||||
|
group = gtk.Window()
|
||||||
|
group.realize()
|
||||||
|
self.window.set_group(group.window)
|
||||||
|
|
||||||
if not self._dbus_service:
|
if not self._dbus_service:
|
||||||
self._register_service()
|
self._register_service()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user