aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nxcompext/CHANGELOG5
-rw-r--r--nxcompext/NXlib.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/nxcompext/CHANGELOG b/nxcompext/CHANGELOG
index 18f6c27cf..b128802e0 100644
--- a/nxcompext/CHANGELOG
+++ b/nxcompext/CHANGELOG
@@ -1,5 +1,10 @@
ChangeLog:
+nxcompext-3.3.0-3
+
+- Now setting the correct event serial number when sending collect
+ notifies back.
+
nxcompext-3.3.0-2
- Updated VERSION.
diff --git a/nxcompext/NXlib.c b/nxcompext/NXlib.c
index ed6052f34..452213bf1 100644
--- a/nxcompext/NXlib.c
+++ b/nxcompext/NXlib.c
@@ -3424,6 +3424,8 @@ static void _NXNotifyImage(Display *dpy, int resource, Bool success)
async_event.type = ClientMessage;
+ async_event.xclient.serial = _NXCollectedImages[resource] -> sequence;
+
async_event.xclient.window = 0;
async_event.xclient.message_type = 0;
async_event.xclient.format = 32;
@@ -3815,6 +3817,8 @@ static void _NXNotifyProperty(Display *dpy, int resource, Bool success)
async_event.type = ClientMessage;
+ async_event.xclient.serial = _NXCollectedProperties[resource] -> sequence;
+
async_event.xclient.window = 0;
async_event.xclient.message_type = 0;
async_event.xclient.format = 32;
@@ -4183,6 +4187,8 @@ static void _NXNotifyGrabPointer(Display *dpy, int resource, Bool success)
async_event.type = ClientMessage;
+ async_event.xclient.serial = _NXCollectedGrabPointers[resource] -> sequence;
+
async_event.xclient.window = 0;
async_event.xclient.message_type = 0;
async_event.xclient.format = 32;
@@ -4465,6 +4471,8 @@ static void _NXNotifyInputFocus(Display *dpy, int resource, Bool success)
async_event.type = ClientMessage;
+ async_event.xclient.serial = _NXCollectedInputFocuses[resource] -> sequence;
+
async_event.xclient.window = 0;
async_event.xclient.message_type = 0;
async_event.xclient.format = 32;