summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-03-05 20:38:08 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-03-05 20:38:08 -0500
commitb435e84d5a2039c39e926947deeb20de2ca9dbab (patch)
tree9c8ccfe432abc04fd69d6e0f840ebdabfc06db35
parent41c5c4ee9aa17db870ca772d6a5e511d8fd242dc (diff)
window: Compute frame boundary for all windows except fullscreen
We were only computing it for toplevel type windows, which broke the unlock dialog size allocation and repainting.
-rw-r--r--clients/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c
index 190b456..b09de5b 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1161,7 +1161,7 @@ frame_resize_handler(struct widget *widget,
int decoration_width, decoration_height;
int opaque_margin;
- if (widget->window->type == TYPE_TOPLEVEL) {
+ if (widget->window->type != TYPE_FULLSCREEN) {
decoration_width = 20 + frame->margin * 2;
decoration_height = 60 + frame->margin * 2;