fixed XDG popups yet again + removed some old TODOs
This commit is contained in:
parent
92bfe6f13e
commit
71916ee09a
5 changed files with 10 additions and 15 deletions
|
|
@ -56,8 +56,7 @@ void Events::listener_mouseAxis(wl_listener* listener, void* data) {
|
|||
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue