summaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-03-14 07:35:14 +0000
committersabetts <sabetts>2001-03-14 07:35:14 +0000
commit34ff44c63314fd19785a63c2cdea37c577875d2a (patch)
tree7eac0ec3a21be25e964c11f01397cbbc877469d2 /src/conf.h
parent63e226ae9eec6ca3cdaa5bfdc530d51121594a93 (diff)
downloadratpoison-34ff44c63314fd19785a63c2cdea37c577875d2a.zip
* src/conf.h: replaced the silly c++ style comment around
HIDE_MOUSE with a REAL comment. * src/manage.c (update_window_information): updates the window's border width. * src/conf.h (WINDOW_BORDER_WIDTH): new constant * src/manage.c (maximize_normal): Set the border width to WINDOW_BORDER_WIDTH. takes the border width into account when calculating the position, width, and height. (maximize_transient): likewise (maximize): calls XSetWindowBorderWidth to set the window's border width. (force_maximize): likewise
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/conf.h b/src/conf.h
index 068c394..e87d1cb 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -34,9 +34,12 @@
/* The minimum size of the input window */
#define INPUT_WINDOW_SIZE 200
+/* The border width ratpoison configures all windows with */
+#define WINDOW_BORDER_WIDTH 0
+
/* Pressing a key sends the mouse to the bottom right corner. This
doesn't work very well yet. */
-//#define HIDE_MOUSE
+/* #define HIDE_MOUSE */
#define FOREGROUND "black"
#define BACKGROUND "white"