mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 08:29:48 +01:00
xwayland: fix compile with no xwayland
This commit is contained in:
parent
508e82341f
commit
747c38112b
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "../managers/XWaylandManager.hpp"
|
||||
#include "../desktop/WLSurface.hpp"
|
||||
|
||||
#ifndef NO_XWAYLAND
|
||||
static xcb_atom_t dndActionToAtom(uint32_t actions) {
|
||||
if (actions & WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY)
|
||||
return HYPRATOMS["XdndActionCopy"];
|
||||
|
@ -17,6 +18,7 @@ static xcb_atom_t dndActionToAtom(uint32_t actions) {
|
|||
|
||||
return XCB_ATOM_NONE;
|
||||
}
|
||||
#endif
|
||||
|
||||
eDataSourceType CX11DataOffer::type() {
|
||||
return DATA_SOURCE_TYPE_X11;
|
||||
|
|
Loading…
Reference in a new issue