diff options
author | rcyeske <rcyeske> | 2001-02-11 05:15:31 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-11 05:15:31 +0000 |
commit | 69c05c373e8547e47ac523240cf9e6c9acadfc30 (patch) | |
tree | 946605e6ac286120c453a21fb7443f932402ee2e /src | |
parent | f33398671d6401cdc44770444150ab75dd186159 (diff) | |
download | ratpoison-69c05c373e8547e47ac523240cf9e6c9acadfc30.zip |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 7 | ||||
-rw-r--r-- | src/actions.c | 4 | ||||
-rw-r--r-- | src/actions.h | 2 |
3 files changed, 11 insertions, 2 deletions
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 <rcyeske@cut.hotdog.tmp> + * 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); |