forked from AuroraMiddleware/gtk
First fix: Move the window first, display it after (this removes one of
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the window first, display it after (this removes one of the annoying flashing effects).
This commit is contained in:
parent
f59f2039c0
commit
2be5abf4ed
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.c (gdk_dnd_display_drag_cursor): First fix: Move the
|
||||||
|
window first, display it after (this removes one of the annoying
|
||||||
|
flashing effects).
|
||||||
|
|
||||||
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
Mon Mar 30 21:29:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
* gtk/gtkentry.c: Add a "style_set" callback, so the
|
||||||
|
@ -82,6 +82,8 @@ void
|
|||||||
gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
|
gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
|
||||||
gboolean change_made)
|
gboolean change_made)
|
||||||
{
|
{
|
||||||
|
int more_debug = 0;
|
||||||
|
|
||||||
if(!gdk_dnd.dnd_grabbed)
|
if(!gdk_dnd.dnd_grabbed)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -120,10 +122,13 @@ gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
|
|||||||
if(change_made)
|
if(change_made)
|
||||||
{
|
{
|
||||||
gdk_window_hide(opix);
|
gdk_window_hide(opix);
|
||||||
|
}
|
||||||
|
gdk_window_move(mypix, x - myhotspot->x, y - myhotspot->y);
|
||||||
|
if (change_made)
|
||||||
|
{
|
||||||
gdk_window_show(mypix); /* There ought to be a way to know if
|
gdk_window_show(mypix); /* There ought to be a way to know if
|
||||||
a window is already mapped etc. */
|
a window is already mapped etc. */
|
||||||
}
|
}
|
||||||
gdk_window_move(mypix, x - myhotspot->x, y - myhotspot->y);
|
|
||||||
}
|
}
|
||||||
else if(change_made)
|
else if(change_made)
|
||||||
{
|
{
|
||||||
|
@ -82,6 +82,8 @@ void
|
|||||||
gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
|
gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
|
||||||
gboolean change_made)
|
gboolean change_made)
|
||||||
{
|
{
|
||||||
|
int more_debug = 0;
|
||||||
|
|
||||||
if(!gdk_dnd.dnd_grabbed)
|
if(!gdk_dnd.dnd_grabbed)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -120,10 +122,13 @@ gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
|
|||||||
if(change_made)
|
if(change_made)
|
||||||
{
|
{
|
||||||
gdk_window_hide(opix);
|
gdk_window_hide(opix);
|
||||||
|
}
|
||||||
|
gdk_window_move(mypix, x - myhotspot->x, y - myhotspot->y);
|
||||||
|
if (change_made)
|
||||||
|
{
|
||||||
gdk_window_show(mypix); /* There ought to be a way to know if
|
gdk_window_show(mypix); /* There ought to be a way to know if
|
||||||
a window is already mapped etc. */
|
a window is already mapped etc. */
|
||||||
}
|
}
|
||||||
gdk_window_move(mypix, x - myhotspot->x, y - myhotspot->y);
|
|
||||||
}
|
}
|
||||||
else if(change_made)
|
else if(change_made)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user