----- Rodolfo García Peñas (kix) <[email protected]> a écrit : > The variable current_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. > > Signed-off-by: Rodolfo García Peñas (kix) <[email protected]> > --- > [...] > > diff --git a/src/workspace.h b/src/workspace.h > index 44b0e42..13bb02b 100644 > --- a/src/workspace.h > +++ b/src/workspace.h > @@ -31,6 +31,7 @@ typedef struct WWorkspace { > typedef struct WWorkspace_info { > /* Workspace stuff */ > int workspace_count; /* number of workspaces */ > + int current_workspace; /* current workspace number */ > int last_used_workspace; /* last used workspace number */ > WMFont *workspace_name_font; > } WWorkspace_info;
...and: w_global.workspace.current -- To unsubscribe, send mail to [email protected].
