mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Array of workspaces moved to the workspace object in the global namespace
The variable workspaces, that contains the list of workspaces is moved to the global workspace properties. Now the screen is not needed to know the workspaces. The function getWindowState() doesn't need the WScreen argument.
This commit is contained in:
committed by
Carlos R. Mafra
parent
c610b8d7ce
commit
f0c5073600
@@ -483,6 +483,8 @@ extern struct wmaker_global_variables {
|
||||
|
||||
/* Workspace related */
|
||||
struct {
|
||||
struct WWorkspace **array; /* data for the workspaces */
|
||||
|
||||
int count; /* number of workspaces */
|
||||
int current; /* current workspace number */
|
||||
int last_used; /* last used workspace number */
|
||||
|
||||
Reference in New Issue
Block a user