[Development] [Interest] qmlx11 plugin

Rutledge Shawn Shawn.Rutledge at digia.com
Wed Feb 5 15:59:23 CET 2014


On 5 Feb 2014, at 11:16 AM, Damian Ivanov wrote:

> Hi,
> 
> I made a c++ QML plugin  for X11 functions like windowlist, active
> window, setting, getting icon of apps, names, id and setting netwm
> properties. Source code is here
> https://build.opensuse.org/package/show/home:damianator:qmlx11/qmlx11
> 
> Right now you can do all the stuff mentioned already, but the
> windowList and the window
> properties are not updated automatically via XEvent's instead
> hackishly I have a Timer reloading
> the active window and the windowList every few seconds.
> 
> Could anyone interested assist me in properly receiving the XEvent's
> so the qmlx11 plugin
> properly emits signals according to the received XEvent's (actually
> that's not the problem, but I couldn't manage to receive the XEvents
> at all).

Personally I wish we had some of that as QPA APIs (at least window list and window icons), but of course it assumes that we can do the same thing on the other platforms.  In my experience, the window list is tricky stuff on X11 though, because there are so many windows you don't normally want to show in a task list.


More information about the Development mailing list