wayland: Fix window bounds restoration (#12581)
Fixes multiple issues that prevented window bounds restoration to not work on Wayland. Note: Since the display uuid depends on the `wl_output.name` field, this only works properly on KDE 5.26+ or Gnome 44+ ([kwin commit](330a02d862
), [mutter](7e838b1115
)). Release Notes: - N/A
This commit is contained in:
parent
ed86b86dc7
commit
344e5e1cf2
4 changed files with 82 additions and 62 deletions
|
@ -712,7 +712,7 @@ impl Size<Length> {
|
|||
/// assert_eq!(bounds.origin, origin);
|
||||
/// assert_eq!(bounds.size, size);
|
||||
/// ```
|
||||
#[derive(Refineable, Clone, Default, Debug, Eq, PartialEq)]
|
||||
#[derive(Refineable, Clone, Default, Debug, Eq, PartialEq, Hash)]
|
||||
#[refineable(Debug)]
|
||||
#[repr(C)]
|
||||
pub struct Bounds<T: Clone + Default + Debug> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue