summaryrefslogtreecommitdiff
path: root/xmouseless.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmouseless.c')
-rw-r--r--xmouseless.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmouseless.c b/xmouseless.c
index 75d2aea..12a789e 100644
--- a/xmouseless.c
+++ b/xmouseless.c
@@ -1,6 +1,6 @@
/*
* xmouseless
-*/
+ */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -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);