Comment 1 for bug 1542028

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: xapp window should reflect app name rather than "root xmir"

Do you mean "Xmir root window"? If so then that's not a bug. That Mir surface represents the whole X11 desktop. So it's not an app window but is the X11 root window.

If you run Xmir -rootless you will get per-app window names as the apps are actually running in different windows. But the way we use Xmir right now in Unity8 I believe is not -rootless. So it may have any number of apps visible simultaneously and there is no correct "app name" to display for the whole desktop, assuming you have a typical window manager.

That all said, what we might be able to do is somehow deduce at the X server level what the focussed window title is and switch the X server's window title to match it. Although for any use case other than a fullscreen window manager that would be incorrect. But it's theoretically possible to do such an enhancement as an option for Unity8.

What would be better still though would be to enhance Unity8 to support 'Xmir -rootless' if not already, and then the window titles will all look right (as well as dialogs etc).