From 08921b85ce954c119e887d43a8411c9624d6c5ce Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 10 Oct 2013 14:28:29 +0100 Subject: [PATCH] xwayland: Remove unused call weston_wm_handle_configure_notify. We get the child position but never use this information here. Just remove it. Spotted by Christopher Michael. Signed-off-by: Stefan Schmidt --- src/xwayland/window-manager.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 2c1c9e0..ef59e6d 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -609,7 +609,6 @@ weston_wm_handle_configure_notify(struct weston_wm *wm, xcb_generic_event_t *eve xcb_configure_notify_event_t *configure_notify = (xcb_configure_notify_event_t *) event; struct weston_wm_window *window; - int x, y; wm_log("XCB_CONFIGURE_NOTIFY (window %d) %d,%d @ %dx%d\n", configure_notify->window, @@ -617,7 +616,6 @@ weston_wm_handle_configure_notify(struct weston_wm *wm, xcb_generic_event_t *eve configure_notify->width, configure_notify->height); window = hash_table_lookup(wm->window_hash, configure_notify->window); - weston_wm_window_get_child_position(window, &x, &y); window->x = configure_notify->x; window->y = configure_notify->y; if (window->override_redirect) { -- 2.7.4