----- Rodolfo García Peñas (kix) <k...@kix.es> a écrit :
> 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 last_used_workspace because this
> variable name is also in the WApplication struct.
> 
> Signed-off-by: Rodolfo García Peñas (kix) <k...@kix.es>
> ---
>  [...]
> 
> diff --git a/src/workspace.h b/src/workspace.h
> index 48d05e9..44b0e42 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 last_used_workspace;        /* last used workspace number */
>       WMFont *workspace_name_font;
>  } WWorkspace_info;


...and for this one:
  w_global.workspace.last_used


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to