A WAG , but you may want to try a hack with XLowerWindow(screen,windowid) in the right KDE/QT Event handler. -David On Tuesday 03 January 2006 07:32, Lubos Lunak wrote: > On Monday 02 January 2006 09:14, rico wrote: > > hi > > > > i want write a workaround for my application for bug > > http://bugs.kde.org/show_bug.cgi?id=36065 > > > > can i prevent my application from being raised even if "raise, activate > > & pass klick"? > > is there an event i can use? > > No, there's no event and it's handled by the window manager. And it's not > that trivial, you can't just disable the raising completely for the whole > window, you want to prevent it only when e.g. doing DND. Implementing that > requires communication between the window manager and the application > (toolkit) about the actions. > > I fact we had discussions about this on the wm spec list > (http://mail.gnome.org/archives/wm-spec-list/), search keywords being > "smarter raising". I even wrote a proof-of-concept implementation of that, > I think KWin even still contains that code, but then the proposal got more > complicated in order to be more generic or whatever and eventually faded > into oblivion. If you're interested in resurrecting the issue I could find > the latest version of the code, since it has already the communication part > implemented (which should be the most difficult part for people who don't > happen to be a WM maintainer :) ) I guess finishing the rest shouldn't be > that difficult. -- David Boosalis Commandscape, Inc. 101 Redwood Shores Parkway 650-598-1300 x 160 david@commandscape.com >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<