gecko-dev/browser/base
Martin Stransky 53be695239 Bug 1490344 - [Linux/Gtk] Enable hidden system titlebar by default on Gnome, r=dao
This patch implements -moz-gtk-csd-hide-titlebar-by-default media query
to check if the system titlebar should be disabled by default on Linux systems
(it's already disabled on Window/Mac).

It also removes explicit definition of browser.tabs.drawInTitlebar preference on Linux.
When browser.tabs.drawInTitlebar is missing the -moz-gtk-csd-hide-titlebar-by-default
is used to obtain the titlebar state. When browser.tabs.drawInTitlebar is set
in about:config or by Customize menu, the user peference is used instead of the default.

It also fixes a -moz-gtk-csd-available media query,
it was always true regardless the actual system setting.

Differential Revision: https://phabricator.services.mozilla.com/D16036

--HG--
extra : moz-landing-system : lando
2019-01-17 12:44:49 +00:00
..
content Bug 1490344 - [Linux/Gtk] Enable hidden system titlebar by default on Gnome, r=dao 2019-01-17 12:44:49 +00:00
jar.mn Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika 2018-10-16 12:47:36 +00:00
moz.build Bug 1506504: Add/fix keyboard behaviour for browser toolbar buttons which open popups. r=Gijs 2018-12-20 11:33:32 +00:00