view .hgsubstate @ 20145:248f2f2e7d48

Return correct x,y coordinates for keystroke with ginput in Qt (bug #44834). * Canvas.h (updateCurrentPoint (fig, obj)): New prototype for 2-argument form of updateCurrentPoint used with QKeyEvents. * Canvas.cc (updateCurrentPoint (fig, obj)): New version of function that uses QCursor::pos() to get CurrentPoint rather than using data embedded in QMouseEvent. * QtHandlesUtils.h (figureCurrentPoint (fig)): New prototype for 1-argument form of figureCurrentPoint used with QKeyEvents. * QtHandlesUtils.cc (figureCurrentPoint (fig)): New version of function that uses QCursor::pos() to get CurrentPoint rather than using data embedded in QMouseEvent.
author Rik <rik@octave.org>
date Mon, 20 Apr 2015 20:46:54 -0700
parents 85d9cb769e8b
children
line wrap: on
line source

7f19e7f2afa2b1476983003f9cd6df2f5b2a4b08 gnulib-hg