From bad7cd14c2021b14971b3f707f927803a053003e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 5 Sep 2008 10:46:36 -0700 Subject: [PATCH] XQuartz: Dead code removal (cherry picked from commit bf10fb0b1f776e72db7c76db11f764e26f9d62c4) --- hw/xquartz/xpr/xprFrame.c | 10 +--------- 1 file changed, 1 insertion(+), 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; }