Op 12-05-10 07:39, yoni dana schreef:
> Hi
> i have implemented and X11 input driver,
> i need to add support to screen rotation,
> My questions is
> How can i detect screen rotation occurred
> (For Example i use xrandr -o left )
I think you can do this in a X client which listens to the
XRRScreenChangeNotify event on the root window. See the Xrandr(3) man
page for more info. Then, your client can request a change of
orientation to the input via an input property.

Eric
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to