diff options
author | okan | 2013-05-21 00:29:20 +0000 |
---|---|---|
committer | okan | 2013-05-21 00:29:20 +0000 |
commit | 976a0161becef40cda31090ffd17a12442905b0c (patch) | |
tree | 4147904636ec18f7e13e8408b7c9546c952f2043 /calmwm.h | |
parent | 11ee162b7549c7340e9e3514589488aa6abb24cc (diff) | |
download | cwm-976a0161becef40cda31090ffd17a12442905b0c.tar.gz |
handle _NET_WM_STATE ClientMessage; from Alexander Polakov.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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.207 2013/05/20 21:13:58 okan Exp $ + * $OpenBSD: calmwm.h,v 1.208 2013/05/21 00:29:20 okan Exp $ */ #ifndef _CALMWM_H_ @@ -482,6 +482,8 @@ void xu_ewmh_net_desktop_names(struct screen_ctx *, char *, void xu_ewmh_net_wm_desktop(struct client_ctx *); Atom *xu_ewmh_get_net_wm_state(struct client_ctx *, int *); +void xu_ewmh_handle_net_wm_state_msg(struct client_ctx *, + int, Atom , Atom); void xu_ewmh_set_net_wm_state(struct client_ctx *); void xu_ewmh_restore_net_wm_state(struct client_ctx *); @@ -543,6 +545,11 @@ enum { _NET_WM_STATE_MAXIMIZED_HORZ, EWMH_NITEMS }; +enum { + _NET_WM_STATE_REMOVE, + _NET_WM_STATE_ADD, + _NET_WM_STATE_TOGGLE +}; struct atom_ctx { char *name; Atom atom; |