window: Use the fullscreen API
Use the meta_window_is_fullscreen() API instead of accessing the fullscreen field of the MetaWindow structure directly. This is both a (small) cleanup and preparation work for the next commit. No function change (intended). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4076>
This commit is contained in:
parent
7e098ae671
commit
a7ef0b137e
@ -368,7 +368,7 @@ meta_window_get_property(GObject *object,
|
||||
g_value_set_boolean (value, win->decorated);
|
||||
break;
|
||||
case PROP_FULLSCREEN:
|
||||
g_value_set_boolean (value, win->fullscreen);
|
||||
g_value_set_boolean (value, meta_window_is_fullscreen (win));
|
||||
break;
|
||||
case PROP_MAXIMIZED_HORIZONTALLY:
|
||||
g_value_set_boolean (value, win->maximized_horizontally);
|
||||
|
Loading…
x
Reference in New Issue
Block a user