Commit graph

221 commits

Author SHA1 Message Date
Luboš Luňák
f4ee84d509 When activating a modal dialog instead of a mainwindow, and the mainwindow
is on all desktops, don't force the modal dialog to be on all desktops too.

svn path=/trunk/kdebase/kwin/; revision=289318
2004-02-19 09:52:51 +00:00
Luboš Luňák
4dabc236c8 Use debug area.
svn path=/trunk/kdebase/kwin/; revision=288752
2004-02-17 17:17:06 +00:00
Luboš Luňák
ea87eea812 On auto unshading, don't keep focus on the unshaded window, revert
focus to the previously active window.
CCMAIL: 75302-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=288483
2004-02-16 15:19:39 +00:00
Luboš Luňák
0c051481e9 Fix #74063 - if there's a restacking operation, cancel pending autoraise
for the window.

svn path=/trunk/kdebase/kwin/; revision=286801
2004-02-10 14:46:03 +00:00
Luboš Luňák
39e48b3b8d #48786 (comments #7 and later) - focus stealing prevention doesn't work
well with unreasonable focus policies -> disabled.

svn path=/trunk/kdebase/kwin/; revision=284526
2004-02-02 17:02:11 +00:00
Luboš Luňák
c1d1b6289f Make sure there aren't two windows given focus with the same X timestamp,
because if one timestamp is reused for activating window A and then
immediatelly window B, and A will want to set focus to one
of its subwindows after receiving WM_TAKE_FOCUS, and will lag a bit,
it will actually set the focus after B, and will win. Fixes #71704.

If somebody still gets the warning, I'd be interested in the backtrace.

svn path=/trunk/kdebase/kwin/; revision=278208
2004-01-09 17:35:21 +00:00
Luboš Luňák
581fa5f585 Fix focus stealing prevention during kontact startup, with tips dialog
enabled.

svn path=/trunk/kdebase/kwin/; revision=277883
2004-01-08 16:18:07 +00:00
Luboš Luňák
f4b4647fc3 kwinrc option for listing applications for which focus stealing prevention
should not be used. I have a strange feeling it will come handy :-/.

svn path=/trunk/kdebase/kwin/; revision=273127
2003-12-15 13:33:29 +00:00
Luboš Luňák
0b8ee9a5e4 When comparing window requesting activation (i.e. focus stealing prevention),
don't use Workspace::activeClient() as the active client, but instead
the most recent should_get_focus client - that may make a difference
if a window was just activated, but the matching FocusIn event that'll
make it to be activeClient() wasn't yet processes. Visible with apps
that show several windows at the same time after startup.

svn path=/trunk/kdebase/kwin/; revision=270831
2003-12-02 17:52:10 +00:00
Luboš Luňák
0654c0d3b7 Don't compare with itself when searching for other windows belonging to the app.
svn path=/trunk/kdebase/kwin/; revision=269295
2003-11-24 14:25:47 +00:00
Luboš Luňák
b878ad84d9 Make sure that when calling Workspace::clientHidden(), the client is really
hidden, otherwise it could attempt to restore the focus back to this client.
CCMAIL: 66926-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=263383
2003-10-31 09:45:14 +00:00
Luboš Luňák
984c76f0c1 More shade related changes.
svn path=/trunk/kdebase/kwin/; revision=257727
2003-10-10 13:00:26 +00:00
Luboš Luňák
d45a853dd4 Fixes related to shown shaded windows.
svn path=/trunk/kdebase/kwin/; revision=257726
2003-10-10 13:00:01 +00:00
Luboš Luňák
2981785b56 Support for UrgencyHint - such windows are demanding attention when inactive.
svn path=/trunk/kdebase/kwin/; revision=257691
2003-10-10 11:23:42 +00:00
Luboš Luňák
1d87270bb3 Make a difference between fake session data ('save window settings')
and real SM session data.

svn path=/trunk/kdebase/kwin/; revision=256757
2003-10-06 14:40:19 +00:00
Luboš Luňák
90281645bf As KPassivePopup shows, things can be annoying even if they don't steal
the focus and just are there. Therefore, as a part of focus stealing
prevention, let's also block raising of windows. Also added special
request for Kicker, as taskbar requests for raising should be obeyed.
(Not that this does anything to KPassivePopup.)

svn path=/trunk/kdebase/kicker/taskmanager/; revision=255070
2003-09-30 12:49:23 +00:00
Luboš Luňák
a3767f483a Fix timestamp before restoring focus - FocusIn event has no timestamp :(.
svn path=/trunk/kdebase/kwin/; revision=254891
2003-09-29 15:56:07 +00:00
Luboš Luňák
720b988790 Configurable focus stealing prevention aggressivity.
svn path=/trunk/kdebase/kwin/; revision=254817
2003-09-29 11:23:14 +00:00
Luboš Luňák
8261663d5d Use kdebug area, and make the messages less cryptic.
svn path=/trunk/kdebase/kwin/; revision=253819
2003-09-25 10:42:11 +00:00
Luboš Luňák
12ec2718cd Remove hack for splashscreens and focus stealing. This will have to be
done differently.

svn path=/trunk/kdebase/kwin/; revision=252348
2003-09-19 11:12:41 +00:00
Luboš Luňák
10f405c73d Merging kwin core from kwin_iii back to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251608
2003-09-16 19:28:03 +00:00