mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
core: Only notify on MetaWindow::user-time on actual changes
If the timestamp is the same, it doesn't make sense to update and we don't do so. So it doesn't make sense to notify on the property either. https://gitlab.gnome.org/GNOME/mutter/issues/556
This commit is contained in:
parent
92868182c9
commit
aee8bfce3f
@ -7101,10 +7101,10 @@ meta_window_set_user_time (MetaWindow *window,
|
||||
if (meta_prefs_get_focus_new_windows () == G_DESKTOP_FOCUS_NEW_WINDOWS_STRICT &&
|
||||
window_is_terminal (window))
|
||||
window->display->allow_terminal_deactivation = FALSE;
|
||||
}
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (window), obj_props[PROP_USER_TIME]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_window_get_stable_sequence:
|
||||
|
Loading…
Reference in New Issue
Block a user