Revert "shell-app: Fix a case where last_user_time isn't updated."
This reverts commit 7d7cbde1f3
.
This was acidentally pushed.
This commit is contained in:
parent
7d7cbde1f3
commit
68710c4647
@ -415,16 +415,6 @@ shell_app_activate_window (ShellApp *app,
|
|||||||
meta_window_get_user_time (most_recent_transient)))
|
meta_window_get_user_time (most_recent_transient)))
|
||||||
window = most_recent_transient;
|
window = most_recent_transient;
|
||||||
|
|
||||||
|
|
||||||
if (!shell_window_tracker_is_window_interesting (window))
|
|
||||||
{
|
|
||||||
/* We won't get notify::user-time signals for uninteresting windows,
|
|
||||||
* which means that an app's last_user_time won't get updated.
|
|
||||||
* Update it here instead.
|
|
||||||
*/
|
|
||||||
app->running_state->last_user_time = timestamp;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (active != workspace)
|
if (active != workspace)
|
||||||
meta_workspace_activate_with_focus (workspace, window, timestamp);
|
meta_workspace_activate_with_focus (workspace, window, timestamp);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user