projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c5c4e
)
window: Compute frame boundary for all windows except fullscreen
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 6 Mar 2012 01:38:08 +0000
(20:38 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 6 Mar 2012 01:38:08 +0000
(20:38 -0500)
We were only computing it for toplevel type windows, which broke
the unlock dialog size allocation and repainting.
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
190b456
..
b09de5b
100644
(file)
--- 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;