Re: [LAU] qjackctl and ubuntu 11.10 unity

From: Robin Gareus <robin@email-addr-hidden>
Date: Fri Dec 30 2011 - 17:58:09 EET

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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Dec 30 20:15:03 2011

This archive was generated by hypermail 2.1.8 : Fri Dec 30 2011 - 20:15:03 EET