summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-01-24 22:22:57 +0000
committersabetts <sabetts>2002-01-24 22:22:57 +0000
commit80d32867eab4d95a84ee1ff69852eaea933757ad (patch)
tree896720468033a1b397a3fc9ac5fa0f8b861815ea
parent358f741058879d91b501df1d8eb336df6897c55a (diff)
downloadratpoison-80d32867eab4d95a84ee1ff69852eaea933757ad.zip
* src/actions.c (cmd_defbgcolor): don't set the background color for key_window.
(cmd_deffgcolor): don't set the foreground color for key_window.
-rw-r--r--ChangeLog2
-rw-r--r--NEWS5
-rw-r--r--src/actions.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f913312..b8ee1f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/NEWS b/NEWS
index c24b94e..34537b5 100644
--- a/NEWS
+++ b/NEWS
@@ -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);