"Implemented" DragBroken() on OS X. Starting to wonder if I can get away with ignoring WM_CAPTURECHANGED on Windows.

This commit is contained in:
Pietro Gagliardi 2015-09-12 08:11:10 -04:00
parent 5f43cc9911
commit 55456ae434
2 changed files with 5 additions and 0 deletions

View File

@ -293,6 +293,7 @@ gboolean areaWidget_enterleave_notify_event(GtkWidget *w, GdkEventCrossing *e)
// note: there is no equivalent to WM_CAPTURECHANGED on GTK+; there literally is no way to break a grab like that (at least not on X11 and Wayland)
// even if I invoke the task switcher and switch processes, the mouse grab will still be held until I let go of all buttons
// therefore, no DragBroken()
// TODO key events

View File

@ -240,6 +240,10 @@ mouseEvent(mouseUp)
mouseEvent(rightMouseUp)
mouseEvent(otherMouseUp)
// note: there is no equivalent to WM_CAPTURECHANGED on Mac OS X; there literally is no way to break a grab like that
// even if I invoke the task switcher and switch processes, the mouse grab will still be held until I let go of all buttons
// therefore, no DragBroken()
@end
@implementation areaView