720fc44ca38330bbc1b8cfec5f37b56a2d6b46c3
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
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
