wlc icon indicating copy to clipboard operation
wlc copied to clipboard

Unable to move pointer between outputs

Open ddevault opened this issue 10 years ago • 7 comments

Maybe this is something I'm meant to implement myself?

ddevault avatar Aug 10 '15 03:08 ddevault

Also seems like displays are going to sleep independently of each other.

ddevault avatar Aug 10 '15 03:08 ddevault

Both are currently hardcoded behaviour. The latter needs DPMS api to be controllable by developer, the pointer will eventually by default move freely. But this is not currently made as wlc has no concept of global coordinates, nor it knows where monitors are. Moving views between monitors is another issue, as it needs moving opengl resources between contexts.

Cloudef avatar Aug 10 '15 07:08 Cloudef

Another thing to consider regarding that - someone moves a floating window halfway between two displays, so it appears on both.

ddevault avatar Aug 10 '15 10:08 ddevault

Yeah, indeed.

Cloudef avatar Aug 10 '15 12:08 Cloudef

i3 also allows you to put a window across all available outputs at once, to add some hell to this issue.

Half-Shot avatar Aug 21 '15 13:08 Half-Shot

It's probably reasonable not to support that imo

ddevault avatar Aug 21 '15 13:08 ddevault

On x11 all monitors are merged to single big buffer so it simplified this issue. On wlc each output has their own framebuffer so each monitor can vblank on their own. This means that moving stuff between these is more complicated. This of course depends on backend / context / renderer combo, but with EGL you need to duplicate the resource for each output, unless there is shared context extension available.

Cloudef avatar Aug 21 '15 13:08 Cloudef