1
0
Fork 0
forked from wry/wry

Add support for experimental xx_foreign_toplevel_geometry_tracker_v1 (#1)

Co-authored-by: entailz <entail-wraps0r@icloud.com>
Reviewed-on: wry/wry#1
Co-authored-by: entailz <entailzwrapped@proton.me>
Co-committed-by: entailz <entailzwrapped@proton.me>
This commit is contained in:
entailz 2026-04-30 17:08:19 -04:00 committed by kossLAN
parent 4e9b6def83
commit f056727621
36 changed files with 497 additions and 243 deletions

View file

@ -424,7 +424,9 @@ impl XdgToplevel {
self.min_height.get(),
self.max_height.get(),
) {
(Some(min_w), Some(max_w), Some(min_h), Some(max_h)) if min_w == max_w && min_h == max_h => {
(Some(min_w), Some(max_w), Some(min_h), Some(max_h))
if min_w == max_w && min_h == max_h =>
{
Some((min_w, min_h))
}
_ => None,