aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2015-08-21 16:30:02 +0000
committerokan2015-08-21 16:30:02 +0000
commit050ec08253369cf483d59875a86392661c682b23 (patch)
tree15b28be3521eae26dc17e84cc92329ce5c5fdfe6 /calmwm.h
parentf3edb2ab40249e2299784710b24d4037b81e5a88 (diff)
downloadcwm-050ec08253369cf483d59875a86392661c682b23.tar.gz
Add client freeze extension to _NET_WM_STATE Atom, allowing flag to
persist. As usual with new Atoms, requires X restart.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h5
1 files changed, 3 insertions, 2 deletions
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,