diff options
author | sabetts <sabetts> | 2001-09-09 19:54:35 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-09-09 19:54:35 +0000 |
commit | 29fc0a0b61524c858128dd5cc25d797182dd8a36 (patch) | |
tree | b3b7ba216d65b4894dd6f79f705b451f24a89770 /src/main.c | |
parent | 52331f356b10796b8c8a3748f1bccd16d692571d (diff) | |
download | ratpoison-29fc0a0b61524c858128dd5cc25d797182dd8a36.zip |
* src/bar.c (marked_message): use the screen_info fg_color and
bg_color to create the inverse GC.
* src/actions.h (cmd_deffgcolor): new prototype
(cmd_defbgcolor): new prototype
* src/actions.c (cmd_defbartimeout): merge the 2 ifs.
(cmd_defbartimeout): verify that the number is positive.
(cmd_defborder): likewise
(cmd_defwinname): gobble leading whitespace. Use strings as
arguments, not numbers.
(cmd_windows): Use the argument as a window format string in
non-interactive mode.
(cmd_windows): if data is NULL use the default format string.
(user_commands): new commands deffgcolor, defbgcolor.
(update_gc): new function
(cmd_deffgcolor): likewise
(cmd_defbgcolor): likewise
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,8 +68,6 @@ int ignore_badwindow = 0; char **myargv; -XGCValues gv; - struct rp_key prefix_key; struct modifier_info rp_modifier_info; @@ -517,6 +515,8 @@ init_rat_cursor (screen_info *s) static void init_screen (screen_info *s, int screen_num) { + XGCValues gv; + /* Select on some events on the root window, if this fails, then there is already a WM running and the X Error handler will catch it, terminating ratpoison. */ |