Quoting Chris @ Napatech: > I've been playing around with writing a small toolkit based on DirectFB. > I've run into a bit of a slowdown with my window motion handling. When I > attempt to drag a directfb window, the window trails after the cursor.. > it just cannot keep up. I have a simple workaround implemented currently > that just disposes of every other motion event. This keeps the Move() > calls down, and keeps the window under the mouse. This seems to be a > sloppy workaround, and was curious if anyone could shed some light onto > a technique that would better cure this problem. Thanks.
That's exactly what LiTE is doing with motion events during window dragging. I think it's a good solution, but I'd be interested in better ones. A good window example is missing, df_window's code is crap. LiTE might be too big for a small example, but it's a very good one. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
