mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 06:38:05 +01:00
Variable last_workspace moved to workspace object in global namespace
The variable last_workspace, that contains the last used workspace is moved to the global workspace properties. Now the screen is not needed to know the workspace_count. The variable name is changed to workspace.last_used because a similar variable name is also in the WApplication struct.
This commit is contained in:
committed by
Carlos R. Mafra
parent
9e103a46e9
commit
e5ae684d02
@@ -124,8 +124,6 @@ typedef struct _WScreen {
|
||||
struct WWorkspace **workspaces; /* workspace array */
|
||||
|
||||
int current_workspace; /* current workspace number */
|
||||
int last_workspace; /* last used workspace number */
|
||||
|
||||
|
||||
WReservedArea *reservedAreas; /* used to build totalUsableArea */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user