summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-06-09 22:15:19 +0100
committerMartin Wimpress <[email protected]>2015-06-09 22:15:19 +0100
commit0ed6e1d0cd4fd29370bfe08fd707931b50822267 (patch)
tree913a4ee25e8777d1829dcd4ea338bb21ce92d9fb /src
parent0235124b6d7a12f388910009dd505d38c07996b3 (diff)
parenta2612db555e904be27aad46bc0802741091cb2ae (diff)
downloadmarco-0ed6e1d0cd4fd29370bfe08fd707931b50822267.tar.bz2
marco-0ed6e1d0cd4fd29370bfe08fd707931b50822267.tar.xz
Merge pull request #198 from sgerd/bugfix
fix uninitialized data field for sending _NET_WM_SYNC_REQUEST event
Diffstat (limited to 'src')
-rw-r--r--src/core/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 95d49885..254eb094 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3333,6 +3333,7 @@ send_sync_request (MetaWindow *window)
ev.data.l[1] = meta_display_get_current_time (window->display);
ev.data.l[2] = XSyncValueLow32 (value);
ev.data.l[3] = XSyncValueHigh32 (value);
+ ev.data.l[4] = 0;
/* We don't need to trap errors here as we are already
* inside an error_trap_push()/pop() pair.