[gtk/benzea/increase-cursor-theme-scale] wayland: Handle scale 4 for cursors



commit 867735602de48ed5f8a3acdaa03e3dd8f6a036bd
Author: Benjamin Berg <bberg redhat com>
Date:   Thu Mar 5 17:58:16 2020 +0100

    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 a41e0ce4a4990da9b9ed8bcd7393a4b6e23f8eb0

 gdk/wayland/gdkdisplay-wayland.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.h b/gdk/wayland/gdkdisplay-wayland.h
index aa5797a331..0ec674eba7 100644
--- a/gdk/wayland/gdkdisplay-wayland.h
+++ b/gdk/wayland/gdkdisplay-wayland.h
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]