aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2014-09-17 16:00:44 +0000
committerokan2014-09-17 16:00:44 +0000
commit8d10d477be60c717703bb419601c8c76be754f54 (patch)
tree7220a1ddb8d474e982345b775f4006c8c63f271d /calmwm.h
parent67e11ccf55b1c98c1db978ca29a41a2fdd71e061 (diff)
downloadcwm-8d10d477be60c717703bb419601c8c76be754f54.tar.gz
Implement EWMH _NET_WM_STATE_HIDDEN.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index f25e7b5..5bd06be 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.276 2014/09/17 14:31:37 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.277 2014/09/17 16:00:44 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -344,10 +344,11 @@ enum {
_NET_WM_DESKTOP,
_NET_CLOSE_WINDOW,
_NET_WM_STATE,
-#define _NET_WM_STATES_NITEMS 5
+#define _NET_WM_STATES_NITEMS 6
_NET_WM_STATE_STICKY,
_NET_WM_STATE_MAXIMIZED_VERT,
_NET_WM_STATE_MAXIMIZED_HORZ,
+ _NET_WM_STATE_HIDDEN,
_NET_WM_STATE_FULLSCREEN,
_NET_WM_STATE_DEMANDS_ATTENTION,
EWMH_NITEMS
@@ -374,6 +375,7 @@ void client_freeze(struct client_ctx *);
void client_fullscreen(struct client_ctx *);
long client_get_wm_state(struct client_ctx *);
void client_getsizehints(struct client_ctx *);
+void client_hidden(struct client_ctx *);
void client_hide(struct client_ctx *);
void client_hmaximize(struct client_ctx *);
void client_htile(struct client_ctx *);