We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5659ce6 commit 3f9ff2fCopy full SHA for 3f9ff2f
miext/rootless/rootlessWindow.c
@@ -61,13 +61,7 @@ extern Bool no_configure_window;
61
62
#define DEFINE_ATOM_HELPER(func,atom_name) \
63
static Atom func (void) { \
64
- static x_server_generation_t generation = 0; \
65
- static Atom atom; \
66
- if (generation != serverGeneration) { \
67
- generation = serverGeneration; \
68
- atom = dixAddAtom(atom_name); \
69
- } \
70
- return atom; \
+ return dixAddAtom(atom_name); \
71
}
72
73
DEFINE_ATOM_HELPER(xa_native_window_id, "_NATIVE_WINDOW_ID")
0 commit comments