WindowServer: Unbreak building with extra debug macros

This commit is contained in:
Ben Wiederhake 2020-08-27 00:34:27 +02:00 committed by Andreas Kling
parent d8e22fedc3
commit ec842b21cf
Notes: sideshowbarker 2024-07-19 03:02:19 +09:00

View file

@ -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