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
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
04-19-2010, 02:12 PM
Ales Kozumplik
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.
There's a similar patch for rhel6:
524f4b6950d66470a48207cc39532de21173538b.
---
gui.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gui.py b/gui.py
index 070e998..63966e1 100755
--- a/gui.py
+++ b/gui.py
@@ -1437,6 +1437,9 @@ class InstallControlWindow:
# with a dpi of up to 147
if flags.livecdInstall:
i.hide()
+ elif flags.preexisting_x11:
+ # running on a pre-existing X, probably through X11 forwarding
+ pass
else:
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT _DESKTOP)
--
1.6.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list