remove unused _XSETROOT_ID X11 atom from the table

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-11-11 14:44:55 +02:00
parent 4079086ee3
commit 6e88e8f8f8
3 changed files with 1 additions and 6 deletions

View file

@ -149,8 +149,6 @@ static const char* X11AtomsTbl[QX11Data::NPredefinedAtoms] = {
"_QT_SELECTION_SENTINEL\0",
"CLIPBOARD_MANAGER\0",
"_XSETROOT_ID\0",
"_QT_SCROLL_DONE\0",
"_MOTIF_WM_HINTS\0",

View file

@ -721,8 +721,7 @@ static Atom send_selection(QClipboardData *d, Atom target, Window window, Atom p
// don't allow INCR transfers when using MULTIPLE or to
// Motif clients (since Motif doesn't support INCR)
static Atom motif_clip_temporary = ATOM(CLIP_TEMPORARY);
bool allow_incr = property != motif_clip_temporary;
bool allow_incr = (property != ATOM(CLIP_TEMPORARY));
// X_ChangeProperty protocol request is 24 bytes
const int increment = (XMaxRequestSize(qt_x11Data->display) * 4) - 24;

View file

@ -327,8 +327,6 @@ struct QX11Data
_QT_SELECTION_SENTINEL,
CLIPBOARD_MANAGER,
_XSETROOT_ID,
_QT_SCROLL_DONE,
_MOTIF_WM_HINTS,