aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2015-05-20 23:54:39 +0000
committerokan2015-05-20 23:54:39 +0000
commitc61809c88c28d6ae5bcd9bbc2ec4e0ec2ea79bf9 (patch)
tree4d6423a0ee2be915c7ef6dd2edfa4328a2cae88a /client.c
parenta72fb08e8971eb59e91e948ed38e5cebaa6f3bf7 (diff)
downloadcwm-c61809c88c28d6ae5bcd9bbc2ec4e0ec2ea79bf9.tar.gz
fill in mwm defines
Diffstat (limited to '')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 9e6bafd..10f1046 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.191 2015/03/29 00:21:05 okan Exp $
+ * $OpenBSD: client.c,v 1.192 2015/05/20 23:54:39 okan Exp $
*/
#include <sys/types.h>
@@ -882,8 +882,8 @@ client_mwm_hints(struct client_ctx *cc)
struct mwm_hints *mwmh;
if (xu_getprop(cc->win, cwmh[_MOTIF_WM_HINTS], cwmh[_MOTIF_WM_HINTS],
- PROP_MWM_HINTS_ELEMENTS, (unsigned char **)&mwmh) == MWM_NUMHINTS) {
- if (mwmh->flags & MWM_HINTS_DECORATIONS &&
+ MWM_HINTS_ELEMENTS, (unsigned char **)&mwmh) == MWM_HINTS_ELEMENTS) {
+ if (mwmh->flags & MWM_FLAGS_DECORATIONS &&
!(mwmh->decorations & MWM_DECOR_ALL) &&
!(mwmh->decorations & MWM_DECOR_BORDER))
cc->bwidth = 0;