franglais125 / no-title-bar

Integrates maximized windows with the top panel
https://extensions.gnome.org/extension/1267/no-title-bar/
GNU General Public License v2.0
278 stars 40 forks source link

Request to use _MOTIF_WM_HINTS since _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED is removed #113

Open shemgp opened 5 years ago

shemgp commented 5 years ago

Hello,

In GNOME 3.32 _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED is gone: https://gitlab.gnome.org/GNOME/mutter/merge_requests/221

They say that extensions should use _MOTIF_WM_HINTS instead.

Could you update this nice extension to use that instead?

Thank you.

jonian commented 5 years ago

Hi @franglais125. I have fixed this issue in my extension (unite) and this is the final solution: https://github.com/hardpixel/unite-shell/blob/master/unite%40hardpixel.eu/modules/windowDecoration.js#L86

More info on possible problems using _MOTIF_WM_HINTS: https://gitlab.gnome.org/GNOME/mutter/merge_requests/221#note_461106

andrewfader commented 5 years ago

If we don't want to use unite-shell what is the solution for maximal/no-title-bar/pixel-saver/etc?