shell.xdg: fix two copy-paste errors
This commit is contained in:
parent
adbab32bd8
commit
097445bc20
|
@ -473,7 +473,7 @@ where
|
|||
}
|
||||
xdg_toplevel::Request::SetMinSize { width, height } => {
|
||||
with_surface_toplevel_data(&data.shell_data, &toplevel, |toplevel_data| {
|
||||
toplevel_data.max_size = (width, height);
|
||||
toplevel_data.min_size = (width, height);
|
||||
});
|
||||
}
|
||||
xdg_toplevel::Request::SetMaximized => {
|
||||
|
|
|
@ -491,7 +491,7 @@ where
|
|||
}
|
||||
zxdg_toplevel_v6::Request::SetMinSize { width, height } => {
|
||||
with_surface_toplevel_data::<R, _>(&toplevel, |toplevel_data| {
|
||||
toplevel_data.max_size = (width, height);
|
||||
toplevel_data.min_size = (width, height);
|
||||
});
|
||||
}
|
||||
zxdg_toplevel_v6::Request::SetMaximized => {
|
||||
|
|
Loading…
Reference in New Issue