Drag and drop question
- From: Alex Larsson <alexl redhat com>
- To: <gtk-devel-list gnome org>
- Subject: Drag and drop question
- Date: Tue, 12 Jun 2001 19:12:55 -0400 (EDT)
I'm having problems with a bug in the framebuffer drag and drop code.
Since the problem actually is in the generic gtk code, and I'm not very
good at dnd I need to ask people about this.
In gtkdnd.c:gtk_drag_get_cursor(), if the value passed for action is
GDK_ACTION_DEFAULT, the code will eventually call
gdk_bitmap_create_from_data() with data=NULL. This is because the
drag_cursors array has bits=0 for the GDK_ACTION_DEFAULT case.
Passing data==NULL leads to an assertion in the framebuffer code, when
draging a row in a GtkCList. The X backend never has this problem,
because it never passes GDK_ACTION_DEFAULT. I believe the reason for the
difference between the x and the framebuffer code is essentially a race
condition.
Anyone know what GDK_ACTION_DEFAULT means? Any ideas on this?
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]