summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Byer <bbyer@apple.com>2008-04-21 19:55:54 -0700
committerBen Byer <bbyer@apple.com>2008-04-21 19:58:29 -0700
commit12a9c63d5c915d885af10a16148e3645242c9edb (patch)
treebd101671943fb357290b3284befb2d15ded8022a
parent94384630d91c92eab03d76710f0a952a9d634729 (diff)
Nuke a call to deprecated LookupClient, and hopefully prevent axquartz-composite
null-pointer dereference, too! (cherry picked from commit 3d28e9f953709914e18807bc74c241333671cb30)
-rw-r--r--miext/rootless/rootlessWindow.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index 333e9d36f..8410e0837 100644
--- a/miext/rootless/rootlessWindow.c
+++ b/miext/rootless/rootlessWindow.c
@@ -138,7 +138,6 @@ RootlessNativeWindowMoved (WindowPtr pWin)
int sx, sy;
XID vlist[2];
Mask mask;
- ClientPtr client;
RootlessWindowRec *winRec = WINREC(pWin);
if (xp_get_window_bounds ((xp_window_id)winRec->wid, &bounds) != Success) return;
@@ -152,14 +151,11 @@ RootlessNativeWindowMoved (WindowPtr pWin)
vlist[1] = (INT16) bounds.y1 - sy;
mask = CWX | CWY;
- /* pretend we're the owner of the window! */
- client = LookupClient (pWin->drawable.id, NullClient);
-
/* Don't want to do anything to the physical window (avoids
notification-response feedback loops) */
no_configure_window = TRUE;
- ConfigureWindow (pWin, mask, vlist, client);
+ ConfigureWindow (pWin, mask, vlist, serverClient);
no_configure_window = FALSE;
}