Adapt to the new Mtk library
As we plan to slowly phase out Cairo where possible in libmutter https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3128 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2873>
This commit is contained in:

committed by
Marge Bot

parent
533f3fe69d
commit
80237b1082
@ -4,6 +4,7 @@
|
||||
|
||||
#include "shell-global.h"
|
||||
#include <meta/meta-workspace-manager.h>
|
||||
#include <mtk/mtk.h>
|
||||
|
||||
#define BACKGROUND_MARGIN 12
|
||||
|
||||
@ -27,8 +28,8 @@ struct _ShellWorkspaceBackground
|
||||
int monitor_index;
|
||||
double state_adjustment_value;
|
||||
|
||||
MetaRectangle work_area;
|
||||
MetaRectangle monitor_geometry;
|
||||
MtkRectangle work_area;
|
||||
MtkRectangle monitor_geometry;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (ShellWorkspaceBackground, shell_workspace_background, ST_TYPE_WIDGET);
|
||||
|
Reference in New Issue
Block a user