Merge pull request #96811 from Riteo/wl-button-clear
Wayland: Clear button mask on pointer leave
This commit is contained in:
commit
292caed7d3
1 changed files with 2 additions and 0 deletions
|
@ -1395,6 +1395,8 @@ void WaylandThread::_wl_pointer_on_leave(void *data, struct wl_pointer *wl_point
|
|||
|
||||
ss->pointed_surface = nullptr;
|
||||
|
||||
ss->pointer_data_buffer.pressed_button_mask.clear();
|
||||
|
||||
Ref<WindowEventMessage> msg;
|
||||
msg.instantiate();
|
||||
msg->event = DisplayServer::WINDOW_EVENT_MOUSE_EXIT;
|
||||
|
|
Loading…
Reference in a new issue