"If I'm not mistaken the plan is to provide a shared library with code to draw the window decorations for applications (and toolkits) that want to use the "system theme"."
But is there no way of _forcing_ an application to use a users preferred decoration/manager?
Posted Apr 13, 2012 5:21 UTC (Fri) by renox (subscriber, #23785)
[Link]
> But is there no way of _forcing_ an application to use a users preferred decoration/manager?
Look, most applications will use a toolkit, the toolkit will use a common way to draw the decorations (otherwise there will be a coherency issue), ideally a shared library.
This library will draw the decoration according to users preference and it must be very flexible, it's even planned for KDE to use *server side decoration* if I understand their plan well.
But no, there is no way to force an application (short of modifying it) to use all this, and *this is not an issue* because there are *now* lots of way for an application to misbehave but in practice this doesn't happen.
LFCS 2012: X and Wayland
Posted Apr 13, 2012 11:24 UTC (Fri) by jengelh (subscriber, #33263)
[Link]
>Look, most applications will use a toolkit
It's not about those that do, but about those which don't. Even if Qt and GTK start drawing the deco, there is still SDL and glut, for example.
LFCS 2012: X and Wayland
Posted Apr 13, 2012 11:39 UTC (Fri) by renox (subscriber, #23785)
[Link]
So? As I said above I don't expect that this will be a big issue because the 'social forces' which makes current applications look&behave 'identically' will still be here with Wayland.
LFCS 2012: X and Wayland
Posted Apr 13, 2012 5:31 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)
[Link]
Strictly speaking, no.
However, you can set the default decorations to empty rectangles and have your compositor to draw whatever decorations it wants to do. Some applications might ignore the setting and do whatever they want, but that's how they behave right now anyway.
Additionally, you can do tricks like overlaying a gray rectangle over an unresponsive application and drawing large "KILL" button on it to immediately kill the hung application.
LFCS 2012: X and Wayland
Posted Apr 13, 2012 9:47 UTC (Fri) by dgm (subscriber, #49227)
[Link]
No, no way of forcing, the same way you cannot force the application to speak your language, or have icons that integrate with your preferred theme.
But you can always try embarrassing the developer in public for not doing things the right way :-)