From 7ba6503e9b0ae51d9baf5fe2e6eeefc6866ba319 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Wed, 14 Sep 2011 23:23:08 +0100 Subject: [PATCH] display: trivial code clean up Remove redundant if statement. --- src/core/display.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index 9e866aa48..095cbc347 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -2294,11 +2294,8 @@ event_callback (XEvent *event, screen = meta_display_screen_for_root (display, event->xconfigure.event); if (screen) - { - if (screen) - meta_stack_tracker_reparent_event (screen->stack_tracker, - &event->xreparent); - } + meta_stack_tracker_reparent_event (screen->stack_tracker, + &event->xreparent); } break; case ConfigureNotify: