XQuartz: Remove some dead code.
Signed-off-by: Jan Hauffa <hauffa@in.tum.de> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
648d189548
commit
b2b9c458a4
|
@ -67,12 +67,8 @@
|
|||
#define FAKE_RANDR 1
|
||||
|
||||
// Shared global variables for Quartz modes
|
||||
int quartzEventWriteFD = -1;
|
||||
int quartzUseSysBeep = 0;
|
||||
int quartzUseAGL = 1;
|
||||
int quartzEnableKeyEquivalents = 1;
|
||||
int quartzServerVisible = FALSE;
|
||||
int quartzServerQuitting = FALSE;
|
||||
DevPrivateKeyRec quartzScreenKeyRec;
|
||||
int aquaMenuBarHeight = 0;
|
||||
QuartzModeProcsPtr quartzProcs = NULL;
|
||||
|
|
|
@ -43,17 +43,6 @@
|
|||
|
||||
#include "darwin.h"
|
||||
|
||||
/*
|
||||
* QuartzFSUseQDCursor
|
||||
* Return whether the screen should use a QuickDraw cursor.
|
||||
*/
|
||||
int QuartzFSUseQDCursor(
|
||||
int depth) // screen depth
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* QuartzBlockHandler
|
||||
* Clean out any autoreleased objects.
|
||||
|
|
|
@ -51,20 +51,13 @@ typedef struct {
|
|||
#define QUARTZ_PRIV(pScreen) \
|
||||
((QuartzScreenPtr)dixLookupPrivate(&pScreen->devPrivates, quartzScreenKey))
|
||||
|
||||
// Data stored at startup for Cocoa front end
|
||||
extern int quartzEventWriteFD;
|
||||
|
||||
// User preferences used by Quartz modes
|
||||
extern int quartzUseSysBeep;
|
||||
extern int focusOnNewWindow;
|
||||
extern int quartzUseAGL;
|
||||
extern int quartzEnableKeyEquivalents;
|
||||
extern int quartzFullscreenDisableHotkeys;
|
||||
extern int quartzOptionSendsAlt;
|
||||
|
||||
// Other shared data
|
||||
extern int quartzServerVisible;
|
||||
extern int quartzServerQuitting;
|
||||
extern DevPrivateKeyRec quartzScreenKeyRec;
|
||||
#define quartzScreenKey (&quartzScreenKeyRec)
|
||||
extern int aquaMenuBarHeight;
|
||||
|
@ -72,14 +65,6 @@ extern int aquaMenuBarHeight;
|
|||
// Name of GLX bundle for native OpenGL
|
||||
extern const char *quartzOpenGLBundle;
|
||||
|
||||
void QuartzReadPreferences(void);
|
||||
void QuartzMessageMainThread(unsigned msg, void *data, unsigned length);
|
||||
void QuartzMessageServerThread(int type, int argc, ...);
|
||||
void QuartzSetWindowMenu(int nitems, const char **items,
|
||||
const char *shortcuts);
|
||||
void QuartzFSCapture(void);
|
||||
void QuartzFSRelease(void);
|
||||
int QuartzFSUseQDCursor(int depth);
|
||||
void QuartzBlockHandler(pointer blockData, OSTimePtr pTimeout, pointer pReadmask);
|
||||
void QuartzWakeupHandler(pointer blockData, int result, pointer pReadmask);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user