Displaying 1 result from an estimated 1 matches for "futuredesktop".
2008 Oct 31
0
Desktop-operations in Metacity and Compiz.
....
TEST5: Get the desktop number for a spesific Window ID.
(Requires you to modify the code (in TEST5) and change the window_id= to
a correct value. Use xwininfo command to find out window-id for any
window you like), then recompile and run.
The test code (desk-test.c) is available from
http://www.futuredesktop.org/tmp/desk-test.c
Compile it:
gcc `pkg-config --cflags --libs gtk+-2.0` -lX11 -Wall desk-test.c -o
desk-test
Run it in Metacity, Compiz.
./desk-test
------------------------------
This is output of my run:
TEST1: Get number of desktops.
Number of desktops is: 6
I've kind of made it work b...