This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: X / gtk-x11 / flicker and other problems [+PATCH]


----- Original Message ----- From: "Jon TURNEY"

Thanks for being the guinea pig. I'll update the CG document to hopefully clarify the things which caused you problems.

Thanks.  One more thing Jon.  I'm probably being ludicrously simplistic
here - but to fix the resizing problem (not resizing until the user lets go
of the mouse button) could there be a simple fix for this just by responding
to the WM_MOUSEHOVER notification?

For example:-
1)  Check wParam to see if the left button is currently pressed.
2)  If so, call Invalidate() for the window being resized.
3)  Call TrackMouseEvent() on next WM_MOUSEMOVE (so that the next hover
event gets notified).

John


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]