From 55dd0356862293ea22f12791de4aa93e2a363f8f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 15 Jun 2013 15:55:05 +0100 Subject: [PATCH] Add triple click to mouse event logger. --- desktop/mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/mouse.c b/desktop/mouse.c index 372ce2cb3..c156af86d 100644 --- a/desktop/mouse.c +++ b/desktop/mouse.c @@ -30,12 +30,13 @@ */ void browser_mouse_state_dump(browser_mouse_state mouse) { - LOG(("mouse state: %s %s %s %s %s %s %s %s %s %s %s %s %s", + LOG(("mouse state: %s %s %s %s %s %s %s %s %s %s %s %s %s %s", mouse & BROWSER_MOUSE_PRESS_1 ? "P1" : " ", mouse & BROWSER_MOUSE_PRESS_2 ? "P2" : " ", mouse & BROWSER_MOUSE_CLICK_1 ? "C1" : " ", mouse & BROWSER_MOUSE_CLICK_2 ? "C2" : " ", mouse & BROWSER_MOUSE_DOUBLE_CLICK ? "DC" : " ", + mouse & BROWSER_MOUSE_TRIPLE_CLICK ? "TC" : " ", mouse & BROWSER_MOUSE_DRAG_1 ? "D1" : " ", mouse & BROWSER_MOUSE_DRAG_2 ? "D2" : " ", mouse & BROWSER_MOUSE_DRAG_ON ? "DO" : " ",