diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1998-04-28 23:21:36 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1998-04-28 23:21:36 +0000 |
commit | 187dbc0ce7048ab231f4d28ba64354f67388755f (patch) | |
tree | 5ea9bec66bd2bffc8ed8645126070c5bfee9fb99 /gdk/gdk.c | |
parent | 9556bba1bade1fe3e630552b13fb289071e75af0 (diff) | |
download | gtk+-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |