mirror of
https://github.com/brl/mutter.git
synced 2025-02-28 18:54:08 +00:00
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
@ -755,8 +755,6 @@ meta_window_x11_focus (MetaWindow *window,
|
|||||||
if (window->frame &&
|
if (window->frame &&
|
||||||
(window->shaded ||
|
(window->shaded ||
|
||||||
!(window->input || window->take_focus)))
|
!(window->input || window->take_focus)))
|
||||||
{
|
|
||||||
if (window->frame)
|
|
||||||
{
|
{
|
||||||
meta_topic (META_DEBUG_FOCUS,
|
meta_topic (META_DEBUG_FOCUS,
|
||||||
"Focusing frame of %s\n", window->desc);
|
"Focusing frame of %s\n", window->desc);
|
||||||
@ -765,7 +763,6 @@ meta_window_x11_focus (MetaWindow *window,
|
|||||||
TRUE,
|
TRUE,
|
||||||
timestamp);
|
timestamp);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (window->input)
|
if (window->input)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user