diff options
Diffstat (limited to 'xserver/hw/xquartz/quartz.h')
-rw-r--r-- | xserver/hw/xquartz/quartz.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/xserver/hw/xquartz/quartz.h b/xserver/hw/xquartz/quartz.h index b1a3f3183..7efb7e09b 100644 --- a/xserver/hw/xquartz/quartz.h +++ b/xserver/hw/xquartz/quartz.h @@ -35,6 +35,7 @@ #include "screenint.h" #include "window.h" +#include "pixmap.h" /*------------------------------------------ Quartz display mode function types @@ -62,7 +63,8 @@ typedef void (*ResumeScreenProc)(ScreenPtr pScreen); /* * Screen state change support */ -typedef void (*AddPseudoramiXScreensProc)(int *x, int *y, int *width, int *height); +typedef void (*AddPseudoramiXScreensProc) + (int *x, int *y, int *width, int *height, ScreenPtr pScreen); typedef void (*UpdateScreenProc)(ScreenPtr pScreen); /* @@ -112,7 +114,16 @@ typedef struct _QuartzModeProcs { } QuartzModeProcsRec, *QuartzModeProcsPtr; extern QuartzModeProcsPtr quartzProcs; -extern int quartzHasRoot, quartzEnableRootless; + +extern Bool XQuartzFullscreenVisible; /* Are the windows visible (predicated on !rootless) */ +extern Bool XQuartzServerVisible; /* Is the server visible ... TODO: Refactor to "active" */ +extern Bool XQuartzEnableKeyEquivalents; +extern Bool XQuartzRootlessDefault; /* Is our default mode rootless? */ +extern Bool XQuartzIsRootless; /* Is our current mode rootless (or FS)? */ +extern Bool XQuartzFullscreenMenu; /* Show the menu bar (autohide) while in FS */ +extern Bool XQuartzFullscreenDisableHotkeys; +extern Bool XQuartzOptionSendsAlt; /* Alt or Mode_switch? */ +extern Bool XQuartzUseSysBeep; /* Sys beep or our own? */ Bool QuartzAddScreen(int index, ScreenPtr pScreen); Bool QuartzSetupScreen(int index, ScreenPtr pScreen); @@ -128,8 +139,8 @@ void QuartzHide(void); void QuartzSetRootClip(BOOL enable); void QuartzSpaceChanged(uint32_t space_id); -void QuartzSetFullscreen(Bool state); void QuartzSetRootless(Bool state); +void QuartzShowFullscreen(Bool state); int server_main(int argc, char **argv, char **envp); #endif |