Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glfw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
glfw
Commits
9dbc935a
Commit
9dbc935a
authored
Aug 8, 2017
by
Camilla Löwy
Browse files
Options
Downloads
Patches
Plain Diff
X11: Stop reporting support for COMPOUND_TEXT
parent
f7dc6df0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
src/x11_init.c
+1
-4
1 addition, 4 deletions
src/x11_init.c
src/x11_window.c
+2
-7
2 additions, 7 deletions
src/x11_window.c
with
4 additions
and
11 deletions
README.md
+
1
−
0
View file @
9dbc935a
...
...
@@ -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: Key name string encoding depended on current locale (#981,#983)
-
[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] Bugfix: Event processing did not detect joystick disconnection (#932)
-
[Linux] Bugfix: The joystick device path could be truncated (#1025)
...
...
This diff is collapsed.
Click to expand it.
src/x11_init.c
+
1
−
4
View file @
9dbc935a
...
...
@@ -661,10 +661,7 @@ static GLFWbool initExtensions(void)
// String format atoms
_glfw
.
x11
.
NULL_
=
XInternAtom
(
_glfw
.
x11
.
display
,
"NULL"
,
False
);
_glfw
.
x11
.
UTF8_STRING
=
XInternAtom
(
_glfw
.
x11
.
display
,
"UTF8_STRING"
,
False
);
_glfw
.
x11
.
COMPOUND_STRING
=
XInternAtom
(
_glfw
.
x11
.
display
,
"COMPOUND_STRING"
,
False
);
_glfw
.
x11
.
UTF8_STRING
=
XInternAtom
(
_glfw
.
x11
.
display
,
"UTF8_STRING"
,
False
);
_glfw
.
x11
.
ATOM_PAIR
=
XInternAtom
(
_glfw
.
x11
.
display
,
"ATOM_PAIR"
,
False
);
// Custom selection property atom
...
...
This diff is collapsed.
Click to expand it.
src/x11_window.c
+
2
−
7
View file @
9dbc935a
...
...
@@ -683,9 +683,7 @@ static Atom writeTargetToProperty(const XSelectionRequestEvent* request)
{
int
i
;
char
*
selectionString
=
NULL
;
const
Atom
formats
[]
=
{
_glfw
.
x11
.
UTF8_STRING
,
_glfw
.
x11
.
COMPOUND_STRING
,
XA_STRING
};
const
Atom
formats
[]
=
{
_glfw
.
x11
.
UTF8_STRING
,
XA_STRING
};
const
int
formatCount
=
sizeof
(
formats
)
/
sizeof
(
formats
[
0
]);
if
(
request
->
selection
==
_glfw
.
x11
.
PRIMARY
)
...
...
@@ -707,7 +705,6 @@ static Atom writeTargetToProperty(const XSelectionRequestEvent* request)
const
Atom
targets
[]
=
{
_glfw
.
x11
.
TARGETS
,
_glfw
.
x11
.
MULTIPLE
,
_glfw
.
x11
.
UTF8_STRING
,
_glfw
.
x11
.
COMPOUND_STRING
,
XA_STRING
};
XChangeProperty
(
_glfw
.
x11
.
display
,
...
...
@@ -852,9 +849,7 @@ static const char* getSelectionString(Atom selection)
{
size_t
i
;
char
**
selectionString
=
NULL
;
const
Atom
targets
[]
=
{
_glfw
.
x11
.
UTF8_STRING
,
_glfw
.
x11
.
COMPOUND_STRING
,
XA_STRING
};
const
Atom
targets
[]
=
{
_glfw
.
x11
.
UTF8_STRING
,
XA_STRING
};
const
size_t
targetCount
=
sizeof
(
targets
)
/
sizeof
(
targets
[
0
]);
if
(
selection
==
_glfw
.
x11
.
PRIMARY
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment