1
0
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:
kojima
2003-06-04 20:40:00 +00:00
parent 4d701d8306
commit ed0d234d7f
3 changed files with 90 additions and 21 deletions

View File

@@ -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));