Re: Getting workspace number?

2005-08-18 Thread Jan-Marek Glogowski
Hi > I would like to write a command line application that outputs the > current workspace (under GNOME, I had someting in WindowMaker, but this > does not work in GNOME). I have tried the following: ... All "workspace" stuff depends on the window manager, so I guess for GNOME you have to check t

Getting workspace number?

2005-08-17 Thread Jan Struyf
Dear All, I would like to write a command line application that outputs the current workspace (under GNOME, I had someting in WindowMaker, but this does not work in GNOME). I have tried the following: int main(int argc, char** argv) { gtk_init(&argc, &argv); WnckScreen *scree