src/winsup/cygwin ChangeLog fhandler.h fhandle ...
Wed Dec 16 14:56:00 GMT 2009

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2009-12-16 14:56:10

Modified files:
	winsup/cygwin  : ChangeLog fhandler.h 

Log message:
	* (read): Detect and handle mouse wheel scrolling
	events (for completion of mouse reporting mode 1000) and mouse
	movement events (for additional mouse reporting modes 1002 and 1003).
	Use mouse_aware() as a guard and only condition for mouse
	reporting in order to enforce consistence of read() and select().
	Add focus reports (for additional focus reporting mode 1004).
	(mouse_aware): Enable detection of additional mouse events for select().
	Tune function to precisely match actual reporting criteria.
	Move adjustment of mouse position (by window scroll offset)
	here to avoid duplicate code.
	(char_command): Initialization of enhanced mouse reporting modes.
	Initialization of focus reporting mode.
	* fhandler.h (use_mouse): Change flag (bool->int) to indicate
	additional mouse modes. Add flag to indicate focus reporting.
	(mouse_aware): Move enhanced function into
	* (peek_console): Use modified mouse_aware() for more
	general detection of mouse events. Also check for focus reports.


More information about the Cygwin-cvs mailing list