mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 05:38:11 +02:00
bring back mouse request
This commit is contained in:
parent
8ca158696e
commit
b9ed4f86ce
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ void Events::listener_requestMouse(wl_listener* listener, void* data) {
|
|||
const auto EVENT = (wlr_seat_pointer_request_set_cursor_event*)data;
|
||||
|
||||
// TODO: crashes sometimes
|
||||
//if (EVENT->seat_client == g_pCompositor->m_sSeat.seat->pointer_state.focused_client)
|
||||
// wlr_cursor_set_surface(g_pCompositor->m_sWLRCursor, EVENT->surface, EVENT->hotspot_x, EVENT->hotspot_y);
|
||||
if (EVENT->seat_client == g_pCompositor->m_sSeat.seat->pointer_state.focused_client)
|
||||
wlr_cursor_set_surface(g_pCompositor->m_sWLRCursor, EVENT->surface, EVENT->hotspot_x, EVENT->hotspot_y);
|
||||
}
|
||||
|
||||
void Events::listener_newInput(wl_listener* listener, void* data) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue