summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/data.h b/src/data.h
index f143230..b427810 100644
--- a/src/data.h
+++ b/src/data.h
@@ -99,6 +99,16 @@ struct screen_info
Colormap def_cmap;
Cursor rat;
unsigned long fg_color, bg_color; /* The pixel color. */
+
+ char *display_string;
+
+ /* A list of frames that may or may not contain windows. There should
+ always be one in the list. */
+ rp_window_frame *rp_window_frame_sentinel;
+
+ /* 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;
};
struct rp_action
@@ -173,13 +183,7 @@ extern rp_window *rp_mapped_window_sentinel;
assigned to them and are not visible/active. */
extern rp_window *rp_unmapped_window_sentinel;
-/* A list of frames that may or may not contain windows. There should
- always be one in the list. */
-extern rp_window_frame *rp_window_frame_sentinel;
-
-/* Pointer to the currently focused frame. */
-extern rp_window_frame *rp_current_frame;
-
+extern int rp_current_screen;
extern screen_info *screens;
extern int num_screens;
@@ -190,7 +194,6 @@ extern Atom rp_command;
extern Atom rp_command_request;
extern Atom rp_command_result;
-
extern Atom wm_state;
extern Atom wm_change_state;
extern Atom wm_protocols;