Replace ShellXFixesCursor with MetaCursorTracker
Mutter now includes an object with the same purpose and functionality as ShellXFixesCursor, so we can replace our XFixes code with it and work under wayland too. https://bugzilla.gnome.org/show_bug.cgi?id=705911
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include <clutter/clutter.h>
|
||||
#include <libsoup/soup.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
#include <meta/meta-cursor-tracker.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -46,6 +47,9 @@ GdkPixbuf *shell_util_create_pixbuf_from_data (const guchar *data,
|
||||
|
||||
void shell_util_wake_up_screen (void);
|
||||
|
||||
void shell_util_cursor_tracker_to_clutter (MetaCursorTracker *tracker,
|
||||
ClutterTexture *texture);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_UTIL_H__ */
|
||||
|
Reference in New Issue
Block a user