diff options
author | Ben Byer <bbyer@bbyer.local> | 2007-11-03 05:34:19 -0700 |
---|---|---|
committer | Ben Byer <bbyer@bbyer.apple.com> | 2007-11-08 20:04:03 -0800 |
commit | 154fb6417e5d0bae5191984beac5ce045ce754bb (patch) | |
tree | b64f02baff98274fdd20cfee9065c48b828fec4b /hw/darwin/quartz | |
parent | 169f83e366f678ac5441ad21beb84c9b8c65d28e (diff) |
Initial support for Spaces -- if you use Expose to drag an X11
window to another Space, it will work correctly (as opposed
to just leaving a ghost window). We accomplish this by listening
for the notification from Xplugin that our window has been moved,
and then we ask X11 to move the window to the new location.
Diffstat (limited to 'hw/darwin/quartz')
-rw-r--r-- | hw/darwin/quartz/xpr/xprFrame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/darwin/quartz/xpr/xprFrame.c b/hw/darwin/quartz/xpr/xprFrame.c index c395f0743..aa38845f6 100644 --- a/hw/darwin/quartz/xpr/xprFrame.c +++ b/hw/darwin/quartz/xpr/xprFrame.c @@ -67,6 +67,7 @@ static inline xp_error xprConfigureWindow(xp_window_id id, unsigned int mask, const xp_window_changes *values) { + // ErrorF("xprConfigureWindow()\n"); if (!no_configure_window) return xp_configure_window(id, mask, values); else @@ -184,7 +185,7 @@ xprMoveFrame(RootlessFrameID wid, ScreenPtr pScreen, int newX, int newY) wc.x = newX; wc.y = newY; - + // ErrorF("xprMoveFrame(%d, %p, %d, %d)\n", wid, pScreen, newX, newY); xprConfigureWindow((xp_window_id) wid, XP_ORIGIN, &wc); } |