Skip to content

Commit

Permalink
xdg-decoration: use correct variable to read client's preference
Browse files Browse the repository at this point in the history
Fixes #1870
  • Loading branch information
ammen99 committed Aug 28, 2023
1 parent e557d24 commit 987165c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/xdg-shell/xdg-toplevel-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ struct wf_xdg_decoration_t
default_mode = WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE;
}

auto mode = decor->pending.mode;
auto mode = decor->requested_mode;
if (mode == WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_NONE)
{
mode = default_mode;
Expand Down

0 comments on commit 987165c

Please sign in to comment.