Drop support for pre-R6 X
X11 R6 was released in 1995 - time to let go.
This commit is contained in:
@ -496,7 +496,6 @@ xsettings_client_new_with_grab_funcs (Display *display,
|
||||
client->cb_data = cb_data;
|
||||
client->grab = grab;
|
||||
client->ungrab = ungrab;
|
||||
|
||||
client->manager_window = None;
|
||||
client->settings = NULL;
|
||||
|
||||
@ -505,14 +504,8 @@ xsettings_client_new_with_grab_funcs (Display *display,
|
||||
atom_names[1] = "_XSETTINGS_SETTINGS";
|
||||
atom_names[2] = "MANAGER";
|
||||
|
||||
#ifdef HAVE_XINTERNATOMS
|
||||
XInternAtoms (display, atom_names, 3, False, atoms);
|
||||
#else
|
||||
atoms[0] = XInternAtom (display, atom_names[0], False);
|
||||
atoms[1] = XInternAtom (display, atom_names[1], False);
|
||||
atoms[2] = XInternAtom (display, atom_names[2], False);
|
||||
#endif
|
||||
|
||||
|
||||
client->selection_atom = atoms[0];
|
||||
client->xsettings_atom = atoms[1];
|
||||
client->manager_atom = atoms[2];
|
||||
|
||||
Reference in New Issue
Block a user