summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-05 02:32:39 +0000
committerDana Jansens <danakj@orodu.net>2003-01-05 02:32:39 +0000
commit34cd50ec5173e350b1d8b350fade2948c50113ee (patch)
tree926bea0505737eb08d724ea8abfc3d668fe0bcfc /src/client.cc
parenta93f06f5b3162e59c04074a14bd3702e4bb82133 (diff)
gets transients! woot. tested and such.. no groups still tho
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc3
1 files changed, 2 insertions, 1 deletions
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))