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. --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 4e9e566..dc63899 100644 --- a/client.c +++ b/client.c @@ -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 @@ -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 -- cgit v1.2.3-2-gb3c3