Fix startup error (undefined variable) on non-composited displays.
This commit is contained in:
parent
22ed84abdd
commit
412c9b3be3
|
@ -378,7 +378,6 @@ class Window(Container, Gtk.Window):
|
||||||
if value:
|
if value:
|
||||||
dbg('setting rgba visual')
|
dbg('setting rgba visual')
|
||||||
visual = screen.get_rgba_visual()
|
visual = screen.get_rgba_visual()
|
||||||
|
|
||||||
if visual:
|
if visual:
|
||||||
self.set_visual(visual)
|
self.set_visual(visual)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue