LWN.net Logo

LCA: Catching up with X.org

LCA: Catching up with X.org

Posted Jan 26, 2009 17:53 UTC (Mon) by yokem_55 (subscriber, #10498)
In reply to: LCA: Catching up with X.org by njs
Parent article: LCA: Catching up with X.org

Qt 4.5 seems to have some support for input redirection. See the WolfenQt demo for an example. But I'm not sure if this is quite the same thing.


(Log in to post comments)

LCA: Catching up with X.org

Posted Jan 30, 2009 2:46 UTC (Fri) by jamesh (guest, #1159) [Link]

This isn't something a toolkit could implement itself.

Imagine a compositing window manager that takes a particular window and renders it at twice its original dimensions. Input redirection is needed to let the user interact with this zoomed window in a way that the underlying application can understand (halve the x and y coordinates and translate to match the real window position).

All this has to happen before the input reaches the application. After all, we want clicks that occur outside the application's window to be directed to it.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds