diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-08-25 19:27:39 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-08-25 19:27:39 -0700 |
commit | 4330cdb29185b7237979940b3d981c79f38e8821 (patch) | |
tree | 4ef60236e53001f51b3bca3162878ab68896f887 | |
parent | 8d07ef7c9665cd742428660d8d0646140c3e8eb2 (diff) |
Move requests opcodes to applewmstr.h.
opcodes are only needed by protocol parsing code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | applewm.h | 15 | ||||
-rw-r--r-- | applewmstr.h | 15 |
2 files changed, 15 insertions, 15 deletions
@@ -30,21 +30,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <X11/Xfuncproto.h> -#define X_AppleWMQueryVersion 0 -#define X_AppleWMFrameGetRect 1 -#define X_AppleWMFrameHitTest 2 -#define X_AppleWMFrameDraw 3 -#define X_AppleWMDisableUpdate 4 -#define X_AppleWMReenableUpdate 5 -#define X_AppleWMSelectInput 6 -#define X_AppleWMSetWindowMenuCheck 7 -#define X_AppleWMSetFrontProcess 8 -#define X_AppleWMSetWindowLevel 9 -#define X_AppleWMSetCanQuit 10 -#define X_AppleWMSetWindowMenu 11 -#define X_AppleWMSendPSN 12 -#define X_AppleWMAttachTransient 13 - /* Events */ #define AppleWMControllerNotify 0 #define AppleWMActivationNotify 1 diff --git a/applewmstr.h b/applewmstr.h index f37db62..40cfdd2 100644 --- a/applewmstr.h +++ b/applewmstr.h @@ -38,6 +38,21 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define APPLE_WM_MINOR_VERSION 3 #define APPLE_WM_PATCH_VERSION 0 +#define X_AppleWMQueryVersion 0 +#define X_AppleWMFrameGetRect 1 +#define X_AppleWMFrameHitTest 2 +#define X_AppleWMFrameDraw 3 +#define X_AppleWMDisableUpdate 4 +#define X_AppleWMReenableUpdate 5 +#define X_AppleWMSelectInput 6 +#define X_AppleWMSetWindowMenuCheck 7 +#define X_AppleWMSetFrontProcess 8 +#define X_AppleWMSetWindowLevel 9 +#define X_AppleWMSetCanQuit 10 +#define X_AppleWMSetWindowMenu 11 +#define X_AppleWMSendPSN 12 +#define X_AppleWMAttachTransient 13 + /* For the purpose of the structure definitions in this file, we must redefine the following types in terms of Xmd.h's types, which may include bit fields. All of these are #undef'd at the end of this file, |