prefs: add get_/set_ignore_request_hide_titlebar ()

Enables the possibility to ignore GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED
to prevent hiding the titlebar of applications even if they
requested so.

https://bugzilla.gnome.org/show_bug.cgi?id=678947
This commit is contained in:
Rico Tzschichholz
2012-07-01 19:25:08 +02:00
parent f65b7c59d3
commit 78c966321a
3 changed files with 17 additions and 1 deletions

View File

@@ -131,6 +131,9 @@ void meta_prefs_set_no_tab_popup (gboolean whether);
int meta_prefs_get_draggable_border_width (void);
gboolean meta_prefs_get_ignore_request_hide_titlebar (void);
void meta_prefs_set_ignore_request_hide_titlebar (gboolean whether);
/* XXX FIXME This should be x-macroed, but isn't yet because it would be
* difficult (or perhaps impossible) to add the suffixes using the current
* system. It needs some more thought, perhaps after the current system