summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-29 22:57:26 +0000
committerDana Jansens <danakj@orodu.net>2003-01-29 22:57:26 +0000
commit03faa4978d63a2bc40e276861ddd7eb8c60a8ae6 (patch)
tree1bb7917b080cdf7dc5f1e53b0b09209df68f3a22
parent6cf79c8fd460818447da9988711dd10b25d7d4f4 (diff)
finally set up handle right based on max/min sizes
-rw-r--r--src/client.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client.cc b/src/client.cc
index e55f681f..82a2d5e2 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -66,12 +66,14 @@ Client::Client(int screen, Window window)
updateProtocols();
- // got the type, the mwmhints, and the protocols, so we're ready to set up
+ getGravity(); // get the attribute gravity
+ updateNormalHints(); // this may override the attribute gravity
+
+ // got the type, the mwmhints, the protocols, and the normal hints (min/max
+ // sizes), so we're ready to set up
// the decorations/functions
setupDecorAndFunctions();
- getGravity(); // get the attribute gravity
- updateNormalHints(); // this may override the attribute gravity
// also get the initial_state and set _iconic if we aren't "starting"
// when we're "starting" that means we should use whatever state was already
// on the window over the initial map state, because it was already mapped