aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2015-06-08 15:11:29 +0000
committerokan2015-06-08 15:11:29 +0000
commita9121c4a3d2d0952061f7cf9d9f32460be6f0601 (patch)
treec1491e4efd0712eb56c6738a91f9c503ddc820b3 /calmwm.h
parent8f9657c7874a16c6c163260692f13b8105cc3c2d (diff)
downloadcwm-a9121c4a3d2d0952061f7cf9d9f32460be6f0601.tar.gz
stash window dimensions
Diffstat (limited to '')
-rw-r--r--calmwm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index cde8678..543254c 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.290 2015/06/05 15:01:51 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.291 2015/06/08 15:11:29 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -169,6 +169,10 @@ struct client_ctx {
int x; /* x position */
int y; /* y position */
} ptr;
+ struct {
+ int h; /* hieght */
+ int w; /* width */
+ } dim;
#define CLIENT_HIDDEN 0x0001
#define CLIENT_IGNORE 0x0002
#define CLIENT_VMAXIMIZED 0x0004