Luboš Luňák
a81ef3b07f
If a fullscreen window has a dialog shown, still keep it on tops of other windows.
...
svn path=/trunk/kdebase/kwin/; revision=352347
2004-10-06 14:02:30 +00:00
Luboš Luňák
79d5c97345
Propertly remove _NET_WM_VISIBLE_NAME.
...
CCMAIL: 87475-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=340847
2004-08-25 11:49:30 +00:00
Luboš Luňák
8033d09cce
Dynamically detect changes of Motif hints instead of just reading
...
them once initially. At least MPlayer changes them while mapped.
svn path=/trunk/kdebase/kwin/; revision=333174
2004-07-27 08:35:51 +00:00
Luboš Luňák
e49d03c46f
Even noborder windows may get resizing cursor, e.g. with Alt+RMB.
...
svn path=/trunk/kdebase/kwin/; revision=324586
2004-06-29 11:08:14 +00:00
Luboš Luňák
6060ceb9eb
Keep window role as lowercase, just like wmclass, for rules matching.
...
svn path=/trunk/kdebase/kwin/; revision=324251
2004-06-28 13:47:02 +00:00
Luboš Luňák
094befa1de
Make it possible to have several rules matching one window.
...
svn path=/trunk/kdebase/kwin/; revision=321637
2004-06-18 08:57:42 +00:00
Luboš Luňák
6e44fc30b8
Autosave for window rules.
...
svn path=/trunk/kdebase/kwin/; revision=319665
2004-06-11 15:12:29 +00:00
Luboš Luňák
33b11f1f07
Add a hidden option for the ping timeout before the dialog offering
...
killing the app appears (for #69211 ).
svn path=/trunk/kdebase/kwin/; revision=319659
2004-06-11 15:01:18 +00:00
Luboš Luňák
6e34bc5e8a
KWin rules for making windows noncloseable, and for changing moveresize
...
mode.
svn path=/trunk/kdebase/kwin/; revision=318994
2004-06-09 08:33:53 +00:00
Luboš Luňák
2d336eb6ac
KWin rule for accepting/not accepting input focus.
...
svn path=/trunk/kdebase/kwin/; revision=318992
2004-06-09 08:30:06 +00:00
Luboš Luňák
12ecab6ff3
Always allow minimizing of a window if its mainwindow is minimized.
...
Fixes #81141 .
svn path=/trunk/kdebase/kwin/; revision=318491
2004-06-07 14:58:48 +00:00
Luboš Luňák
03bdeb94b0
KWin rules setting maximizevert, maximizehoriz, minimize, shade, skiptaskbar,
...
skippager, fullscreen, noborder.
svn path=/trunk/kdebase/kwin/; revision=317377
2004-06-03 14:09:45 +00:00
Luboš Luňák
7eadd6463f
KWin rules - position and size.
...
Forcing position doesn't work yet, and forcing size needs more testing.
svn path=/trunk/kdebase/kwin/; revision=316414
2004-05-31 14:25:25 +00:00
Luboš Luňák
a0384cdd8a
KWin rules - matching on window type.
...
svn path=/trunk/kdebase/kwin/; revision=316407
2004-05-31 14:04:49 +00:00
Luboš Luňák
ab8ff46877
Forcing of a specific window type.
...
svn path=/trunk/kdebase/kwin/; revision=315469
2004-05-28 15:04:01 +00:00
Luboš Luňák
c2fa4013a2
WM_CLASS can be matched whole (class+name) or only class
...
Added client machine to matched properties.
svn path=/trunk/kdebase/kwin/; revision=315449
2004-05-28 13:54:20 +00:00
Luboš Luňák
8e09a9bc22
I guess I could finally find some time to work on things for 3.3.
...
Initial work on kwin rules, i.e. #36377 , per window specific settings.
So far only desktop/above/below work, no GUI, and settings from the old
'Save window settings' are ignored for now.
svn path=/trunk/kdebase/kwin/; revision=315446
2004-05-28 13:51:11 +00:00
Luboš Luňák
80624445c9
addTransient() may temporary cause loops, so delay calling of findModal()
...
until they're broken
svn path=/trunk/kdebase/kwin/; revision=315405
2004-05-28 11:33:36 +00:00
Luboš Luňák
6d919922e2
Better implementation for ##36065.
...
svn path=/trunk/kdebase/kwin/; revision=305578
2004-04-22 12:30:57 +00:00
Luboš Luňák
88e699aea2
Fix #66868 .
...
svn path=/trunk/kdebase/kwin/; revision=305173
2004-04-20 15:19:47 +00:00
Luboš Luňák
0b012b18f3
Show sizeAllCursor also when moving a shaded window.
...
svn path=/trunk/kdebase/kwin/; revision=304932
2004-04-19 14:55:29 +00:00
Luboš Luňák
f701524d4e
Experimental support for #36065 (dragging from a window shouldn't raise it).
...
Needs a Qt patch.
svn path=/trunk/kdebase/kwin/; revision=304194
2004-04-16 10:23:42 +00:00
Luboš Luňák
854e9cc05a
With windows that have are listed for the focus stealing prevention
...
workaround, don't make their user timestamp newer than the active window's
one (unless a real user activity takes place in them).
As they are belong to the active application and just fail to say so,
this makes sure they won't prevent that application from getting focus
by having newer timestamp. E.g. Alt+F2, typing URL, kio_uiserver dialog
shows (has workaround), SSL certificate dialog shows (shown by kdesktop),
and it wouldn't get focus, because kio_uiserver's timestamp would be later.
svn path=/trunk/kdebase/kwin/; revision=298357
2004-03-24 19:05:49 +00:00
Luboš Luňák
ff081c36a0
Fix #76394 ,
...
svn path=/trunk/kdebase/kwin/; revision=293762
2004-03-05 14:22:11 +00:00
Luboš Luňák
e329c3d872
Use a separate InputOnly window covering whole screen because it
...
reportedly improves move/resize performance on some systems
for some reason which I fail to see, but oh well.
(http://lists.kde.org/?t=107302193400001&r=1&w=2 )
svn path=/trunk/kdebase/kwin/; revision=293755
2004-03-05 13:39:27 +00:00
Luboš Luňák
648fb3ed22
Avoid minimize animation when a newly managed window requests to be
...
initially minimized.
svn path=/trunk/kdebase/kwin/; revision=292900
2004-03-01 18:00:07 +00:00
Luboš Luňák
aee628e008
Fix #76408 - do range checking on _NET_WM_DESKTOP values.
...
CCMAIL: 76408-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=292889
2004-03-01 17:20:19 +00:00
Luboš Luňák
96cc95943a
Fix #72074 - when trying to close a window, update user timestamp
...
on the whole group, so that the possible 'close?' dialog has a recent
timestamp even if the window about to be closed wasn't active.
svn path=/trunk/kdebase/kwin/; revision=291859
2004-02-27 13:35:09 +00:00
Luboš Luňák
3abd0ebdf0
Oops. Qt3.2 used to set resource class in WM_CLASS all lowercase, but
...
Qt3.3 capitalizes it (part of my own patch IIRC, hehe :-/), so all
the workarounds for specific apps no longer work -> force resource class
to be always lowercase.
svn path=/trunk/kdebase/kwin/; revision=290521
2004-02-23 12:47:28 +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
81a1feae6d
Finally the proper way of doing r1.395.
...
svn path=/trunk/kdebase/kwin/; revision=286457
2004-02-09 13:33:57 +00:00
Luboš Luňák
0a92241212
Don't try to find unique window name for special windows. It looks stupid
...
to have main icemon window with title 'icemon <2>' just because 'icemon'
was taken by topmenu.
svn path=/trunk/kdebase/kwin/; revision=283828
2004-01-30 15:24:46 +00:00
Luboš Luňák
3f46071ff4
The mysterious window type Override strikes back, this time breaking
...
stacking order for Qt-3.2.x fullscreen windows not patched to use
NETWM fullscreens. Tested by Laurent Montel.
svn path=/trunk/kdebase/kwin/; revision=281817
2004-01-22 18:10:52 +00:00
Luboš Luňák
0a65d69e80
Avoid the warning when it's the same client activated twice using
...
the same timestamp (e.g. when clicking on the kgpg systray icon).
svn path=/trunk/kdebase/kwin/; revision=279888
2004-01-15 12:18:27 +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
2d272e0a87
In r1.395, I forgot to unmap the wrapper window too. As it has no background
...
set, it remembers the contents of the unmapped client window, therefore
the ugly effect actually stayed.
svn path=/trunk/kdebase/kwin/; revision=273891
2003-12-19 17:05:50 +00:00
Luboš Luňák
569224d117
Replace the temporary MousePosition enum naming with something that
...
doesn't look so silly and doesn't conflict with Qt.
svn path=/trunk/kdebase/kwin/; revision=273144
2003-12-15 15:10:17 +00:00
Luboš Luňák
c26c55787f
Remove some obsolete comments.
...
svn path=/trunk/kdebase/kwin/; revision=273143
2003-12-15 14:44:17 +00:00
Luboš Luňák
55f1a65613
More debug functions.
...
svn path=/trunk/kdebase/kwin/; revision=272429
2003-12-11 09:09:05 +00:00
Luboš Luňák
af9c3b8e85
Fix #66065 - OpenOffice.org claims that its utility windows are dialogs
...
-> it's better to treat no window from OO.org as dialog :-/.
svn path=/trunk/kdebase/kwin/; revision=272143
2003-12-09 13:58:51 +00:00
Luboš Luňák
0ba12a0837
Perform whole new window managing with X server grab, in order to prevent
...
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().
svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
1a852fe8dc
When unmapping, unmap from outside(frame->wrapper->window), this prevents
...
frame from getting EnterNotify after unmapping the window.
svn path=/trunk/kdebase/kwin/; revision=270953
2003-12-03 12:24:56 +00:00
Luboš Luňák
358e648501
When releasing a window, hide it before removing decoration, otherwise
...
it would be moved, causing ugly visual effect.
svn path=/trunk/kdebase/kwin/; revision=269901
2003-11-27 14:54:16 +00:00
Luboš Luňák
693d7d77c1
People have strange ideas ... filter out unprintable characters from window
...
captions.
CCMAIL: 68882-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=269522
2003-11-25 14:55:15 +00:00
Luboš Luňák
2c3f9c4069
Some attempts to fix aspect ratios breaking resizing.
...
When resizing windows manually (Client::handleMoveResize()) still doesn't work.
svn path=/trunk/kdebase/kwin/; revision=269296
2003-11-24 14:26:11 +00:00
Luboš Luňák
2553476f53
Don't require both mouse and keyboard grab for move/resize,
...
one of them is enough. Allows resising of the configure shortcut
dialog.
svn path=/trunk/kdebase/kwin/; revision=269294
2003-11-24 14:25:33 +00:00
Luboš Luňák
528b0ed6d7
Fix #65279 - make sure windows hidden by apps are really hidden.
...
The problem was visible even with { widget.show(); widget.hide(); }.
svn path=/trunk/kdebase/kwin/; revision=268645
2003-11-21 16:46:57 +00:00
Luboš Luňák
e243bdd43c
Open Konqueror at kde.org, open another one at kde.org, close the second
...
one, open Konqueror at dot.kde.org -> it would still have the old caption
in taskbar due to the old _NET_WM_VISIBLE_NAME property value -> fixed.
svn path=/trunk/kdebase/kwin/; revision=266857
2003-11-13 17:51:11 +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