gnome-shell r34 - trunk/scripts



Author: danw
Date: Thu Nov  6 17:44:01 2008
New Revision: 34
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=34&view=rev

Log:
specify geometries on the test clients so they don't end up with their title
bars under the panel


Modified:
   trunk/scripts/start-in-Xephyr

Modified: trunk/scripts/start-in-Xephyr
==============================================================================
--- trunk/scripts/start-in-Xephyr	(original)
+++ trunk/scripts/start-in-Xephyr	Thu Nov  6 17:44:01 2008
@@ -46,10 +46,11 @@
     # Wait for server to get going: LAME
     time.sleep(1)
 
-    # Start xterm to have some window in our session
-    subprocess.Popen(["xterm"])
-    subprocess.Popen(["xlogo"])
-    subprocess.Popen(["xeyes"])
+    # Start some windows in our session. Specify explicit geometries
+    # so we don't end up with the title bars underneath the panel
+    subprocess.Popen(["xterm", "-geometry", "+30+30"])
+    subprocess.Popen(["xlogo", "-geometry", "-0-0"])
+    subprocess.Popen(["xeyes", "-geometry", "-0+30"])
 
     # Now launch metacity-clutter with our plugin
     shell = launcher.start_shell()



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