Hi, currently, we have a bunch of stuff in compiz core that is entirely Gnome specific, though it's designed to be general. What I mean is - arbitrary command bindings - terminal and screenshot command bindings - "main menu" and "run dialog" toolkit actions Neither of those is handled by the window manager outside of Gnome. Hence I propose doing the following: - Add a "commands" plugin Handling of arbitrary command bindings should be moved from core to this plugin. Also, button and edge bindings for arbitrary commands as requested by a number of people can easily be added to such a plugin without bloating core option count. - Add a "gnomecompat" plugin This plugin should receive the terminal and screenshot command bindings as well as the "main menu" and "run dialog" action handling. - Remove "main menu" and "run dialog" toolkit action code from decorators and core completely. Any thoughts/opinions/objections? If there are no objections, I'll just go ahead implementing the outlined proposal ASAP. Regards, Danny
On Tue, Feb 3, 2009 at 10:59 PM, Danny Baumann <dannybaumann at web.de> wrote:> Hi, > > currently, we have a bunch of stuff in compiz core that is entirely > Gnome specific, though it's designed to be general. What I mean is > - arbitrary command bindings > - terminal and screenshot command bindings > - "main menu" and "run dialog" toolkit actions > > Neither of those is handled by the window manager outside of Gnome. > > Hence I propose doing the following: > > - Add a "commands" plugin > Handling of arbitrary command bindings should be moved from core to this > plugin. Also, button and edge bindings for arbitrary commands as > requested by a number of people can easily be added to such a plugin > without bloating core option count. > > - Add a "gnomecompat" plugin > This plugin should receive the terminal and screenshot command bindings > as well as the "main menu" and "run dialog" action handling. > > - Remove "main menu" and "run dialog" toolkit action code from > decorators and core completely.So I would assume that all the "main menu" and "run dialog" code is going into this gnomecompat plugin? Also, has Dennis talked to you about a kdecompat plugin? Otherwise, no problems> > Any thoughts/opinions/objections? If there are no objections, I'll just > go ahead implementing the outlined proposal ASAP. > > Regards, > > Danny > > _______________________________________________ > compiz mailing list > compiz at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/compiz >-- Sam Spilsbury
(snippets) On Tue, Feb 03, 2009 at 02:59:15PM +0100, Danny Baumann wrote:> currently, we have a bunch of stuff in compiz core that is entirely > Gnome specific, though it's designed to be general. What I mean is > - arbitrary command bindings > - terminal and screenshot command bindings > - "main menu" and "run dialog" toolkit actions > > Hence I propose doing the following: > > - Add a "commands" plugin > - Add a "gnomecompat" plugin > - Remove "main menu" and "run dialog" toolkit action code from > decorators and core completely.This is definitely the way to go. The more I think about this, the more I want it in 0.8.0, as the argument about KDE is significant, and given how non-intrusive these changes are, I don't see any harm in going ahead with them this close to a release. Like I said on IRC: If we want to break the ABI, we better do it before the stable release, not after. - Kristian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20090203/2bfa47d6/attachment.pgp