1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

xinerama stuff for solaris

This commit is contained in:
kojima
2003-06-04 18:57:03 +00:00
parent 479ccbda82
commit 5dbb770aa4
8 changed files with 108 additions and 67 deletions

View File

@@ -28,10 +28,6 @@
#include <WINGs/WUtil.h>
#ifdef XINERAMA
#include <X11/extensions/Xinerama.h>
#endif
#define WTB_LEFT 0
#define WTB_RIGHT 1
@@ -42,6 +38,15 @@
#define WTB_MENU 6
typedef struct {
WMRect *screens;
int count; /* screen count, 0 = inactive */
int primary_head; /* main working screen */
} WXineramaInfo;
/* an area of the screen reserved by some window */
typedef struct WReservedArea {
WArea area;
@@ -92,12 +97,8 @@ typedef struct _WScreen {
Visual *w_visual;
int w_depth;
Colormap w_colormap; /* our colormap */
#ifdef XINERAMA
XineramaScreenInfo *xine_screens;
#endif
int xine_count; /* 0 means not active */
int xine_primary_head; /* main working screen */
WXineramaInfo xine_info;
Window no_focus_win; /* window to get focus when nobody
* else can do it */