Revert "fix: Restore the default properties of dialog window so that the max and min buttons can be customized"
This reverts commit bf5155f82b
.
Maximize and minimize function hints provided by some applications are
bogus. This in its turn breaks video games that minimize themselves when
they loose input focus.
Ideally, the window manager should not be concerned about Motif hints
provided by NetWM applications as they set the window type.
BUG: 431450
This commit is contained in:
parent
e938a569bc
commit
0dd79ddb4a
1 changed files with 0 additions and 4 deletions
|
@ -1387,8 +1387,6 @@ bool X11Client::isMinimizable() const
|
|||
{
|
||||
if (isSpecialWindow() && !isTransient())
|
||||
return false;
|
||||
if (hasNETSupport() && !m_motif.minimize())
|
||||
return false;
|
||||
if (!rules()->checkMinimize(true))
|
||||
return false;
|
||||
|
||||
|
@ -4123,8 +4121,6 @@ bool X11Client::isMaximizable() const
|
|||
{
|
||||
if (!isResizable() || isToolbar()) // SELI isToolbar() ?
|
||||
return false;
|
||||
if (hasNETSupport() && !m_motif.maximize())
|
||||
return false;
|
||||
if (rules()->checkMaximize(MaximizeRestore) == MaximizeRestore && rules()->checkMaximize(MaximizeFull) != MaximizeRestore)
|
||||
return true;
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue