diff options
author | sabetts <sabetts> | 2003-05-15 06:57:09 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-05-15 06:57:09 +0000 |
commit | 2d8945e4ee37ceee9d58e91681c6d3722a83c956 (patch) | |
tree | d996cd52065ba42dbcfb0089934303a8c604aa35 /src/main.c | |
parent | 0271c6daa38124232902a976e082a9b21dcc7043 (diff) | |
download | ratpoison-2d8945e4ee37ceee9d58e91681c6d3722a83c956.zip |
(struct rp_screen): rename from
screen_info. Dependant code updated.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -43,7 +43,7 @@ # define WAIT_ANY -1 #endif -static void init_screen (screen_info *s, int screen_num); +static void init_screen (rp_screen *s, int screen_num); int alarm_signalled = 0; int kill_signalled = 0; @@ -66,7 +66,7 @@ Atom rp_command_request; Atom rp_command_result; int rp_current_screen; -screen_info *screens; +rp_screen *screens; int num_screens; Display *dpy; @@ -620,7 +620,7 @@ main (int argc, char *argv[]) } /* Initialize the screens */ - screens = (screen_info *)xmalloc (sizeof (screen_info) * num_screens); + screens = (rp_screen *)xmalloc (sizeof (rp_screen) * num_screens); PRINT_DEBUG (("%d screens.\n", num_screens)); if (screen_arg) @@ -671,13 +671,13 @@ main (int argc, char *argv[]) } static void -init_rat_cursor (screen_info *s) +init_rat_cursor (rp_screen *s) { s->rat = XCreateFontCursor( dpy, XC_icon ); } static void -init_screen (screen_info *s, int screen_num) +init_screen (rp_screen *s, int screen_num) { XGCValues gv; @@ -761,7 +761,7 @@ init_screen (screen_info *s, int screen_num) } static void -free_screen (screen_info *s) +free_screen (rp_screen *s) { rp_window_frame *frame; struct list_head *iter, *tmp; @@ -811,8 +811,8 @@ clean_up () XCloseDisplay (dpy); } -/* Given a root window, return the screen_info struct */ -screen_info * +/* Given a root window, return the rp_screen struct */ +rp_screen * find_screen (Window w) { int i; |