Making a application sticky programatically

Kevin Krammer kevin.krammer at gmx.at
Thu Jul 10 09:29:24 BST 2003


On Thursday 10 July 2003 02:59, Rob Snow wrote:
> I'm not sure if this is the right list to be asking this, please excuse
> me if not.  I'm trying to figure out how to make an application sticky
> when it is invoked with a --sticky commandline option.  Can anyone
> point me in the right direction?  I've come across some info on setting
> hints to kwin, however, they aren't very helpful with an actual
> implementation.

Haven't tried it, but it should work like this:

// assuming "this" is a QWidget
KWin::setState(this->winId(), NET::Sticky);

Anyway, I recommend asking developer questions on the developer list 
kde-devel

Cheers,
Kevin

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer at gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde/attachments/20030710/b8e5a111/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list