mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
WindowServer: Unbreak building with extra debug macros
This commit is contained in:
parent
d8e22fedc3
commit
ec842b21cf
Notes:
sideshowbarker
2024-07-19 03:02:19 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/ec842b21cf7 Pull-request: https://github.com/SerenityOS/serenity/pull/3314
@ -856,7 +856,7 @@ void WindowManager::process_event_for_doubleclick(Window& window, MouseEvent& ev
|
||||
metadata.clock.start();
|
||||
} else {
|
||||
#if defined(DOUBLECLICK_DEBUG)
|
||||
dbg() << "Transforming MouseUp to MouseDoubleClick (" << elapsed_since_last_click << " < " << m_double_click_speed << ")!";
|
||||
dbg() << "Transforming MouseUp to MouseDoubleClick (" << metadata.clock.elapsed() << " < " << m_double_click_speed << ")!";
|
||||
#endif
|
||||
event = MouseEvent(Event::MouseDoubleClick, event.position(), event.buttons(), event.button(), event.modifiers(), event.wheel_delta());
|
||||
// invalidate this now we've delivered a doubleclick, otherwise
|
||||
|
Loading…
Reference in New Issue
Block a user