Kmod_ctrl problem

Hi all,

I have a small problem when detecting if a user is dragging something with the mouse while holding down one of the ctrl keys…

It seems that when the user holds down the ctrl key while dragging, the “mousebuttonup” event is delayed by at least one second… ?! Strange isn’t it? :slight_smile:

What is one to do?
Best regards
Anders

Anders Emil Hansen wrote:

It seems that when the user holds down the ctrl key while
dragging, the “mousebuttonup” event is delayed by at least
one second… ?! Strange isn’t it? :slight_smile:

Are you sure it isn’t a bunch of mousemove events getting backed up in the
event queue while you are dragging? This is usually caused by the mousemove
events coming in faster than your framerate. You might need to speed up your
dragging (using dirty rectangles) or flush out the extra events on the fly
to prevent them from building up.

  • Randi

Regimental Command
Generic Armored Combat System
http://regcom.sourceforge.net