forked from AuroraMiddleware/gtk
Use gdk_window_get_toplevel(), as it is the top-level windows that are
2002-03-20 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use gdk_window_get_toplevel(), as it is the top-level windows that are registered for DND. * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
This commit is contained in:
parent
0e6622e9b7
commit
a5eec70325
@ -1,3 +1,11 @@
|
|||||||
|
2002-03-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
|
||||||
|
gdk_window_get_toplevel(), as it is the top-level windows that are
|
||||||
|
registered for DND.
|
||||||
|
|
||||||
|
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
|
||||||
|
|
||||||
2002-03-19 jacob berkman <jacob@ximian.com>
|
2002-03-19 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2002-03-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
|
||||||
|
gdk_window_get_toplevel(), as it is the top-level windows that are
|
||||||
|
registered for DND.
|
||||||
|
|
||||||
|
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
|
||||||
|
|
||||||
2002-03-19 jacob berkman <jacob@ximian.com>
|
2002-03-19 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2002-03-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
|
||||||
|
gdk_window_get_toplevel(), as it is the top-level windows that are
|
||||||
|
registered for DND.
|
||||||
|
|
||||||
|
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
|
||||||
|
|
||||||
2002-03-19 jacob berkman <jacob@ximian.com>
|
2002-03-19 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2002-03-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
|
||||||
|
gdk_window_get_toplevel(), as it is the top-level windows that are
|
||||||
|
registered for DND.
|
||||||
|
|
||||||
|
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
|
||||||
|
|
||||||
2002-03-19 jacob berkman <jacob@ximian.com>
|
2002-03-19 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2002-03-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
|
||||||
|
gdk_window_get_toplevel(), as it is the top-level windows that are
|
||||||
|
registered for DND.
|
||||||
|
|
||||||
|
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
|
||||||
|
|
||||||
2002-03-19 jacob berkman <jacob@ximian.com>
|
2002-03-19 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2002-03-20 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
|
||||||
|
gdk_window_get_toplevel(), as it is the top-level windows that are
|
||||||
|
registered for DND.
|
||||||
|
|
||||||
|
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
|
||||||
|
|
||||||
2002-03-19 jacob berkman <jacob@ximian.com>
|
2002-03-19 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
|
||||||
|
@ -1336,7 +1336,10 @@ gdk_drag_find_window (GdkDragContext *context,
|
|||||||
{
|
{
|
||||||
*dest_window = gdk_win32_handle_table_lookup (GPOINTER_TO_UINT(recipient));
|
*dest_window = gdk_win32_handle_table_lookup (GPOINTER_TO_UINT(recipient));
|
||||||
if (*dest_window)
|
if (*dest_window)
|
||||||
gdk_drawable_ref (*dest_window);
|
{
|
||||||
|
*dest_window = gdk_window_get_toplevel (*dest_window);
|
||||||
|
gdk_drawable_ref (*dest_window);
|
||||||
|
}
|
||||||
|
|
||||||
if (context->source_window)
|
if (context->source_window)
|
||||||
*protocol = GDK_DRAG_PROTO_LOCAL;
|
*protocol = GDK_DRAG_PROTO_LOCAL;
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#define __GDK_WIN32_H__
|
#define __GDK_WIN32_H__
|
||||||
|
|
||||||
#include <gdk/gdkprivate.h>
|
#include <gdk/gdkprivate.h>
|
||||||
#include <gdk/gdkinternals.h>
|
|
||||||
#include <gdk/gdkcursor.h>
|
#include <gdk/gdkcursor.h>
|
||||||
|
|
||||||
#ifndef STRICT
|
#ifndef STRICT
|
||||||
|
Loading…
Reference in New Issue
Block a user