summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-06-15 15:55:05 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-06-15 15:55:05 +0100
commit55dd0356862293ea22f12791de4aa93e2a363f8f (patch)
tree000f11b0cf83ff25ee46c8221e71df97aaac27ce
parenta3c72894b9eb38268d6d61e1f5adc151891107e5 (diff)
downloadnetsurf-55dd0356862293ea22f12791de4aa93e2a363f8f.tar.gz
netsurf-55dd0356862293ea22f12791de4aa93e2a363f8f.tar.bz2
Add triple click to mouse event logger.
-rw-r--r--desktop/mouse.c3
1 files changed, 2 insertions, 1 deletions
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" : " ",