From 050ec08253369cf483d59875a86392661c682b23 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 21 Aug 2015 16:30:02 +0000 Subject: Add client freeze extension to _NET_WM_STATE Atom, allowing flag to persist. As usual with new Atoms, requires X restart. --- calmwm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index d919602..6b1ba88 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.297 2015/07/12 14:31:47 okan Exp $ + * $OpenBSD: calmwm.h,v 1.298 2015/08/21 16:30:02 okan Exp $ */ #ifndef _CALMWM_H_ @@ -364,7 +364,8 @@ enum { _NET_WM_DESKTOP, _NET_CLOSE_WINDOW, _NET_WM_STATE, -#define _NET_WM_STATES_NITEMS 6 +#define _NET_WM_STATES_NITEMS 7 + _CWM_WM_STATE_FREEZE, _NET_WM_STATE_STICKY, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, -- cgit v1.2.3-2-gb3c3