summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/X11/extensions/Xpresent.h2
-rw-r--r--src/Xpresent.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/X11/extensions/Xpresent.h b/include/X11/extensions/Xpresent.h
index 87f446c..48ba1ae 100644
--- a/include/X11/extensions/Xpresent.h
+++ b/include/X11/extensions/Xpresent.h
@@ -87,6 +87,8 @@ typedef struct {
uint32_t serial_number;
uint64_t ust;
uint64_t msc;
+ uint8_t kind;
+ uint8_t mode;
} XPresentCompleteNotifyEvent;
typedef struct {
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;