diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-04-30 19:49:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-04-30 19:49:44 +0200 |
commit | 753fc6efd6488d16d83f9cc20b45958d9b208420 (patch) | |
tree | 3afc60b81b7eb8723f34f15d0670eb5095527bbb /src/keyevents.c | |
parent | 8b5e364dda15d2efbca18705c305dac6e177d4b1 (diff) |
Replace some printf calls by fputs/putc
Diffstat (limited to 'src/keyevents.c')
-rw-r--r-- | src/keyevents.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index e43ae33..b68a394 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -314,10 +314,10 @@ void feh_event_invoke_action(winwidget winwid, unsigned char action) || (winwid->type == WIN_TYPE_THUMBNAIL_VIEWER)) { feh_action_run(FEH_FILE(winwid->file->data), opt.actions[action]); winwidget_destroy(winwid); - } else if (winwid->type == WIN_TYPE_THUMBNAIL) { - printf("actions from the main thumb window aren't currentl supported!\n"); - printf("For now, open the image to perform the action on it.\n"); - } + } else if (winwid->type == WIN_TYPE_THUMBNAIL) + fputs("actions from the main thumb window aren't currently supported!\n" + "For now, open the image to perform the action on it.\n", + stdout); } return; } @@ -596,15 +596,8 @@ void feh_event_handle_keypress(XEvent * ev) int i, rect[4]; winwidget_get_geometry(winwid, rect); - /* printf("window: (%d, %d)\n", rect[0], rect[1]); - printf("found %d screens.\n", num_xinerama_screens); */ for (i = 0; i < num_xinerama_screens; i++) { xinerama_screen = 0; - /* printf("%d: [%d, %d, %d, %d] (%d, %d)\n", - i, - xinerama_screens[i].x_org, xinerama_screens[i].y_org, - xinerama_screens[i].width, xinerama_screens[i].height, - rect[0], rect[1]); */ if (XY_IN_RECT(rect[0], rect[1], xinerama_screens[i].x_org, xinerama_screens[i].y_org, |