diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-07-03 19:00:45 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-07-03 19:00:45 -0700 |
commit | f3df31998514ed153d05c553866619ba97a2de3c (patch) | |
tree | 15348269eb4d86588d3b34c8e1e408e4c296bb48 | |
parent | 5b85f7468f800c264964a3629e7deff980f596e9 (diff) |
Added XAppleWMAttachTransient to push that codepath from quartz-wm into Xplugin... needed for SL.
-rw-r--r-- | applewm.h | 3 | ||||
-rw-r--r-- | applewmstr.h | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -44,6 +44,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define X_AppleWMSetCanQuit 10 #define X_AppleWMSetWindowMenu 11 #define X_AppleWMSendPSN 12 +#define X_AppleWMAttachTransient 13 /* Events */ #define AppleWMControllerNotify 0 @@ -160,6 +161,8 @@ Bool XAppleWMSetWindowLevel (Display *dpy, Window id, int level); Bool XAppleWMSendPSN(Display *dpy); +Bool XAppleWMAttachTransient(Display *dpy, Window child, Window parent); + Bool XAppleWMSetCanQuit (Display *dpy, Bool state); Bool XAppleWMFrameGetRect (Display *dpy, diff --git a/applewmstr.h b/applewmstr.h index 04a69ec..8a37dbc 100644 --- a/applewmstr.h +++ b/applewmstr.h @@ -159,6 +159,15 @@ typedef struct _AppleWMSendPSN { } xAppleWMSendPSNReq; #define sz_xAppleWMSendPSNReq 12 +typedef struct _AppleWMAttachTransient { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_AppleWMAttachTransient */ + CARD16 length B16; + CARD32 child; + CARD32 parent; +} xAppleWMAttachTransientReq; +#define sz_xAppleWMAttachTransientReq 12 + typedef struct _AppleWMSetCanQuit { CARD8 reqType; /* always WMReqCode */ CARD8 wmReqType; /* always X_AppleWMSetCanQuit */ |