Bug#199520: Little Patch for 2.12..3

Alain Schröder alain at parkautomat.net
Sun Mar 5 14:27:10 UTC 2006


The following QnD patch *always* puts the windows on the first Display,
which is a good thing for laptops, which rarely have an external Display
attached.

The patch just ignores any existing Xinerama displays, so this patch
will be annoying for everybody who usually have more than one display.
While this is nothing for inclusion into the Debian package directly I
think it may be interesting for some and also I think this should be
made a gconf option (if not a gnome config option).

Actually the patch should be even earlier, directly before the for loop
before, but I am too lazy to change it now.

Bye,
   Alain

PS: There is definatly no code to prefer or even use the current active
xinerama Desktop.

--- metacity-2.12.3.orig/src/place.c
+++ metacity-2.12.3/src/place.c
@@ -607,6 +607,7 @@

   /* try each xinerama in the natural ordering in turn */
   i = 0;
+  goto out;
   while (i < n_xineramas)
     {
       meta_window_get_work_area_for_xinerama (window,
xineramas_list[i], &work_area);





More information about the Pkg-gnome-maintainers mailing list