diff --git a/Window.py b/Window.py index 22e7d31..ba64cfc 100755 --- a/Window.py +++ b/Window.py @@ -39,6 +39,8 @@ class Window(object): self.conf['mouse']['middle'] = 'reconnect' if not 'right' in self.conf['mouse']: self.conf['mouse']['right'] = 'exit' + if not 'always_on_top' in self.conf: + self.conf['always_on_top'] = True self.font_sz = int(1024 * self.conf['font_size']) self.fgcolor = ''.join(map(lambda x: '%02x' % int(0xFF * x), self.conf['fgcolor'])) @@ -51,6 +53,8 @@ class Window(object): self.window.set_decorated(False) if sticky: self.window.stick() + if self.conf['always_on_top']: + self.window.set_keep_above(True) self.window.connect('destroy', self.destroy_event) self.label = gtk.Label('-')