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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux