Commit 187dbc0c authored by Elliot Lee's avatar Elliot Lee
Browse files

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.
parent 9556bba1
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment