kwin/xwl
Roman Gilg 522d2935e6 [xwl] text/x-uri converter for selected X url list format targets
Summary:
On X several target atoms are established to provide data similar to the
text/uri-list target format (the respective MIME on Wayland is called
text/x-uri).

Firefox can send link data in the NETSCAPE_URL format ones. Chromium on the
other side sends link data in the text/x-moz-url format, which transports
UTF-16 text.

For both these peculiarities this patch provides converter functions, that
translate these formats into the Wayland native text/x-uri format. In the
other direction no translation is necessary. Both browsers supports the
text/uri-list format when receiving link lists.

Test Plan: Manually with Firefox and Chromium.

Reviewers: #kwin

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15629
2019-02-19 13:17:08 +01:00
..
clipboard.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
clipboard.h [xwl] Generic X selections translation mechanism with Clipboard support 2019-02-19 12:24:27 +01:00
databridge.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
databridge.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
dnd.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
dnd.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag_wl.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag_wl.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
drag_x.cpp [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
drag_x.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
selection.cpp [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
selection.h [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
selection_source.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
selection_source.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
transfer.cpp [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
transfer.h [xwl] text/x-uri converter for selected X url list format targets 2019-02-19 13:17:08 +01:00
xwayland.cpp [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
xwayland.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00
xwayland_interface.cpp [xwl] Add Xwayland interface class 2019-02-19 12:59:11 +01:00
xwayland_interface.h [xwl] Drag and drop between Xwayland and Wayland native clients 2019-02-19 13:09:18 +01:00