mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
wmaker: Add new advanced option to ignore decoration changes from clients.
This adds an option (IgnoreDecorationChanges in plist) for windows to ignore any requests from the clients for changing decorations. Since the default state for any window pre-request is to have all decorations visible this basically means that applications cannot hide any of the titlebar, sizing bar, titlebar buttons, etc and any hint that causes these elements to be hidden will be followed by a restoration if this option is set. This is useful for broken clients (e.g. Steam) and clients that force subpar client side decorations. It is basically a per-window setting of the global advanced option to ignore Gtk hints, except that it also applies to non-Gtk applications.
This commit is contained in:
committed by
Carlos R. Mafra
parent
36879de261
commit
569fbff07c
@@ -156,7 +156,11 @@ static const struct {
|
||||
|
||||
{ "NoMiniaturizable", { .no_miniaturizable = 1 }, N_("Do not let it be minimized"),
|
||||
N_("Do not let the window of this application be\n"
|
||||
"minimized.\n") }
|
||||
"minimized.\n") },
|
||||
|
||||
{ "IgnoreDecorationChanges", { .ignore_decoration_changes = 1 }, N_("Ignore decoration changes"),
|
||||
N_("Ignore any request from the application to change\n"
|
||||
"window decorations (like hiding the titlebar).\n") }
|
||||
|
||||
#ifdef XKB_BUTTON_HINT
|
||||
,{ "NoLanguageButton", { .no_language_button = 1 }, N_("Disable language button"),
|
||||
|
||||
Reference in New Issue
Block a user