From 01aeeb15748062b183c5ec400ef7bad67cf60f27 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 8 Jan 2012 07:49:32 +0100 Subject: Change the behavior of the maximize button so that a middle click on it will maximize the window vertically, a right click horizontally. --- src/include/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/common.h') diff --git a/src/include/common.h b/src/include/common.h index ccb592f6..b0308f42 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -131,7 +131,11 @@ typedef enum /* Frame button ops */ META_GRAB_OP_CLICKING_MINIMIZE, META_GRAB_OP_CLICKING_MAXIMIZE, + META_GRAB_OP_CLICKING_MAXIMIZE_VERTICAL, + META_GRAB_OP_CLICKING_MAXIMIZE_HORIZONTAL, META_GRAB_OP_CLICKING_UNMAXIMIZE, + META_GRAB_OP_CLICKING_UNMAXIMIZE_VERTICAL, + META_GRAB_OP_CLICKING_UNMAXIMIZE_HORIZONTAL, META_GRAB_OP_CLICKING_DELETE, META_GRAB_OP_CLICKING_MENU, META_GRAB_OP_CLICKING_SHADE, -- cgit v1.2.1