aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2016-12-01 18:17:52 +0000
committerokan2016-12-01 18:17:52 +0000
commita6fb2061c2a3151c71f40486b03a6a149af717c3 (patch)
tree1f8211f27927fa17464a161d79b7dbecb1830574 /calmwm.h
parentceb545c78714e7691b5bad3df39f8ce682bf30d0 (diff)
downloadcwm-a6fb2061c2a3151c71f40486b03a6a149af717c3.tar.gz
Change 'menu-window' to display all windows; then add 'menu-window-hidden' for
the previous behaviour of 'menu-window'. 'menu-window' becomes the default binding; use 'bind-mouse "1" menu-window-hidden' to restore old behaviour for those who prefer. OK sthen@ (long long time ago on a different version)
Diffstat (limited to '')
-rw-r--r--calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 8861a34..c6e0246 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.333 2016/11/15 00:22:02 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.334 2016/12/01 18:17:52 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -261,6 +261,8 @@ enum menu_exec {
#define CWM_MENU_DUMMY 0x0001
#define CWM_MENU_FILE 0x0002
#define CWM_MENU_LIST 0x0004
+#define CWM_MENU_WINDOW_ALL 0x0008
+#define CWM_MENU_WINDOW_HIDDEN 0x0010
struct menu {
TAILQ_ENTRY(menu) entry;