Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-10 Thread Dov Grobgeld
Indeed my patch is unnecessary and the same functionality may be achieved by the following line in .fvwmrc Style gthumb !MwmFunctions According to the change log NoFuncHint was the old name of the parameter. There are still references to NoFuncHint though in the documentation, that should be

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-10 Thread Ethan Grammatikidis
On Tue, 9 Jun 2015 14:39:05 +0300 Dov Grobgeld dov.grobg...@gmail.com wrote: On Tue, Jun 9, 2015 at 11:43 AM, Thomas Adam tho...@fvwm.org wrote: I'm not sure the entire patch is necessary. What's wrong with using NoFuncHint? I wasn't aware of it. Indeed the documentation states exactly

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-09 Thread Thomas Adam
On Tue, Jun 09, 2015 at 10:38:09AM +0300, Dov Grobgeld wrote: Here's the patch. (Though I still prefer github pull requests.) Software existed before Github made all the coffee-drinking hair-dos of today rise out of their pretty seats with their sunglasses to click a few buttons on a UI and

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-09 Thread Dov Grobgeld
On Tue, Jun 9, 2015 at 11:43 AM, Thomas Adam tho...@fvwm.org wrote: I'm not sure the entire patch is necessary. What's wrong with using NoFuncHint? I wasn't aware of it. Indeed the documentation states exactly the same functionality as I wanted to implement. Unfortunately, I can't get it to

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-09 Thread Dov Grobgeld
Here's the patch. (Though I still prefer github pull requests.) I'm not sure that all the changes in ewmh.c are really necessary. ~~ The below patch introduces a new style property MwmHintsIgnore. When this property is set, MWM hints requested by the application, are

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-09 Thread Dov Grobgeld
As suggested privately by Elliot S, I created a new style property MwmHintsIgnore that has the desired effect. When set, the Mwm hints that are responsible for erasing the title and the handles, are ignored, and thus the default styles are used. Is there an official fvwm repo for pull requests?

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-08 Thread Michael Großer
Dov Grobgeld wrote: Hello, In recent Gnome applications, e.g. gthumb, evince, eog, there has been a trend to remove the window manager border and title and do these internally in the application. I have been looking for a gnome way of turning off this behavior as it seriously destroys my

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-08 Thread Dov Grobgeld
There are some desktop applications like evince and gThumb that either don't exist in mate or are not up-to-date. I therefore prefer using the latest gnome apps. Meanwhile I have improved my patch to decorations.c (after realizing that the resource name is available through the FvwmWindow

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-08 Thread Thomas Adam
On 8 June 2015 at 10:16, Dov Grobgeld dov.grobg...@gmail.com wrote: Hello, In recent Gnome applications, e.g. gthumb, evince, eog, there has been a trend to remove the window manager border and title and do these internally in the application. I have been looking for a gnome way of turning

Re: FVWM: Force restore of titles and borders on Gnome applications

2015-06-08 Thread Dov Grobgeld
Thanks. I used to use the LD_PRELOAD hack, but it stopped working under Fedora 22. Meanwhile I got a very ugly and hackish workaround by adding the following code to decorations.c in fvwm. Actually this hack just illustrates that the style matching fails, but that it is possible to get fvwm to