summaryrefslogtreecommitdiff
path: root/gdk/gdk.c
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1998-04-28 23:21:36 +0000
committerElliot Lee <sopwith@src.gnome.org>1998-04-28 23:21:36 +0000
commit187dbc0ce7048ab231f4d28ba64354f67388755f (patch)
tree5ea9bec66bd2bffc8ed8645126070c5bfee9fb99 /gdk/gdk.c
parent9556bba1bade1fe3e630552b13fb289071e75af0 (diff)
downloadgtk+-187dbc0ce7048ab231f4d28ba64354f67388755f.tar.gz
Try adding "ExposureMask" to the event mask during a drag, so that things
Try adding "ExposureMask" to the event mask during a drag, so that things get redrawn.
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r--gdk/gdk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdk.c b/gdk/gdk.c
index b2cdb5d2d6..9cd94cee72 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -1964,7 +1964,7 @@ gdk_event_translate (GdkEvent *event,
window_private->dnd_drag_savedeventmask = dnd_winattr.your_event_mask;
dnd_setwinattr.event_mask =
window_private->dnd_drag_eventmask = ButtonMotionMask | ButtonPressMask | ButtonReleaseMask |
- EnterWindowMask | LeaveWindowMask;
+ EnterWindowMask | LeaveWindowMask | ExposureMask;
XChangeWindowAttributes(gdk_display, window_private->xwindow,
CWEventMask, &dnd_setwinattr);
}
@@ -2332,7 +2332,7 @@ gdk_event_translate (GdkEvent *event,
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, False,
ButtonMotionMask | PointerMotionMask |
/* PointerMotionHintMask | */ /* HINTME */
- ButtonPressMask | ButtonReleaseMask,
+ ButtonPressMask | ButtonReleaseMask | ExposureMask,
GrabModeAsync, GrabModeAsync, gdk_root_window,
None, CurrentTime);
#ifdef G_ENABLE_DEBUG