fix not setting clipboard selection atoms
This commit is contained in:
parent
d690fa2dd6
commit
cd98113a6a
@ -730,6 +730,10 @@ CreateWindow(PlatformWindow* window, string name, u32 width, u32 height, XVisual
|
||||
|
||||
XSetWMProtocols(window.display, window.window, window.atoms.ptr, window.atoms.length);
|
||||
|
||||
window.selections[CBM.Clipboard].xmode = window.atoms[Atoms.Clipboard];
|
||||
window.selections[CBM.Primary].xmode = XA_PRIMARY;
|
||||
window.selections[CBM.Secondary].xmode = XA_SECONDARY;
|
||||
|
||||
XChangeProperty(
|
||||
window.display,
|
||||
window.window,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user