diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-22 12:31:26 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-22 12:31:26 -0500 |
| commit | 97de73776708d7c75b42c8fcf33342541d721c83 (patch) | |
| tree | ffeaae16ca8c9e248062cb04a3266964735c4488 /openbox/client.c | |
| parent | 198d98986bdf224ed29361541d19841339953088 (diff) | |
| parent | d9e6aa5643e74ab84fde0ddb1fcb8418ff212281 (diff) | |
Merge branch 'backport' into work
Conflicts:
openbox/menuframe.c
openbox/prompt.c
openbox/prop.c
openbox/prop.h
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c index 946e80d3..fe67b78b 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1541,7 +1541,7 @@ void client_update_normal_hints(ObClient *self) self->min_ratio = 0.0f; self->max_ratio = 0.0f; SIZE_SET(self->size_inc, 1, 1); - SIZE_SET(self->base_size, 0, 0); + SIZE_SET(self->base_size, -1, -1); SIZE_SET(self->min_size, 0, 0); SIZE_SET(self->max_size, G_MAXINT, G_MAXINT); @@ -2817,7 +2817,7 @@ void client_try_configure(ObClient *self, gint *x, gint *y, gint *w, gint *h, 0 : self->max_ratio; /* base size is substituted with min size if not specified */ - if (self->base_size.width || self->base_size.height) { + if (self->base_size.width >= 0 || self->base_size.height >= 0) { basew = self->base_size.width; baseh = self->base_size.height; } else { @@ -3364,7 +3364,7 @@ static void client_prompt_kill(ObClient *self) g_free(m); } - prompt_show(self->kill_prompt, self); + prompt_show(self->kill_prompt, self, TRUE); } void client_kill(ObClient *self) |
