Re: qjackctl and ubuntu 11.10 unity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/30/2011 04:23 PM, Fons Adriaensen wrote:

> So there is a way to do this (restore workspace) that doesn't depend
> on which WM or DE is being used ? I'd be much interested to know more
> about that.

http://standards.freedesktop.org/wm-spec/latest/ar01s05.html#id2568910
plus XMoveWindow() works with all standard compliant X11 WindowManagers
and Desktop Environments.

check for support: XInternAtom(display, "_NET_WM_DESKTOP", True) != None
get: XGetWindowProperty()
set: XInternAtom(); XSendEvent();

It takes 10-20 lines of code to set the the workspace because you need
to send a Xevent; but searching the web for _NET_WM_DESKTOP and the two
function will point you to example code.

ciao,
robin
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux