]> Dogcows Code - chaz/openbox/commitdiff
add struts to the list. reboringify --debug-xinerama
authorDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 11:51:12 +0000 (11:51 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 11:51:12 +0000 (11:51 +0000)
openbox/extensions.c
openbox/screen.c

index 605834cd701c2e11d27aa35186693a990f5ec4fa..b7d8e73aa9ea53f148e36e1c81f29890254067c2 100644 (file)
@@ -105,7 +105,7 @@ void extensions_xinerama_screens(Rect **xin_areas, guint *nxin)
         *nxin = 2;
         *xin_areas = g_new(Rect, *nxin + 1);
         RECT_SET((*xin_areas)[0], 0, 0, w/2, h);
-        RECT_SET((*xin_areas)[1], w/2, 0, w-(w/2), h/2);
+        RECT_SET((*xin_areas)[1], w/2, 0, w-(w/2), h);
     }
     else {
         *nxin = 1;
index bfda22098f2de24bf28d7e4e99bcd5931782158f..f59856e9d61c79d0f0b0a8a3aaeb69fd8c7ebd3b 100644 (file)
@@ -1112,6 +1112,7 @@ typedef struct {
             ObScreenStrut *ss = g_new(ObScreenStrut, 1); \
             ss->desktop = i; \
             ss->strut = s;  \
+            sl = g_slist_prepend(sl, ss); \
         } \
 }
 
This page took 0.030203 seconds and 4 git commands to generate.