mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
events: Remove an unnecessary check
This commit is contained in:
parent
2d225a3386
commit
9b95eda42a
@ -1967,7 +1967,7 @@ meta_display_handle_event (MetaDisplay *display,
|
|||||||
unmodified = (event->button.modifier_state & grab_mask) == 0;
|
unmodified = (event->button.modifier_state & grab_mask) == 0;
|
||||||
fully_modified = grab_mask && (event->button.modifier_state & grab_mask) == grab_mask;
|
fully_modified = grab_mask && (event->button.modifier_state & grab_mask) == grab_mask;
|
||||||
|
|
||||||
if (unmodified && window)
|
if (unmodified)
|
||||||
{
|
{
|
||||||
if (meta_prefs_get_raise_on_click ())
|
if (meta_prefs_get_raise_on_click ())
|
||||||
meta_window_raise (window);
|
meta_window_raise (window);
|
||||||
|
Loading…
Reference in New Issue
Block a user