From a3e7dc19f09edf17f0701059be1927ebea5bcab6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 13 Jun 2007 11:51:12 +0000 Subject: [PATCH] add struts to the list. reboringify --debug-xinerama --- openbox/extensions.c | 2 +- openbox/screen.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); \ } \ } -- 2.39.2