From: Dana Jansens Date: Wed, 13 Jun 2007 11:51:12 +0000 (+0000) Subject: add struts to the list. reboringify --debug-xinerama X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a3e7dc19f09edf17f0701059be1927ebea5bcab6;p=chaz%2Fopenbox add struts to the list. reboringify --debug-xinerama --- 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); \ } \ }