summaryrefslogtreecommitdiff
path: root/src/globals.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-02-27 09:29:25 +0000
committersabetts <sabetts>2004-02-27 09:29:25 +0000
commit152a72b51659d4e7e7f919bf342c0b5f559ffefd (patch)
tree027e42a59d809b04aff0caab4de8c9aa80cee1ae /src/globals.c
parentf83599ce2cf6197a53e66a9a08854d0a51b50a35 (diff)
downloadratpoison-152a72b51659d4e7e7f919bf342c0b5f559ffefd.zip
* src/screen.c (screen_free_nums): new function. prototype added
(init_screens): init rp_frame_numset (init_screen): set screen's frames_numset to rp_frame_numset * src/globals.h: new global prototype, rp_frame_numset * src/globals.c: new global, rp_frame_numset * src/split.c (find_last_frame): find the last from of all the screens. prototype updated. Callers updated. (find_frame_number): search all screens. prototype updated. callers updated. * src/actions.c (cmd_fselect): select from frames in all screens.
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.c b/src/globals.c
index 8fbe737..c9c02cc 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -67,6 +67,9 @@ int rp_honour_normal_map = 1;
char *rp_error_msg = NULL;
+/* Global frame numset */
+struct numset *rp_frame_numset;
+
/* The hook dictionary globals. */
LIST_HEAD (rp_prefix_hook);