summaryrefslogtreecommitdiff
path: root/xfixes/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfixes/select.c')
-rw-r--r--xfixes/select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfixes/select.c b/xfixes/select.c
index 12a165fd0..795b8bd4c 100644
--- a/xfixes/select.c
+++ b/xfixes/select.c
@@ -83,6 +83,7 @@ XFixesSelectionCallback (CallbackListPtr *callbacks, pointer data, pointer args)
{
xXFixesSelectionNotifyEvent ev;
+ memset(&ev, 0, sizeof(xXFixesSelectionNotifyEvent));
ev.type = XFixesEventBase + XFixesSelectionNotify;
ev.subtype = subtype;
ev.sequenceNumber = e->pClient->sequence;