wlc
wlc copied to clipboard
Unable to move pointer between outputs
Maybe this is something I'm meant to implement myself?
Also seems like displays are going to sleep independently of each other.
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.
Another thing to consider regarding that - someone moves a floating window halfway between two displays, so it appears on both.
Yeah, indeed.
i3 also allows you to put a window across all available outputs at once, to add some hell to this issue.
It's probably reasonable not to support that imo
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.