mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 08:22:37 +01:00
solaris xinerama fixes, wmsetbg updated for xinerama
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#ifdef XINERAMA
|
||||
# ifdef SOLARIS_XINERAMA /* sucks */
|
||||
# define <X11/extensions/xinerama.h>
|
||||
# include <X11/extensions/xinerama.h>
|
||||
# else
|
||||
# include <X11/extensions/Xinerama.h>
|
||||
# endif
|
||||
@@ -51,11 +51,11 @@ wInitXinerama(WScreen *scr)
|
||||
# ifdef SOLARIS_XINERAMA
|
||||
if (XineramaGetState(dpy, scr->screen)) {
|
||||
WXineramaInfo *info = &scr->xine_info;
|
||||
XRectangle header[MAXFRAMEBUFFERS];
|
||||
XRectangle head[MAXFRAMEBUFFERS];
|
||||
unsigned char hints[MAXFRAMEBUFFERS];
|
||||
int i;
|
||||
|
||||
if (XineramaGetInfo(dpy, scr->screen, header, hints,
|
||||
if (XineramaGetInfo(dpy, scr->screen, head, hints,
|
||||
&info->count)) {
|
||||
|
||||
info->screens = wmalloc(sizeof(WMRect)*(info->count+1));
|
||||
|
||||
Reference in New Issue
Block a user