GNOME Bugzilla – Bug 634247
Toggle showing window frame decoration
Last modified: 2015-04-15 13:57:11 UTC
Created attachment 174024 [details] [review] Toggle showing window frame decoration in metacity I wanted this what you find in tiling-based window manager, like awesome or fluxbox, which have no window frame decoration - their solution is to provide keyboard bindings for tasks like closing, resizing or moving windows. I recently switched back from awesome to GNOME, and wanted this exact feature. I did some research and found that Compiz had this feature, so I thought I'd add this feature to metacity also. There was another solution tackling this problem, by creating a theme with no title frame, but I think this is not the right solution. [1] [1] http://ubuntuforums.org/showpost.php?p=6126565&postcount=8 I did some hacking earlier this day by changing a single line, compiled metacity and it worked straight-away. See more about that here [2]. [2] http://kennymeyer.blogspot.com/2010/11/hacking-metacity-remove-window.html For submitting a patch I wrote a better version with a GConf interface to toggle showing window frame decoration in Metacity. So, have a look at the patch, please, and tell me if we can see this in the next Metacity release, or if I can do it better.
I would like "Toggle showing frame decoration" as well, but for a different reason: When windows in gnome 3.0 are maxemized, the titlebar takes an awfull lot of space, and you don't really need it there. Ubuntu 11.04 Unity deals with this "problem" by moving the titlebar into the top-panel as a tab with close and de-maxemize buttons for maxemized windows - having a simular feature for gnome 3.0 would be cool. @Kenny: Width the "Toggle showing frame decoration" on place, I could reccomend using pytyle on top of metacity (if you haven't allready tried it). It can be run on top of most window managers, and gives you an easy switch betwean tiling and no-tiling for each virtual workspace.
Sindre, thanks for commenting on this feature request. The patch I've attached worked under GNOME 2.x, but I'm not sure if it is going to work under GNOME 3. Also, I don't want to use a third-party tool for enabling/disabling window frame decoration, but I would like a "clickable" approach. Unfortunately no core developers haven't time yet to review the patch, or comment on this feature.
I guess my wishes diserves a new 'feature request', or I'll have to write it myself as a gnomw-shell extension. @ Kenny: I saw, after committing, that your patch was for Gnome 2.0 - It most deffenantly wont work for Gnome 3.0, as Gnome 3.0 doesn't use metacity. Futher, I guess this really isn't the forum for this, but pytyle is not mainly for diabling window decorations, but for managing window tiling (like in Awesome), and optionally hiding the window decoration for workspaces with tiling enabled - documented here: http://pytyle.com/wiki/Main_Page.