[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch] Careful with that WINDOW_TYPE_HINT_DESKTOP, Eugene. (#582998)



We shouldn't set WINDOW_TYPE_HINT_DESKTOP for the toplevel window when X11
display is forwarded, otherwise graphical Anaconda will appear below all
other windows on the desktop and without any decorations.
---
 gui.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gui.py b/gui.py
index 9ed1416..846f145 100755
--- a/gui.py
+++ b/gui.py
@@ -1434,7 +1434,11 @@ class InstallControlWindow:
             # with a dpi of up to 147
             if flags.livecdInstall:
                 i.hide()
+            elif self.anaconda.id.x_already_set:
+                # running on a pre-existing X, probably through X11 forwarding
+                pass
             else:
+                # normal graphical install or a VNC session
                 self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DESKTOP)
 
         if flags.debug:
-- 
1.6.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]