shell-util: Add API to check for X11 extensions

Will be used to disable animations when running inside Xvnc. This was
done in gsd-xsettings before.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/757
This commit is contained in:
Jonas Ådahl
2019-10-01 11:55:33 +02:00
parent 059fb5c7cb
commit 7220f6d25b
2 changed files with 29 additions and 0 deletions

View File

@@ -66,6 +66,9 @@ gboolean shell_util_stop_systemd_unit (const char *unit,
void shell_util_sd_notify (void);
gboolean shell_util_has_x11_display_extension (MetaDisplay *display,
const char *extension);
G_END_DECLS
#endif /* __SHELL_UTIL_H__ */