window tracker: Adapt to renamed function

Ideally, the use case we have for MetaGroup would be removed but that
requires investigation that could be done as a future step

The function also expects a MetaWindowX11, so add a check to ensure
we don't crash at runtime if the function gets called on a wayland
client

Also removes an unused header import

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3157>
This commit is contained in:
Bilal Elmoussaoui
2024-01-31 16:12:59 +01:00
parent 7b5da30f21
commit 2dc0f48a22
2 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@
#include <glib.h>
#include <gio/gio.h>
#include <meta/display.h>
#include <meta/group.h>
#include <meta/window.h>
#include "shell-app-usage.h"