From a0a5818fefe75135f383dcc5914ca376b3272418 Mon Sep 17 00:00:00 2001
From: Alon Levy <alevy@redhat.com>
Date: Mon, 23 Sep 2013 16:09:32 +0300
Subject: [PATCH 09/11] mono cursor: increase contrast, better looking putty
cursor (rhbz 998529)
Signed-off-by: Alon Levy <alevy@redhat.com>
---
gtk/channel-cursor.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gtk/channel-cursor.c b/gtk/channel-cursor.c
index e4a996b..7a985a4 100644
--- a/gtk/channel-cursor.c
+++ b/gtk/channel-cursor.c
@@ -267,15 +267,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 */
--
1.8.3.1