Re: Dual-head with one head rotated?



On Fri, Sep 12, 2008 at 1:28 PM, Rafal Kolanski <rafalk cse unsw edu au> wrote:

[...]

> I had the same idea, to just warp the cursor the moment it goes onto a
> different head (so say it was at 20% height of head 1, put it at 20% height
> of head 2, which is smaller) or out of the head (warp it back).
>
> Well, looking at the documentation, the only real mouse motion hook is
> leave-notify-hook/enter-notify-hook
> The "leaving the root window" seemed promising, but I just tried it, binding
> it to show-message, and it doesn't get triggered when moving between
> Xinerama heads, or when moving into the "dead zone" on the second head.
>
> We probably need to create a patch for a xinerama hook :)

Adding a hook on the librep side is dead easy, simply adding a
call-hook line (
http://librep.sourceforge.net/librep-manual.html#Normal Hooks ). In
this case seems it should be done on the C side, but I looked at it
briefly...


-- 
Andrea


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]