How to set focus to another application?

shaheed srhaque at iee.org
Sat Sep 27 20:29:39 BST 2003


Simon,

> #include <netwm.h>
>
> NETRootInfo( qt_xdisplay(), 0 ).setActiveWindow( window );

Tried this suggestion, it did not seem to make any real difference. Is it 
possible that this is going wrong because it is being called from the 
constructor of my application? (This is just a test scenario).

I'll try moving the code to somewhere later and report back.

Thanks, Shaheed





More information about the kde-core-devel mailing list