Commit 529a9205 authored by Anders Carlsson's avatar Anders Carlsson Committed by Anders Carlsson

Set the cursor to GDK_XTERM.

2002-01-27  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
	GDK_XTERM.
parent 8290dc99
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
......
......@@ -2275,16 +2275,19 @@ gtk_label_create_window (GtkLabel *label)
attributes.window_type = GDK_WINDOW_TEMP;
attributes.wclass = GDK_INPUT_ONLY;
attributes.override_redirect = TRUE;
attributes.cursor = gdk_cursor_new (GDK_XTERM);
attributes.event_mask = gtk_widget_get_events (widget) |
GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
GDK_BUTTON_MOTION_MASK;
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_NOREDIR;
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_NOREDIR | GDK_WA_CURSOR;
label->select_info->window = gdk_window_new (widget->window,
&attributes, attributes_mask);
gdk_window_set_user_data (label->select_info->window, widget);
gdk_window_set_user_data (label->select_info->window, widget);
gdk_cursor_unref (attributes.cursor);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment