summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-05 10:46:36 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-12 15:26:07 -0700
commitbad7cd14c2021b14971b3f707f927803a053003e (patch)
tree441b92df8953de970d67bbd184c9261d2fbf1696
parent1119fe136f8731f26fc6f50b92f5ddf78f3f83be (diff)
XQuartz: Dead code removal
(cherry picked from commit bf10fb0b1f776e72db7c76db11f764e26f9d62c4)
-rw-r--r--hw/xquartz/xpr/xprFrame.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/hw/xquartz/xpr/xprFrame.c b/hw/xquartz/xpr/xprFrame.c
index 9fa94243e..c8cbc22d8 100644
--- a/hw/xquartz/xpr/xprFrame.c
+++ b/hw/xquartz/xpr/xprFrame.c
@@ -64,19 +64,13 @@ DEFINE_ATOM_HELPER(xa_native_window_id, "_NATIVE_WINDOW_ID")
static x_hash_table *window_hash;
static pthread_mutex_t window_hash_mutex;
-static Bool no_configure_window;
-
-
static inline xp_error
xprConfigureWindow(xp_window_id id, unsigned int mask,
const xp_window_changes *values)
{
TA_SERVER();
- if (!no_configure_window)
- return xp_configure_window(id, mask, values);
- else
- return XP_Success;
+ return xp_configure_window(id, mask, values);
}
@@ -438,8 +432,6 @@ xprInit(ScreenPtr pScreen)
rootless_CompositePixels_threshold = xp_composite_area_threshold;
rootless_CopyWindow_threshold = xp_scroll_area_threshold;
- no_configure_window = FALSE;
-
return TRUE;
}