wayland: Handle scale 4 for cursors

This is just a bandaid solution to make scale 4 work.
If people seriously want to go for scales larger than
that, we need a better solution.

Note that I believe mutter is currently capping the scale at 400
percent. So this is probably relatively safe at least on GNOME for now.

See also commit a41e0ce4a4
This commit is contained in:
Benjamin Berg
2020-03-05 17:58:16 +01:00
parent b376d9617e
commit 867735602d

View File

@@ -50,7 +50,7 @@
G_BEGIN_DECLS
#define GDK_WAYLAND_MAX_THEME_SCALE 3
#define GDK_WAYLAND_MAX_THEME_SCALE 4
#define GDK_WAYLAND_THEME_SCALES_COUNT GDK_WAYLAND_MAX_THEME_SCALE
#define GDK_ZWP_POINTER_GESTURES_V1_VERSION 1