summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-13 12:39:01 -0800
committerKeith Packard <keithp@keithp.com>2013-12-13 12:39:01 -0800
commit466657644f6046f4409a4b9be688954583afc639 (patch)
tree739993203020b3f44fd49b51ec148bac910648be /src
parentf4061913a02987215984bcb0964938d873c2cd52 (diff)
Add kind/mode to Complete, set pixmap in Idle
Fix a couple of event issues noticed by Fredrik Höglund -- XPresentCompleteNotifyEvent was missing kind and mode fields, and the pixmap field was never getting set in the XPresentIdleNotifyEvent. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/Xpresent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Xpresent.c b/src/Xpresent.c
index 36dd7dc..b49ecbc 100644
--- a/src/Xpresent.c
+++ b/src/Xpresent.c
@@ -175,6 +175,8 @@ XPresentWireToCookie(Display *dpy,
ce->serial_number = proto->serial;
ce->ust = proto->ust;
ce->msc = proto->msc;
+ ce->kind = proto->kind;
+ ce->mode = proto->mode;
break;
}
@@ -193,6 +195,7 @@ XPresentWireToCookie(Display *dpy,
ce->eid = proto->eid;
ce->window = proto->window;
ce->serial_number = proto->serial;
+ ce->pixmap = proto->pixmap;
ce->idle_fence = proto->idle_fence;
break;