We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3c16f4 commit 1e56feeCopy full SHA for 1e56fee
src/x.c
@@ -7,6 +7,7 @@
7
8
#include <X11/Xlib-xcb.h>
9
#include <X11/Xutil.h>
10
+#include <X11/extensions/syncconst.h>
11
#include <pixman.h>
12
#include <xcb/composite.h>
13
#include <xcb/damage.h>
@@ -41,12 +42,6 @@ static inline uint64_t x_widen_sequence(struct x_connection *c, uint32_t sequenc
41
42
43
// === Error handling ===
44
-enum {
45
- XSyncBadCounter = 0,
46
- XSyncBadAlarm = 1,
47
- XSyncBadFence = 2,
48
-};
49
-
50
/// Convert a X11 error to string
51
///
52
/// @return a pointer to a string. this pointer shouldn NOT be freed, same buffer is used
0 commit comments