mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
WindowServer: Always process double clicks for mouse events
This used to be optional and was disabled in two cases: - On a mouse move event during dragging; because double clicks are only possible on mouse up events, this had no effect. - On a mouse event for automatic cursor tracking; this has now gained support for double click events. Since it's always enabled now, we can remove the `bool` argument.
This commit is contained in:
parent
448b187782
commit
3e70d41c57
3 changed files with 10 additions and 11 deletions
|
@ -210,7 +210,7 @@ public:
|
|||
bool is_theme_overridden() { return m_theme_overridden; }
|
||||
|
||||
bool set_hovered_window(Window*);
|
||||
void deliver_mouse_event(Window&, MouseEvent const&, bool process_double_click);
|
||||
void deliver_mouse_event(Window&, MouseEvent const&);
|
||||
|
||||
void did_popup_a_menu(Badge<Menu>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue