summaryrefslogtreecommitdiff
path: root/src/events/Misc.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-10 18:27:57 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2024-05-14 23:02:24 +0100
commit121d3a72137d4780602cf245704615f63357ea22 (patch)
treeb25c8a3ee7b239006281f0e00110d1c324b8cedc /src/events/Misc.cpp
parent4cdddcfe466cb21db81af0ac39e51cc15f574da9 (diff)
wl_seat: move to hyprland impl
Diffstat (limited to 'src/events/Misc.cpp')
-rw-r--r--src/events/Misc.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp
index a67a6753..703dba6a 100644
--- a/src/events/Misc.cpp
+++ b/src/events/Misc.cpp
@@ -26,13 +26,13 @@ void Events::listener_leaseRequest(wl_listener* listener, void* data) {
}
void Events::listener_requestSetPrimarySel(wl_listener* listener, void* data) {
- const auto EVENT = (wlr_seat_request_set_primary_selection_event*)data;
- wlr_seat_set_primary_selection(g_pCompositor->m_sSeat.seat, EVENT->source, EVENT->serial);
+ // const auto EVENT = (wlr_seat_request_set_primary_selection_event*)data;
+ // wlr_seat_set_primary_selection(g_pCompositor->m_sSeat.seat, EVENT->source, EVENT->serial);
}
void Events::listener_requestSetSel(wl_listener* listener, void* data) {
- const auto EVENT = (wlr_seat_request_set_selection_event*)data;
- wlr_seat_set_selection(g_pCompositor->m_sSeat.seat, EVENT->source, EVENT->serial);
+ // const auto EVENT = (wlr_seat_request_set_selection_event*)data;
+ // wlr_seat_set_selection(g_pCompositor->m_sSeat.seat, EVENT->source, EVENT->serial);
}
void Events::listener_readyXWayland(wl_listener* listener, void* data) {
@@ -58,7 +58,7 @@ void Events::listener_readyXWayland(wl_listener* listener, void* data) {
free(reply);
}
- wlr_xwayland_set_seat(g_pXWaylandManager->m_sWLRXWayland, g_pCompositor->m_sSeat.seat);
+ //wlr_xwayland_set_seat(g_pXWaylandManager->m_sWLRXWayland, g_pCompositor->m_sSeat.seat);
g_pCursorManager->setXWaylandCursor(g_pXWaylandManager->m_sWLRXWayland);
@@ -80,15 +80,15 @@ void Events::listener_readyXWayland(wl_listener* listener, void* data) {
}
void Events::listener_requestDrag(wl_listener* listener, void* data) {
- const auto E = (wlr_seat_request_start_drag_event*)data;
+ // const auto E = (wlr_seat_request_start_drag_event*)data;
- if (!wlr_seat_validate_pointer_grab_serial(g_pCompositor->m_sSeat.seat, E->origin, E->serial)) {
- Debug::log(LOG, "Ignoring drag and drop request: serial mismatch.");
- wlr_data_source_destroy(E->drag->source);
- return;
- }
+ // if (!wlr_seat_validate_pointer_grab_serial(g_pCompositor->m_sSeat.seat, E->origin, E->serial)) {
+ // Debug::log(LOG, "Ignoring drag and drop request: serial mismatch.");
+ // wlr_data_source_destroy(E->drag->source);
+ // return;
+ // }
- wlr_seat_start_pointer_drag(g_pCompositor->m_sSeat.seat, E->drag, E->serial);
+ // wlr_seat_start_pointer_drag(g_pCompositor->m_sSeat.seat, E->drag, E->serial);
}
void Events::listener_startDrag(wl_listener* listener, void* data) {