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

@@ -1008,7 +1008,7 @@ void WithdrawWindow (ClientData *pCD)
}
}
XDeleteProperty (DISPLAY, pCD->client, wmGD.xa_NET_WM_STATE);
XDeleteProperty (DISPLAY, pCD->client, wmGD.xa__NET_WM_STATE);
XUnmapWindow (DISPLAY, pCD->client);
XReparentWindow (DISPLAY, pCD->client, ROOT_FOR_CLIENT(pCD), x, y);