display: trivial code clean up

Remove redundant if statement.
This commit is contained in:
Rui Matos 2011-09-14 23:23:08 +01:00
parent 9ee7783759
commit 7ba6503e9b

View File

@ -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: