Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
KWin::setState
Hi!
I found a problem with making any window topmost. I would like to keep one window above ohters
I'm trying to use
KWin::setState( myWindow, NET::KeepAbove);
but the problem is that myWindow is XWindow id(X11+fltk), not an WId (qt+kde)
how can I get WId of my XWindow?
Andrzej Kwecka
Andrzej Kwecka
If your program isn't using KDE, you won't be using the KWin class.
Of course you can do the same X11 communication without KDE code using just Xlib calls, or maybe your toolkit has some wrappers as well.
The question on how to get a window id for a toolkit window is definitely a question for a toolkit specific forum or mailinglist.
Cheers,
_
Qt/KDE Developer
Debian User