[Spice-commits] gtk/channel-cursor.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Oct 2 06:20:13 PDT 2013


 gtk/channel-cursor.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 5032c04f3abae81c5d1b9e8867b9fbe08ec39f5f
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Sep 23 16:10:29 2013 +0300

    mono cursor: increase contrast, better looking putty cursor (rhbz 998529)
    
    Signed-off-by: Alon Levy <alevy at redhat.com>

diff --git a/gtk/channel-cursor.c b/gtk/channel-cursor.c
index bbfb3c9..d1d2c34 100644
--- a/gtk/channel-cursor.c
+++ b/gtk/channel-cursor.c
@@ -269,15 +269,15 @@ static void mono_cursor(display_cursor *cursor, const guint8 *data)
                      * the same contrast.
                      */
                     if ((x ^ y) & 1) {
-                        dest[0] = 0x30;
-                        dest[1] = 0x30;
-                        dest[2] = 0x30;
-                        dest[3] = 0xc0;
+                        dest[0] = 0xff;
+                        dest[1] = 0xff;
+                        dest[2] = 0xff;
+                        dest[3] = 0xff;
                     } else {
-                        dest[0] = 0x50;
-                        dest[1] = 0x50;
-                        dest[2] = 0x50;
-                        dest[3] = 0x30;
+                        dest[0] = 0x00;
+                        dest[1] = 0x00;
+                        dest[2] = 0x00;
+                        dest[3] = 0x00;
                     }
                 } else {
                     /* unchanged -> transparent */


More information about the Spice-commits mailing list