add struts to the list. reboringify --debug-xinerama

This commit is contained in:
Dana Jansens 2007-06-13 11:51:12 +00:00
parent 2e47bfd0a6
commit a3e7dc19f0
2 changed files with 2 additions and 1 deletions

View 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;

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