mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
rootless: drop obsolete support for internal server reset
Not used anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
416f69eb88
commit
f24822c2b5
@@ -61,13 +61,7 @@ extern Bool no_configure_window;
|
||||
|
||||
#define DEFINE_ATOM_HELPER(func,atom_name) \
|
||||
static Atom func (void) { \
|
||||
static x_server_generation_t generation = 0; \
|
||||
static Atom atom; \
|
||||
if (generation != serverGeneration) { \
|
||||
generation = serverGeneration; \
|
||||
atom = dixAddAtom(atom_name); \
|
||||
} \
|
||||
return atom; \
|
||||
return dixAddAtom(atom_name); \
|
||||
}
|
||||
|
||||
DEFINE_ATOM_HELPER(xa_native_window_id, "_NATIVE_WINDOW_ID")
|
||||
|
||||
Reference in New Issue
Block a user