summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 134cf7bb..cdf7ab3b 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8839,6 +8839,12 @@ meta_window_set_user_time (MetaWindow *window,
}
}
+guint32
+meta_window_get_user_time (MetaWindow *window)
+{
+ return window->net_wm_user_time;
+}
+
/* Sets the demands_attention hint on a window, but only
* if it's at least partially obscured (see #305882).
*/