aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authorokan2013-12-11 15:41:11 +0000
committerokan2013-12-11 15:41:11 +0000
commit5f7dfca0fa3581d8b9fda66c6fc41ce929b1efa6 (patch)
tree88659571232caf425fc6ca7ab1c7073ea7c741f6 /xevents.c
parentae879f5d1b4867c9ce186f50cbb3cacca3daa284 (diff)
downloadcwm-5f7dfca0fa3581d8b9fda66c6fc41ce929b1efa6.tar.gz
Add client wrapper for XWMHints to support XA_WM_HINTS in PropertyNotify
events; based off a diff from Thomas Adam.
Diffstat (limited to '')
-rw-r--r--xevents.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index 3fcde36..f972ab9 100644
--- a/xevents.c
+++ b/xevents.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: xevents.c,v 1.96 2013/12/11 14:16:09 okan Exp $
+ * $OpenBSD: xevents.c,v 1.97 2013/12/11 15:41:11 okan Exp $
*/
/*
@@ -186,6 +186,9 @@ xev_handle_propertynotify(XEvent *ee)
case XA_WM_NAME:
client_setname(cc);
break;
+ case XA_WM_HINTS:
+ client_wm_hints(cc);
+ break;
case XA_WM_TRANSIENT_FOR:
client_transient(cc);
break;