diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-12-16 23:11:13 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-01-05 23:36:02 +0100 |
commit | d210c584c7505276e04018f206de5c0109f6ff63 (patch) | |
tree | b34d0780f99796683467ebe0fc712ccd2f10f8c5 /nx-X11/programs/Xserver/hw/nxagent/Atoms.c | |
parent | 40c243fd203eabea5f97a1f797663173f478213a (diff) | |
download | nx-libs-d210c584c7505276e04018f206de5c0109f6ff63.tar.gz nx-libs-d210c584c7505276e04018f206de5c0109f6ff63.tar.bz2 nx-libs-d210c584c7505276e04018f206de5c0109f6ff63.zip |
Clipboard.c: rename variables/atoms to better reflect their meaning
Unfortunately we cannot rename NX_CUT_BUFFER_SERVER, too, without
breaking compatibility because this one is used to signal nomachine's
nxclient after the splash screen is gone (see Splash.c, Window.c and
ArticaProject/nx-libs#838)
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Atoms.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c index d9775b720..4e9b7fb1f 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c @@ -81,6 +81,9 @@ static char *nxagentAtomNames[NXAGENT_NUMBER_OF_ATOMS + 1] = "WM_NX_READY", /* 3 */ "MCOPGLOBALS", /* 4 */ "NX_CUT_BUFFER_SERVER", /* 5 */ + /* Unfortunately we cannot rename this to NX_SELTRANS_TO_AGENT + because nomachine's nxclient is depending on this + selection */ "TARGETS", /* 6 */ "TEXT", /* 7 */ "NX_AGENT_SIGNATURE", /* 8 */ @@ -90,7 +93,7 @@ static char *nxagentAtomNames[NXAGENT_NUMBER_OF_ATOMS + 1] = "UTF8_STRING", /* 12 */ "_NET_WM_STATE", /* 13 */ "_NET_WM_STATE_FULLSCREEN", /* 14 */ - "NX_CUT_BUFFER_CLIENT", /* 15 */ + "NX_SELTRANS_FROM_AGENT", /* 15 */ "COMPOUND_TEXT", /* 16 */ NULL, NULL |