summaryrefslogtreecommitdiff
path: root/hw/darwin/quartz/xpr/xprScreen.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@tifa.local>2007-11-21 19:51:14 -0800
committerJeremy Huddleston <jeremy@tifa.local>2007-11-21 19:52:11 -0800
commitbcbaf2a0ce34b6c5e41d2831b8b87dbd0617a89b (patch)
tree064153d76872e4b9674b38e1fec7163d12a61cce /hw/darwin/quartz/xpr/xprScreen.c
parenta55ec1a9f4b62139dc5e5462d79d47b330c27c79 (diff)
Darwin: Dead code removal, Code cleanup, Added launcher
Imported changes from xorg-server-1.2-apple to make master more current wrt file layout, build system changes, and dead code removal.
Diffstat (limited to 'hw/darwin/quartz/xpr/xprScreen.c')
-rw-r--r--hw/darwin/quartz/xpr/xprScreen.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/hw/darwin/quartz/xpr/xprScreen.c b/hw/darwin/quartz/xpr/xprScreen.c
index 886ef343f..a625e62a4 100644
--- a/hw/darwin/quartz/xpr/xprScreen.c
+++ b/hw/darwin/quartz/xpr/xprScreen.c
@@ -41,6 +41,9 @@
#include "Xplugin.h"
#include "quartz/applewmExt.h"
+// From xprFrame.c
+WindowPtr xprGetXWindow(xp_window_id wid);
+
#ifdef DAMAGE
# include "damage.h"
#endif
@@ -84,13 +87,7 @@ eventHandler(unsigned int type, const void *arg,
{
xp_window_id id = * (xp_window_id *) arg;
WindowPtr pWin = xprGetXWindow(id);
- BoxRec box;
- xp_error retval = xp_get_window_bounds(id, &box);
- if (retval != Success) {
- ErrorF("Unable to find new bounds for window\n");
- break;
- }
- QuartzMessageServerThread(kXDarwinWindowMoved, 3, pWin, box.x1, box.y1);
+ QuartzMessageServerThread(kXDarwinWindowMoved, 1, pWin);
}
break;