summaryrefslogtreecommitdiff
path: root/scene/gui/video_player.h
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-01-29 00:33:57 +0100
committerHein-Pieter van Braam <hp@tmm.cx>2018-01-29 18:38:04 +0100
commitfb60f2dbe649c03a8357a277eccb6d06dfe07b68 (patch)
tree1c50e647f27341e86fa2530c27203b57c362832a /scene/gui/video_player.h
parent4caadae0f15d658d464d125829039a2e35c68124 (diff)
Fix Copy/Paste problems on X11
The target of the TARGETS type should be XA_ATOM and not XA_TARGETS when requested. Since we are sending a number of ATOMS the size should be set to the integer size and not the char size. The size field of the atoms is also the number of atoms and not the size of the array. This caused some clients to wrongly interpret the data and read garbage in the X11 packet. I also add the more modern representation for UTF-8 and clarify the error message if a client attempts to request a type we don't know about. This fixes #10431
Diffstat (limited to 'scene/gui/video_player.h')
0 files changed, 0 insertions, 0 deletions