From 7dceceb175af597fb97893e4a60ef542048a48f1 Mon Sep 17 00:00:00 2001 From: rafa_99 Date: Sat, 26 Mar 2022 02:38:45 +0000 Subject: Suckless style stuff --- xmouseless.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'xmouseless.c') diff --git a/xmouseless.c b/xmouseless.c index 75d2aea..12a789e 100644 --- a/xmouseless.c +++ b/xmouseless.c @@ -1,6 +1,6 @@ /* * xmouseless -*/ + */ #include #include #include @@ -197,7 +197,6 @@ void handle_key(KeyCode keycode, Bool is_press) { for (i = 0; i < LENGTH(click_bindings); i++) { if (click_bindings[i].keysym == keysym) { click(click_bindings[i].button, is_press); - printf("click: %i %i\n", click_bindings[i].button, is_press); } } @@ -205,7 +204,6 @@ void handle_key(KeyCode keycode, Bool is_press) { for (i = 0; i < LENGTH(speed_bindings); i++) { if (speed_bindings[i].keysym == keysym) { speed = is_press ? speed_bindings[i].speed : default_speed; - printf("speed: %i\n", speed); } } @@ -231,7 +229,6 @@ void handle_key(KeyCode keycode, Bool is_press) { /* shell bindings */ for (i = 0; i < LENGTH(shell_bindings); i++) { if (shell_bindings[i].keysym == keysym) { - printf("executing: %s\n", shell_bindings[i].command); if (fork() == 0) { system(shell_bindings[i].command); exit(EXIT_SUCCESS); @@ -239,7 +236,7 @@ void handle_key(KeyCode keycode, Bool is_press) { } } - /* exit */ + /* exit */ for (i = 0; i < LENGTH(exit_keys); i++) { if (exit_keys[i] == keysym) { close_x(EXIT_SUCCESS); -- cgit v1.2.3