Re: RFC Evolving Mir support for writing shells

2015-03-24 Thread Daniel van Vugt
Changing focus is a WM concept. But strictly speaking "focus" is an input concept [1]. It exists lower level in the display server to ensure key events land on the correct surface. You might also have "active" window for visual focus (greater highlighting, shadow), which is usually and hopefull

Re: RFC Evolving Mir support for writing shells

2015-03-24 Thread Alan Griffiths
On 24/03/15 12:50, Gerry Boland wrote: > On 23/03/15 13:12, Alan Griffiths wrote: >> 2. The shell writer can inherit from ShellWrapper override a few >> functions and "get something working". > AbstractShell/WindowManager more powerful than this, happy to let it go. > I wasn't using it anyw

Re: RFC Evolving Mir support for writing shells

2015-03-24 Thread Gerry Boland
On 23/03/15 13:12, Alan Griffiths wrote: > On 23/03/15 02:11, Daniel van Vugt wrote: >> For the benefit of all future shell developers; >> I'd like to inherit from "SomethingShell" and get >> something that works in a few lines without writing additional code. >> Then I would like to be able to ove

Re: RFC Evolving Mir support for writing shells

2015-03-24 Thread Alan Griffiths
I've now proposed https://code.launchpad.net/~alan-griffiths/mir/default-to-canonical-window-manager/+merge/253950 Which assumes the following preferences: > 0. should we replace the legacy > DefaultShell/PlacementStrategy/SurfaceConfigurator with > CanonicalWindowManager? > Yes >