diff options
author | okan | 2015-08-21 16:30:02 +0000 |
---|---|---|
committer | okan | 2015-08-21 16:30:02 +0000 |
commit | 050ec08253369cf483d59875a86392661c682b23 (patch) | |
tree | 15b28be3521eae26dc17e84cc92329ce5c5fdfe6 /client.c | |
parent | f3edb2ab40249e2299784710b24d4037b81e5a88 (diff) | |
download | cwm-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 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 3 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: client.c,v 1.200 2015/08/21 16:14:39 okan Exp $ + * $OpenBSD: client.c,v 1.201 2015/08/21 16:30:02 okan Exp $ */ #include <sys/types.h> @@ -237,6 +237,8 @@ client_toggle_freeze(struct client_ctx *cc) cc->flags &= ~CLIENT_FREEZE; else cc->flags |= CLIENT_FREEZE; + + xu_ewmh_set_net_wm_state(cc); } void |