WindowMaker: New function wGetWorkspaceNumber
commitad373ef0ddb27802237df191d039ceeb8e14b35d
authorRodolfo García Peñas (kix) <kix@kix.es>
Sat, 14 Apr 2012 09:53:43 +0000 (14 11:53 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 16 Apr 2012 02:15:20 +0000 (15 23:15 -0300)
treea4d798d17753fd4bc0edfba471cfe5f964b35c14
parent761fd37e5172b245d98a3cc2c459b7e559d0bc02
WindowMaker: New function wGetWorkspaceNumber

The new function wGetWorkspaceNumber returns the workspace number
for a given workspace name.

The code of this function is already used in session.c and wdefaults.c
and now is moved to workspace.c

In wSessionRestoreLastWorkspace the char value is checked before
calling the function, because without string, the function don't do
nothing.
src/session.c
src/wdefaults.c
src/workspace.c
src/workspace.h