Files
test2/intern
Jonas Holzman 720fc44ca3 GHOST: Fix X11 clipboard selection requests
This commit fixes a pretty long-standing bug in the X11 clipboard code
which caused selection target requests (and thus pasting) to sometimes
fail on certain softwares like Firefox.

The problem lied in the fact that the property format used when setting
the supported target list was dependent on the original request, when
it should always be XA_ATOM (a list of Atom), this can be seen in other
implementations, like GLFW.

This commit also cleans up the surrounding code, by using m_atom to
access atoms instead of redeclaring them in the function, which also
clears up a few instance where the difference between `xse->target`
(the request target) and `target` (the TARGETS Atom) was really unclear.

Pull Request: https://projects.blender.org/blender/blender/pulls/131507
2024-12-06 17:10:50 +01:00
..
2024-09-20 13:14:57 +10:00
2024-01-03 13:38:14 +01:00
2024-09-20 19:46:56 +10:00
2024-07-30 12:23:09 +10:00
2024-10-04 11:33:21 +02:00