mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: remove useless code
This commit is contained in:
parent
4954711b3b
commit
3547e567cb
1 changed files with 0 additions and 2 deletions
|
|
@ -4130,8 +4130,6 @@ void requestdecorationmode(struct wl_listener *listener, void *data) {
|
|||
// 如果客户端没有指定,使用默认模式
|
||||
if (!c->allow_csd) {
|
||||
requested_mode = WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE;
|
||||
} else if (requested_mode ==
|
||||
WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE) {
|
||||
}
|
||||
|
||||
wlr_xdg_toplevel_decoration_v1_set_mode(c->decoration, requested_mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue