display: trivial code clean up
Remove redundant if statement.
This commit is contained in:
parent
9ee7783759
commit
7ba6503e9b
@ -2294,11 +2294,8 @@ event_callback (XEvent *event,
|
|||||||
screen = meta_display_screen_for_root (display,
|
screen = meta_display_screen_for_root (display,
|
||||||
event->xconfigure.event);
|
event->xconfigure.event);
|
||||||
if (screen)
|
if (screen)
|
||||||
{
|
meta_stack_tracker_reparent_event (screen->stack_tracker,
|
||||||
if (screen)
|
&event->xreparent);
|
||||||
meta_stack_tracker_reparent_event (screen->stack_tracker,
|
|
||||||
&event->xreparent);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ConfigureNotify:
|
case ConfigureNotify:
|
||||||
|
Loading…
Reference in New Issue
Block a user