diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | src/actions.c | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -2,6 +2,8 @@ * src/actions.c (cmd_defbarloc): Read the location argument as a gravity argument using parse_wingravity. + (cmd_defbgcolor): don't set the background color for key_window. + (cmd_deffgcolor): don't set the foreground color for key_window. * src/messages.h (MESSAGE_FRAME_STRING): Pad the string with spaces on both sides. @@ -6,6 +6,11 @@ This command take a gravity argument just like the wingravity commands. Only north east, north west, south east, and south west locations are accepted. +** new command defbarborder +This command allows you to customize the border width of ratpoison's +windows. These windows are the input window, the bar window, and the +current frame indication window. + ** "number" command takes additional optional argument The second argument is used to specify a window other than the current. diff --git a/src/actions.c b/src/actions.c index db73111..b7f7a19 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2028,7 +2028,6 @@ cmd_deffgcolor (int interactive, void *data) screens[i].fg_color = color.pixel; update_gc (&screens[i]); XSetWindowBorder (dpy, screens[i].bar_window, color.pixel); - XSetWindowBorder (dpy, screens[i].key_window, color.pixel); XSetWindowBorder (dpy, screens[i].input_window, color.pixel); XSetWindowBorder (dpy, screens[i].frame_window, color.pixel); XSetWindowBorder (dpy, screens[i].help_window, color.pixel); @@ -2060,7 +2059,6 @@ cmd_defbgcolor (int interactive, void *data) screens[i].bg_color = color.pixel; update_gc (&screens[i]); XSetWindowBackground (dpy, screens[i].bar_window, color.pixel); - XSetWindowBackground (dpy, screens[i].key_window, color.pixel); XSetWindowBackground (dpy, screens[i].input_window, color.pixel); XSetWindowBackground (dpy, screens[i].frame_window, color.pixel); XSetWindowBackground (dpy, screens[i].help_window, color.pixel); |