about summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-12-11 15:46:47 +0000
committerokan <okan>2013-12-11 15:46:47 +0000
commit68f365cddbf9ae293d20b3088403aa9972854b29 (patch)
tree76ea11672e222516efa504eaa346f96af8bdc413
parent7e0749b0b1e62f490f37aeb65302cd38b1fb52be (diff)
downloadcwm-68f365cddbf9ae293d20b3088403aa9972854b29.tar.gz
cwm-68f365cddbf9ae293d20b3088403aa9972854b29.tar.xz
cwm-68f365cddbf9ae293d20b3088403aa9972854b29.zip
apply mwm hints later
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 51162aa..a6723cd 100644
--- a/client.c
+++ b/client.c
@@ -37,7 +37,7 @@ static void			 client_mtf(struct client_ctx *);
 static void			 client_none(struct screen_ctx *);
 static void			 client_placecalc(struct client_ctx *);
 static void			 client_wm_protocols(struct client_ctx *);
-static void			 client_getmwmhints(struct client_ctx *);
+static void			 client_mwm_hints(struct client_ctx *);
 static int			 client_inbound(struct client_ctx *, int, int);
 
 struct client_ctx	*_curcc = NULL;
@@ -78,9 +78,9 @@ client_init(Window win, struct screen_ctx *sc, int mapped)
 
 	XGetClassHint(X_Dpy, cc->win, &cc->ch);
 	client_wm_hints(cc);
-	client_getmwmhints(cc);
 	client_wm_protocols(cc);
 	client_getsizehints(cc);
+	client_mwm_hints(cc);
 
 	/* Saved pointer position */
 	cc->ptr.x = -1;
@@ -806,7 +806,7 @@ client_applysizehints(struct client_ctx *cc)
 }
 
 static void
-client_getmwmhints(struct client_ctx *cc)
+client_mwm_hints(struct client_ctx *cc)
 {
 	struct mwm_hints	*mwmh;