FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Xubuntu Development

 
 
LinkBack Thread Tools
 
Old 04-19-2010, 01:23 PM
Ales Kozumplik
 
Default 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
 
Old 04-19-2010, 02:12 PM
Ales Kozumplik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org