summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-13 11:51:12 +0000
committerDana Jansens <danakj@orodu.net>2007-06-13 11:51:12 +0000
commita3e7dc19f09edf17f0701059be1927ebea5bcab6 (patch)
tree702a77f2b80a8d1801a0ea8bc1577057dcd8608d
parent2e47bfd0a603a9c3c1c8b5190d62e996723bbda1 (diff)
add struts to the list. reboringify --debug-xinerama
-rw-r--r--openbox/extensions.c2
-rw-r--r--openbox/screen.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/openbox/extensions.c b/openbox/extensions.c
index 605834cd..b7d8e73a 100644
--- a/openbox/extensions.c
+++ b/openbox/extensions.c
@@ -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;
diff --git a/openbox/screen.c b/openbox/screen.c
index bfda2209..f59856e9 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -1112,6 +1112,7 @@ typedef struct {
ObScreenStrut *ss = g_new(ObScreenStrut, 1); \
ss->desktop = i; \
ss->strut = s; \
+ sl = g_slist_prepend(sl, ss); \
} \
}