x11: Implement Drag and Drop (#17491)
Closes #16225 Release Notes: - x11: Implemented Drag and Drop.
This commit is contained in:
parent
12dde17608
commit
59be07ad90
3 changed files with 226 additions and 5 deletions
|
@ -32,7 +32,24 @@ use std::{
|
|||
use super::{X11Display, XINPUT_MASTER_DEVICE};
|
||||
x11rb::atom_manager! {
|
||||
pub XcbAtoms: AtomsCookie {
|
||||
XA_ATOM,
|
||||
XdndAware,
|
||||
XdndStatus,
|
||||
XdndEnter,
|
||||
XdndLeave,
|
||||
XdndPosition,
|
||||
XdndSelection,
|
||||
XdndDrop,
|
||||
XdndFinished,
|
||||
XdndTypeList,
|
||||
XdndActionCopy,
|
||||
TextUriList: b"text/uri-list",
|
||||
UTF8_STRING,
|
||||
TEXT,
|
||||
STRING,
|
||||
TEXT_PLAIN_UTF8: b"text/plain;charset=utf-8",
|
||||
TEXT_PLAIN: b"text/plain",
|
||||
XDND_DATA,
|
||||
WM_PROTOCOLS,
|
||||
WM_DELETE_WINDOW,
|
||||
WM_CHANGE_STATE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue