Commit 4265779
committed
demo/xcb_cairo/nuklear_xcb.h: do not discard xcb_client_message_event_t
Currently nk_xcb_handle_event discard everything that was sent from
other clients through xcb_send_event.
To enable a minimal IPC over such channel, this patch adds a new option
NK_XCB_CLIENT_MESSAGE to the nk_xcb_event_type enum and stores the
message recieved in xcb_ctx->last_client_message.
This can be useful in particular when a background process or thread
completes a data retrieval or processing and want to wake up the GUI.1 parent fcd64f8 commit 4265779
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| 241 | + | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| |||
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
| 258 | + | |
254 | 259 | | |
255 | 260 | | |
256 | 261 | | |
| |||
424 | 429 | | |
425 | 430 | | |
426 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
427 | 437 | | |
428 | 438 | | |
429 | 439 | | |
| |||
0 commit comments