1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-30 02:12:30 +01:00

Make window maximize state persistent

Window maximize state is not persistent between windowmaker sessions.
This patch is updating the save and restore workspace state functions
to update the state in the WMSTATE file.
This commit is contained in:
David Maciejak
2023-02-21 21:40:59 +08:00
committed by Carlos R. Mafra
parent 2fb9308a67
commit f1fef40f0d
3 changed files with 18 additions and 4 deletions

View File

@@ -309,9 +309,9 @@ typedef struct WWindow {
typedef struct WSavedState {
int workspace;
int miniaturized;
int maximized;
int shaded;
int hidden;
int maximized;
int x; /* original geometry of the */
int y; /* window if it's maximized */
unsigned int w;