dtwm: Respond to the following EWMH:

_NET_WM_STATE_MAXIMIZED_VERT
      _NET_WM_STATE_MAXIMIZED_HORZ

A window is maximized if both _NET_WM_STATE_MAXIMIZED_VERT and
_NET_WM_STATE_MAXIMIZED_HORZ are set.
This commit is contained in:
Liang Chang
2021-10-31 22:18:50 +08:00
parent 08ebba5225
commit c38a5a8b71
8 changed files with 316 additions and 319 deletions

View File

@@ -1934,12 +1934,6 @@ void ProcessNewConfiguration (ClientData *pCD, int x, int y, unsigned int width,
newMax = True;
}
if (pCD->decorUpdated)
{
changedValues = CWWidth | CWHeight;
pCD->decorUpdated = False;
}
/*
* If the configuration has changed, update client data
*