mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 20:28:03 +02:00
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.
This commit is contained in:
parent
41c5c4ee9a
commit
b435e84d5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue