window: Add a copy of XSizeHints
The type ended being used even in wayland code paths so add a copy of it for now. Helps https://gitlab.gnome.org/GNOME/mutter/-/issues/2272 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3597>
This commit is contained in:
@ -2539,8 +2539,8 @@ meta_window_unminimize (MetaWindow *window)
|
||||
}
|
||||
|
||||
static void
|
||||
ensure_size_hints_satisfied (MtkRectangle *rect,
|
||||
const XSizeHints *size_hints)
|
||||
ensure_size_hints_satisfied (MtkRectangle *rect,
|
||||
const MetaSizeHints *size_hints)
|
||||
{
|
||||
int minw, minh, maxw, maxh; /* min/max width/height */
|
||||
int basew, baseh, winc, hinc; /* base width/height, width/height increment */
|
||||
|
Reference in New Issue
Block a user