From 69c05c373e8547e47ac523240cf9e6c9acadfc30 Mon Sep 17 00:00:00 2001 From: rcyeske Date: Sun, 11 Feb 2001 05:15:31 +0000 Subject: *** empty log message *** --- src/ChangeLog | 7 +++++++ src/actions.c | 4 +++- src/actions.h | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index 90550ef..e92cc86 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,12 @@ 2001-02-10 Ryan Yeske + * ratpoison.h: #include "messages.h" + + * list.h (goto_window_number): moved prototype to actions.h + + * actions.h (goto_window_number): added prototype + (goto_window): removed prototype + * Makefile.am (ratpoison_SOURCES): added messages.h * actions.c (prev_window): display correct message when there is diff --git a/src/actions.c b/src/actions.c index 3799d6b..4aac6ca 100644 --- a/src/actions.c +++ b/src/actions.c @@ -302,8 +302,10 @@ show_clock (void *data) } void -goto_window_number (int n) +goto_window_number (void *data) { + int n = (int)data; + rp_window *win; if ((win = find_window_by_number (n)) == NULL) diff --git a/src/actions.h b/src/actions.h index 56e443d..047a6f7 100644 --- a/src/actions.h +++ b/src/actions.h @@ -22,7 +22,7 @@ void switch_to(void *which); void bye(void *dummy); void generate_prefix (void *data); void abort_keypress (void *data); -void goto_window (void *data); +void goto_window_number (void* data); void spawn(void *data); void execute_command (void *data); void kill_window (void *data); -- cgit v1.2.3