mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb.git
synced 2026-05-11 08:08:53 +02:00
Create a macro, XCB_SEQUENCE_COMPARE, that accepts two sequence numbers and a comparison operator and correctly handles 32-bit wrap around. Rewrite all ordered sequence number comparisons to use this macro. Also, caught one error where a sequence was stored in a signed int variable. Push out a GetInputFocus request when the sequence number does wrap at 32 bits so that applications cannot see sequence 0 (as that is an error indicator). |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| c-client.xsl | ||
| Makefile.am | ||
| xcb.h | ||
| xcb_auth.c | ||
| xcb_conn.c | ||
| xcb_ext.c | ||
| xcb_in.c | ||
| xcb_list.c | ||
| xcb_out.c | ||
| xcb_util.c | ||
| xcb_xid.c | ||
| xcb_xlib.c | ||
| xcbext.h | ||
| xcbint.h | ||
| xcbxlib.h | ||