summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-08-14 01:34:43 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-08-14 01:34:43 +0300
commit16538110febf3a9c9a68d084df2e57c26c4630c6 (patch)
treee4123d6da796990c1ea814c0eb3de18b749184d4 /src/core/window-private.h
parent092844799aa72a7da794dba2cc7ce9708a57f7fa (diff)
downloadmetacity-16538110febf3a9c9a68d084df2e57c26c4630c6.tar.gz
window: avoid deprecated g_get_current_time
https://gitlab.gnome.org/GNOME/glib/commit/626b6f5ea7704af566b598 Replace g_get_current_time with g_get_real_time that has been documented to be functionally equivalent.
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index 4b34d5f4..f3ab63d8 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -356,7 +356,7 @@ struct _MetaWindow
/* XSync update counter */
XSyncCounter sync_request_counter;
guint sync_request_serial;
- GTimeVal sync_request_time;
+ gint64 sync_request_time;
/* alarm monitoring client's _NET_WM_SYNC_REQUEST_COUNTER */
XSyncAlarm sync_request_alarm;