diff options
author | rcyeske <rcyeske> | 2001-02-17 20:01:31 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-17 20:01:31 +0000 |
commit | 77159526d8a218f23e496ef5989a40dcdc24e99c (patch) | |
tree | daa420f882ce4e2d259e9d7d597584525c01e85c /src/manage.c | |
parent | f1e28f43165b69b18ee06fc29aea44ced65b0382 (diff) | |
download | ratpoison-77159526d8a218f23e496ef5989a40dcdc24e99c.zip |
renamed display_msg_in_bar() to message(); it and get_input() no longer take a screen_info param
Diffstat (limited to 'src/manage.c')
-rw-r--r-- | src/manage.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c index 7a9039b..2c0156e 100644 --- a/src/manage.c +++ b/src/manage.c @@ -53,6 +53,15 @@ grab_prefix_key (Window w) #endif } +screen_info* +current_screen () +{ + if (rp_current_window) + return rp_current_window->scr; + else + return &screens[0]; +} + void update_normal_hints (rp_window *win) { |