From 34cd50ec5173e350b1d8b350fade2948c50113ee Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 5 Jan 2003 02:32:39 +0000 Subject: gets transients! woot. tested and such.. no groups still tho --- src/client.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client.cc') diff --git a/src/client.cc b/src/client.cc index b4015aae..34edff3e 100644 --- a/src/client.cc +++ b/src/client.cc @@ -237,7 +237,7 @@ void OBClient::getMwmHints() (unsigned long **)&hints)) return; - if (num == MwmHints::elements) { + if (num >= MwmHints::elements) { // retrieved the hints _mwmhints.flags = hints[0]; _mwmhints.functions = hints[1]; @@ -608,6 +608,7 @@ void OBClient::propertyHandler(const XPropertyEvent &e) getType(); calcLayer(); // type may have changed, so update the layer setupDecorAndFunctions(); + frame->adjustSize(); // this updates the frame for any new decor settings } else if (e.atom == property->atom(otk::OBProperty::net_wm_name) || e.atom == property->atom(otk::OBProperty::wm_name)) -- cgit v1.2.3