Well, you theoretically could call kwin --version and compare version 
numbers. (This assumes that the kwin used in the one on $PATH.) Or maybe 
you could try calling the dbus API (assuming that KWin is launched properly 
within a dbus session). Both looks like overengineering to me, as it is 
rather designed to work with a specific narrow range of KWin versions.

BTW, advantage of non-checking the KDE version might come with KDE 6, which 
would also break the condition :)

So, should I make a pull request for this?

Regards,
Vít Šesták 'v6ak'

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-devel@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/5269ce8b-e658-4891-b9d2-f1635bac8b46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to