diff options
author | sabetts <sabetts> | 2003-03-07 07:40:18 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-03-07 07:40:18 +0000 |
commit | 3cba68b1ba37124ae3e74252eb1b7f9125a22b2f (patch) | |
tree | 95e673ff771fb30391d3351c93714cdf6c656c5b /src/data.h | |
parent | e401dac992736a1a0ba3ee20146c9fec37a80df7 (diff) | |
download | ratpoison-3cba68b1ba37124ae3e74252eb1b7f9125a22b2f.zip |
* src/split.h (find_frame_number): new prototype
* src/split.c (create_initial_frame): give a number to the
initial frame
(split_frame): give the new frame a unique number
(split_frame): add the new frame after the current frame
(remove_all_splits): return the frame's number when deleting it.
(remove_frame): likewise
(find_frame_number): new function
* src/main.c (init_screen): initialize the frames_numset member
(free_screen): free the frames_numset member
* src/data.h (struct screen_info): new member, frames_numset
* src/actions.h (cmd_fselect): new prototype
* src/actions.c (user_commands): new command "fselect"
(cmd_fselect): new function
Diffstat (limited to 'src/data.h')
-rw-r--r-- | src/data.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,7 @@ #define _RATPOISON_DATA_H #include "linkedlist.h" +#include "number.h" #include <X11/X.h> #include <X11/Xlib.h> @@ -109,6 +110,9 @@ struct screen_info always be one in the list. */ struct list_head rp_window_frames; + /* Keep track of which numbers have been given to frames. */ + struct numset *frames_numset; + /* Pointer to the currently focused frame. One for each screen so when you switch screens the focus doesn't get frobbed. */ rp_window_frame *rp_current_frame; |