Hi,

The problem is that almost all input code (in absolute mode) keeps track of
the position itself - monitor was the exception.

So a sequence like the following:
1. Move cursor in SDL
2. Use mouse_move in monitor
3. Use mouse_button 2 in monitor
4. Click mouse in SDL
works ok up to step 3, but step 4 causes the pointer to warp back to where it
was at the end of step 1.

There is DisplayState->mouse_set() which can be used to ask the UI to warp the pointer to some place. When using that one you should see the mouse move according to the monitor command on the SDL display.

cheers,
  Gerd


Reply via email to