aboutsummaryrefslogtreecommitdiff
path: root/demo-draw.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-11-19 02:41:36 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2014-11-19 03:19:13 +0100
commit2d777dd67e9be3c5bfd36660ade94710de0f4a0d (patch)
tree046b13365164eb2ac437804a6eca90131183380b /demo-draw.c
parent5a80bceec9c3fcc304d8dde1c10f16a9adde8598 (diff)
downloadtermo-2d777dd67e9be3c5bfd36660ade94710de0f4a0d.tar.gz
termo-2d777dd67e9be3c5bfd36660ade94710de0f4a0d.tar.xz
termo-2d777dd67e9be3c5bfd36660ade94710de0f4a0d.zip
Rewrite the mouse API
I wasn't aware of the fact that 1000, 1002 and 1003 are mutually exclusive and turn each other off. Also now it's not needed to set the protocol, it gets set by default.
Diffstat (limited to 'demo-draw.c')
-rw-r--r--demo-draw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/demo-draw.c b/demo-draw.c
index 10cbe3b..26b583f 100644
--- a/demo-draw.c
+++ b/demo-draw.c
@@ -165,7 +165,6 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
- termo_set_mouse_proto (tk, termo_guess_mouse_proto (tk));
termo_set_mouse_tracking_mode (tk, TERMO_MOUSE_TRACKING_DRAG);
// Set up curses for our drawing needs