summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-03-31 00:19:13 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-03-31 00:19:13 -0700
commite6dcda815740711b66641545e911a96ac58f805f (patch)
treeea978d05253cc4fbe8b27524f7fd045f67be02a8
parent6137d004f732353d386d03b86ea38b0a55b5999b (diff)
Don't provide AppleWMFrame* values in the applewm protocol. Those are
determined by libXplugin and are passed straight through. The AppleWM protocol just serves to transport those values between the WM and libXplugin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--applewmconst.h29
1 files changed, 3 insertions, 26 deletions
diff --git a/applewmconst.h b/applewmconst.h
index 5088804..4877c34 100644
--- a/applewmconst.h
+++ b/applewmconst.h
@@ -73,35 +73,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define AppleWMNumWindowLevels 5
/* Possible value for frame_rect argument to XAppleWMFrameGetRect() */
-#define AppleWMFrameRectTitleBar 1
-#define AppleWMFrameRectTracking 2
-#define AppleWMFrameRectGrowBox 3
+/* Use xp_frame_rect_enum from <Xplugin.h> */
/* Window frame classes */
-#define AppleWMFrameClassDocument 1 << 0
-#define AppleWMFrameClassDialog 1 << 1
-#define AppleWMFrameClassModalDialog 1 << 2
-#define AppleWMFrameClassSystemModalDialog 1 << 3
-#define AppleWMFrameClassUtility 1 << 4
-#define AppleWMFrameClassToolbar 1 << 5
-#define AppleWMFrameClassMenu 1 << 6
-#define AppleWMFrameClassSplash 1 << 7
-#define AppleWMFrameClassBorderless 1 << 8
+/* Use xp_frame_class_enum from <Xplugin.h> */
/* Window frame attributes */
-#define AppleWMFrameActive 0x0001
-#define AppleWMFrameUrgent 0x0002
-#define AppleWMFrameTitle 0x0004
-#define AppleWMFramePrelight 0x0008
-#define AppleWMFrameShaded 0x0010
-#define AppleWMFrameCloseBox 0x0100
-#define AppleWMFrameCollapseBox 0x0200
-#define AppleWMFrameZoomBox 0x0400
-#define AppleWMFrameAnyBox 0x0700
-#define AppleWMFrameCloseBoxClicked 0x0800
-#define AppleWMFrameCollapseBoxClicked 0x1000
-#define AppleWMFrameZoomBoxClicked 0x2000
-#define AppleWMFrameAnyBoxClicked 0x3800
-#define AppleWMFrameGrowBox 0x4000
+/* Use xp_frame_attr_enum from <Xplugin.h> */
#endif /* _APPLEWMCONST_H_ */