mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
X11: Stop reporting support for COMPOUND_TEXT
This commit is contained in:
parent
f7dc6df02c
commit
9dbc935afb
|
@ -206,6 +206,7 @@ information on what to include when reporting a bug.
|
||||||
- [X11] Bugfix: Gamma ramp setting via RandR did not validate ramp size
|
- [X11] Bugfix: Gamma ramp setting via RandR did not validate ramp size
|
||||||
- [X11] Bugfix: Key name string encoding depended on current locale (#981,#983)
|
- [X11] Bugfix: Key name string encoding depended on current locale (#981,#983)
|
||||||
- [X11] Bugfix: Incremental reading of selections was not supported (#275)
|
- [X11] Bugfix: Incremental reading of selections was not supported (#275)
|
||||||
|
- [X11] Bugfix: Selection I/O reported but did not support `COMPOUND_TEXT`
|
||||||
- [Linux] Moved to evdev for joystick input (#906,#1005)
|
- [Linux] Moved to evdev for joystick input (#906,#1005)
|
||||||
- [Linux] Bugfix: Event processing did not detect joystick disconnection (#932)
|
- [Linux] Bugfix: Event processing did not detect joystick disconnection (#932)
|
||||||
- [Linux] Bugfix: The joystick device path could be truncated (#1025)
|
- [Linux] Bugfix: The joystick device path could be truncated (#1025)
|
||||||
|
|
|
@ -661,10 +661,7 @@ static GLFWbool initExtensions(void)
|
||||||
|
|
||||||
// String format atoms
|
// String format atoms
|
||||||
_glfw.x11.NULL_ = XInternAtom(_glfw.x11.display, "NULL", False);
|
_glfw.x11.NULL_ = XInternAtom(_glfw.x11.display, "NULL", False);
|
||||||
_glfw.x11.UTF8_STRING =
|
_glfw.x11.UTF8_STRING = XInternAtom(_glfw.x11.display, "UTF8_STRING", False);
|
||||||
XInternAtom(_glfw.x11.display, "UTF8_STRING", False);
|
|
||||||
_glfw.x11.COMPOUND_STRING =
|
|
||||||
XInternAtom(_glfw.x11.display, "COMPOUND_STRING", False);
|
|
||||||
_glfw.x11.ATOM_PAIR = XInternAtom(_glfw.x11.display, "ATOM_PAIR", False);
|
_glfw.x11.ATOM_PAIR = XInternAtom(_glfw.x11.display, "ATOM_PAIR", False);
|
||||||
|
|
||||||
// Custom selection property atom
|
// Custom selection property atom
|
||||||
|
|
|
@ -683,9 +683,7 @@ static Atom writeTargetToProperty(const XSelectionRequestEvent* request)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
char* selectionString = NULL;
|
char* selectionString = NULL;
|
||||||
const Atom formats[] = { _glfw.x11.UTF8_STRING,
|
const Atom formats[] = { _glfw.x11.UTF8_STRING, XA_STRING };
|
||||||
_glfw.x11.COMPOUND_STRING,
|
|
||||||
XA_STRING };
|
|
||||||
const int formatCount = sizeof(formats) / sizeof(formats[0]);
|
const int formatCount = sizeof(formats) / sizeof(formats[0]);
|
||||||
|
|
||||||
if (request->selection == _glfw.x11.PRIMARY)
|
if (request->selection == _glfw.x11.PRIMARY)
|
||||||
|
@ -707,7 +705,6 @@ static Atom writeTargetToProperty(const XSelectionRequestEvent* request)
|
||||||
const Atom targets[] = { _glfw.x11.TARGETS,
|
const Atom targets[] = { _glfw.x11.TARGETS,
|
||||||
_glfw.x11.MULTIPLE,
|
_glfw.x11.MULTIPLE,
|
||||||
_glfw.x11.UTF8_STRING,
|
_glfw.x11.UTF8_STRING,
|
||||||
_glfw.x11.COMPOUND_STRING,
|
|
||||||
XA_STRING };
|
XA_STRING };
|
||||||
|
|
||||||
XChangeProperty(_glfw.x11.display,
|
XChangeProperty(_glfw.x11.display,
|
||||||
|
@ -852,9 +849,7 @@ static const char* getSelectionString(Atom selection)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
char** selectionString = NULL;
|
char** selectionString = NULL;
|
||||||
const Atom targets[] = { _glfw.x11.UTF8_STRING,
|
const Atom targets[] = { _glfw.x11.UTF8_STRING, XA_STRING };
|
||||||
_glfw.x11.COMPOUND_STRING,
|
|
||||||
XA_STRING };
|
|
||||||
const size_t targetCount = sizeof(targets) / sizeof(targets[0]);
|
const size_t targetCount = sizeof(targets) / sizeof(targets[0]);
|
||||||
|
|
||||||
if (selection == _glfw.x11.PRIMARY)
|
if (selection == _glfw.x11.PRIMARY)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user