Ticket #802
(closed defect: fixed)

Fix drawWindowGetPointer

Description

The function drawWindowGetPointer should never return Nothing, but maybe another flag that says if the window over which the mouse cursor resides is "known to Gtk". I interpreted that as the mouse cursor being over the Gtk application window and thus, returned Nothing in case it was outside. However, even if the mouse cursor is over the application window, this function returns NULL in some cases (i.e. "not known to Gtk").

I've added a function drawWindowGetPointerPos that has not a sane interface. I removed the documentation from drawWindowGetPointer although the code will stay in Gtk2Hs in order not to break existing programs.