[PATCH] focus stealing prevention DND workaround for #69519

Lubos Lunak l.lunak at suse.cz
Wed Jan 21 10:16:06 GMT 2004


 I'd like to commit and backport the attached patch for the DND problems 
described in #59519 (in the original report, and in comment #17). Qt patch 
has been already sent, but that's too late for 3.2.0, and I'd like to avoid 
all problems with focus stealing prevention that couldn't be even handled by 
adding entries to IgnoreFocusStealingClasses= in kwinrc. The patch basically 
intercepts events for XDND and does what Qt with the sent patch will do, plus 
it tries to detect the old broken way of sending XDND timestamp as Qt-3.2.x 
does, and handle that too.

Lubos Lunak
KDE developer
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kapplication.cpp.patch
Type: text/x-diff
Size: 3135 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040121/4219ad3e/attachment.patch>

More information about the kde-core-devel mailing list