diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2013-11-02 19:13:58 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2013-11-02 19:13:58 +0000 |
commit | 319800cbacc9b93449328df4b5aa8efb0e71520e (patch) | |
tree | 08373f1eefdbb4d52df98153eca7d7b359cc4591 /app/cwm/calmwm.h | |
parent | 1b9f302f2293bf4073bbea8f2010654becb18ee1 (diff) |
The only reason we need to keep XSizeHints in our client_ctx is for
flags, so just add one to hints; consolidates sizehints and shrinks.
Additionally don't abuse PSize for XGetWMNormalHints() failures.
Diffstat (limited to 'app/cwm/calmwm.h')
-rw-r--r-- | app/cwm/calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index baefe603b..741bf8ac0 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -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: calmwm.h,v 1.225 2013/11/01 14:07:19 okan Exp $ + * $OpenBSD: calmwm.h,v 1.226 2013/11/02 19:13:56 okan Exp $ */ #ifndef _CALMWM_H_ @@ -137,11 +137,11 @@ struct client_ctx { TAILQ_ENTRY(client_ctx) mru_entry; struct screen_ctx *sc; Window win; - XSizeHints *size; Colormap colormap; u_int bwidth; /* border width */ struct geom geom, savegeom; struct { + long flags; /* defined hints */ int basew; /* desired width */ int baseh; /* desired height */ int minw; /* minimum width */ |