aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2015-08-21 16:30:02 +0000
committerokan2015-08-21 16:30:02 +0000
commit050ec08253369cf483d59875a86392661c682b23 (patch)
tree15b28be3521eae26dc17e84cc92329ce5c5fdfe6 /client.c
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 'client.c')
-rw-r--r--client.c4
1 files changed, 3 insertions, 1 deletions
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 <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