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); \ } \ }