window: Move surface property to it subclasses
As we have specific window types per display server, having it in the parent class makes building without wayland harder to achieve Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2418>
This commit is contained in:

committed by
Marge Bot

parent
c3a01e4e18
commit
6b77532a23
@@ -37,10 +37,10 @@ static MetaWindow *test_window = NULL;
|
||||
|
||||
#define assert_wayland_surface_size(window, width, height) \
|
||||
{ \
|
||||
g_assert_cmpint (meta_wayland_surface_get_width (window->surface), \
|
||||
g_assert_cmpint (meta_wayland_surface_get_width (meta_window_get_wayland_surface (window)), \
|
||||
==, \
|
||||
width); \
|
||||
g_assert_cmpint (meta_wayland_surface_get_height (window->surface), \
|
||||
g_assert_cmpint (meta_wayland_surface_get_height (meta_window_get_wayland_surface (window)), \
|
||||
==, \
|
||||
height); \
|
||||
}
|
||||
|
Reference in New Issue
Block a user