window-x11: Remove duplicated condition
The outer block already checks for window->frame, so don't repeat it.
This commit is contained in:
parent
8ef48a99ae
commit
422ddeddb9
@ -756,15 +756,12 @@ meta_window_x11_focus (MetaWindow *window,
|
||||
(window->shaded ||
|
||||
!(window->input || window->take_focus)))
|
||||
{
|
||||
if (window->frame)
|
||||
{
|
||||
meta_topic (META_DEBUG_FOCUS,
|
||||
"Focusing frame of %s\n", window->desc);
|
||||
meta_display_set_input_focus_window (window->display,
|
||||
window,
|
||||
TRUE,
|
||||
timestamp);
|
||||
}
|
||||
meta_topic (META_DEBUG_FOCUS,
|
||||
"Focusing frame of %s\n", window->desc);
|
||||
meta_display_set_input_focus_window (window->display,
|
||||
window,
|
||||
TRUE,
|
||||
timestamp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user