mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
78dbf8cb56
This will allow us to have a MetaCursorReference 'subclass' that's lazily loaded. We currently always load all the images. The long-term plan is to have a subclass for each "backend" and only have CoglTexture as a common denominator. For the nested X11 backend, we use XDefineCursor on our stage window. For the Wayland backend, we would use set_cursor on our stage surface. For the native backend, we would use the GBM code that's there right now. The CoglTexture is there to be a "shared fallback" between all devices, and also for the get_sprite API. The odd man out is the X11 compositor case. For that, we need to move the responsibility of setting the final cursor image out of MetaCursorTracker, and simply have it be about tracking the used sprite image and pointer position. |
||
---|---|---|
.. | ||
compositor | ||
core | ||
meta | ||
ui | ||
wayland | ||
x11 | ||
.cvsignore | ||
50-mutter-navigation.xml.in | ||
50-mutter-system.xml.in | ||
50-mutter-windows.xml.in | ||
default_icon.png | ||
idle-monitor.xml | ||
libmutter-wayland.pc.in | ||
Makefile.am | ||
mutter-enum-types.c.in | ||
mutter-enum-types.h.in | ||
mutter-schemas.convert | ||
mutter-wayland.desktop.in | ||
org.gnome.mutter.gschema.xml.in | ||
org.gnome.mutter.wayland.gschema.xml.in | ||
xrandr.xml |