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 605834c..b7d8e73 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 bfda220..f59856e 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); \
         } \
 }