aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/macosx/NativeWindowProtocols.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-09-28 00:20:50 +0200
committerSven Gothel <[email protected]>2013-09-28 00:20:50 +0200
commita2a057406ff5d21499860e8fef6ba88f07d9bf95 (patch)
tree8d226729f2f4b8be2527635f84fdc5c051c4e5e3 /src/nativewindow/native/macosx/NativeWindowProtocols.h
parentebb62e74f9e0dc87d7632cf16ca1bc7554ffcadc (diff)
Bug 816: Clarify JAWT_OSX_CALAYER_QUIRK_* semantics, add JAWT_OSX_CALAYER_QUIRK_LAYOUT
Diffstat (limited to 'src/nativewindow/native/macosx/NativeWindowProtocols.h')
-rw-r--r--src/nativewindow/native/macosx/NativeWindowProtocols.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nativewindow/native/macosx/NativeWindowProtocols.h b/src/nativewindow/native/macosx/NativeWindowProtocols.h
index 73c8e65c5..98e864f8b 100644
--- a/src/nativewindow/native/macosx/NativeWindowProtocols.h
+++ b/src/nativewindow/native/macosx/NativeWindowProtocols.h
@@ -41,6 +41,13 @@
*/
#define NW_DEDICATEDFRAME_QUIRK_POSITION ( 1 << 1 )
+/**
+ * CALayer position needs to be derived from AWT position.
+ * in relation to super CALayer.
+ * See detailed description in JAWTUtil.java and sync w/ changed.
+ */
+#define NW_DEDICATEDFRAME_QUIRK_LAYOUT ( 1 << 2 )
+
#import <Foundation/NSGeometry.h>
@protocol NWDedicatedFrame