You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
The behavior I expect is when the Undecorate half-maximized windows option is checked, the title bar should always be undecorated. But on my Gnome 3.22.2, the plugin do not work as my expectation.
So I try to read the source code in extension.js, and find three facts:
The function setHideTitlebar could not achieve this goal, so I should uncheck the option of 'use alternate method for hiding the titlebar'.
Gnome adapt to new size-change API, so the 'maximize' and 'unmaximize' event are canceled that we need to change the API to 'size-change'.
The variable max in function shouldBeUndecorated make the return value always be false.
Here is my extension.js.
Thank you for your kind reply.
The text was updated successfully, but these errors were encountered:
The behavior I expect is when the Undecorate half-maximized windows option is checked, the title bar should always be undecorated. But on my Gnome 3.22.2, the plugin do not work as my expectation.
So I try to read the source code in
extension.js
, and find three facts:setHideTitlebar
could not achieve this goal, so I should uncheck the option of 'use alternate method for hiding the titlebar'.max
in functionshouldBeUndecorated
make the return value always be false.Here is my extension.js.
Thank you for your kind reply.
The text was updated successfully, but these errors were encountered: