Skip to content

Commit 3f9ff2f

Browse files
committed
[PR #1453] rootless: drop obsolete support for internal server reset
PR: #1453
1 parent 5659ce6 commit 3f9ff2f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

miext/rootless/rootlessWindow.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,7 @@ extern Bool no_configure_window;
6161

6262
#define DEFINE_ATOM_HELPER(func,atom_name) \
6363
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; \
64+
return dixAddAtom(atom_name); \
7165
}
7266

7367
DEFINE_ATOM_HELPER(xa_native_window_id, "_NATIVE_WINDOW_ID")

0 commit comments

Comments
 (0)