aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index f7e5762..5a828a9 100644
--- a/main.c
+++ b/main.c
@@ -622,8 +622,8 @@ void on_buttonpress(XButtonEvent *bev)
static Time firstclick;
if (mode == MODE_IMAGE) {
- win_set_cursor(&win, CURSOR_ARROW);
set_timeout(reset_cursor, TO_CURSOR_HIDE, true);
+ reset_cursor();
for (i = 0; i < ARRLEN(buttons); i++) {
if (buttons[i].button == bev->button &&
@@ -783,8 +783,8 @@ void run(void)
break;
case MotionNotify:
if (mode == MODE_IMAGE) {
- win_set_cursor(&win, CURSOR_ARROW);
set_timeout(reset_cursor, TO_CURSOR_HIDE, true);
+ reset_cursor();
}
break;
}