summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2018-11-14 19:22:51 +0000
committerokan <okan>2018-11-14 19:22:51 +0000
commit544b4da339347c75f56ca2229ffddb4bdcf86fa0 (patch)
tree2ec8dc8dd2c5f3cd82d7f99e54b7ef7dd20773c8 /calmwm.h
parentb4d4eba6afbc58d0a242e14a342cc42d1529bdfe (diff)
parent695eb1d8e52c8498afe342ec8ecd404fbffb9e1c (diff)
downloadcwm-544b4da339347c75f56ca2229ffddb4bdcf86fa0.tar.gz
cwm-544b4da339347c75f56ca2229ffddb4bdcf86fa0.tar.xz
cwm-544b4da339347c75f56ca2229ffddb4bdcf86fa0.zip
cvsimport
* refs/heads/master:
  Stop asking for events (NoEventMask) from menu window once done with the menu (we don't destroy it, only unmap).
  Allow 'transientfor' clients to inherit group and bwidth either during init or via property notify events. Previously only the flags were set but nothing was in the path to apply said flags and/or bwidth. Required slight of re-orgnaization of client_init.
  merge from base, from sashan@:
  Use the original client border width to adjust initial placement of clients containing {P,US}Position requests where they are explicitly set to 'ignore' in cwmrc(5); clients are unaware that their border will be altered (removed in this case) when calcuating position and thus end up a factor of their original border width off once mapped by cwm(1). cwm(1) will essentially shift the client to the edge if the original request's position and border match.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 1076f96..8e44228 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -151,6 +151,7 @@ struct client_ctx {
 	Window			 win;
 	Colormap		 colormap;
 	int			 bwidth; /* border width */
+	int			 obwidth; /* original border width */
 	struct geom		 geom, savegeom, fullgeom;
 	struct {
 		long		 flags;	/* defined hints */