[hackers] [dwm] apply resize hints in floating layout || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Tue, 25 Oct 2011 21:41:21 +0200 (CEST)

changeset: 1577:9330efd4971d
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue Oct 25 20:08:08 2011 +0100
files: dwm.c
description:
apply resize hints in floating layout


diff -r f0a4d1b4e093 -r 9330efd4971d dwm.c
--- a/dwm.c Tue Oct 25 20:01:18 2011 +0100
+++ b/dwm.c Tue Oct 25 20:08:08 2011 +0100
_AT_@ -349,7 +349,7 @@
                 *h = bh;
         if(*w < bh)
                 *w = bh;
- if(resizehints || c->isfloating) {
+ if(resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) {
                 /* see last two sentences in ICCCM 4.1.2.3 */
                 baseismin = c->basew == c->minw && c->baseh == c->minh;
                 if(!baseismin) { /* temporarily remove base dimensions */
Received on Tue Oct 25 2011 - 21:41:21 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 25 2011 - 21:48:05 CEST