+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
+Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c (add_cursor): When in split cursor
+ mode, always add the cursor as both strong and weak
+ so that it is drawn with the correct non-split color.
+
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
cursor->y = PANGO_PIXELS (strong_pos.y);
cursor->height = PANGO_PIXELS (strong_pos.height);
cursor->is_strong = TRUE;
- cursor->is_weak = FALSE;
+ cursor->is_weak = (layout->cursor_direction == GTK_TEXT_DIR_NONE) ? FALSE : TRUE;
display->cursors = g_slist_prepend (display->cursors, cursor);
}
cursor->x = PANGO_PIXELS (weak_pos.x);
cursor->y = PANGO_PIXELS (weak_pos.y);
cursor->height = PANGO_PIXELS (weak_pos.height);
- cursor->is_strong = FALSE;
+ cursor->is_strong = (layout->cursor_direction == GTK_TEXT_DIR_NONE) ? FALSE : TRUE;
cursor->is_weak = TRUE;
display->cursors = g_slist_prepend (display->cursors, cursor);
}