Commit graph

1492 commits

Author SHA1 Message Date
Luboš Luňák
45e2d67eb2 Make hasClient() check NET::Desktop windows too.
svn path=/trunk/kdebase/kwin/; revision=198738
2003-01-10 12:36:17 +00:00
Luboš Luňák
86cccebde6 Don't lower topmenu when lowering a window.
svn path=/trunk/kdebase/kwin/; revision=198737
2003-01-10 12:33:09 +00:00
Luboš Luňák
05063a30f5 Above -> KeepAbove
svn path=/trunk/kdebase/kwin/; revision=198736
2003-01-10 12:31:57 +00:00
Karol Szwed
4577f0f474 Add a checkbox to enable/disable the geometry tip, making it _OFF_ by default,
as was planned. Also, it should never crash now.

Hopefully this will make pmax a bit happier ;-)

svn path=/trunk/kdebase/kwin/; revision=198711
2003-01-10 10:54:57 +00:00
George Staikos
b35e581f69 This GeometryTip is not acceptable.
- Make it "opt-in" configurable, not default to on
   - I have had instances of the widget being stuck on the screen and eventually
     causing a kwin crash
   - It conflicts nicely with konsole's resize widget

svn path=/trunk/kdebase/kwin/; revision=198652
2003-01-10 04:03:57 +00:00
Reza Arbab
c83fb9c2e2 Changed to avoid initialization of static const variables in class definition.
svn path=/trunk/kdebase/kwin/; revision=198519
2003-01-09 15:50:11 +00:00
Matthias Kretz
c273b4fa15 includemocs
svn path=/trunk/kdebase/kwin/; revision=198278
2003-01-08 17:09:24 +00:00
Luboš Luňák
09e06d30c1 Try to have the grab for clickraise only when necessary (VisibilityNotify
based), and clean up the grab handling a bit.

svn path=/trunk/kdebase/kwin/; revision=198017
2003-01-07 14:26:58 +00:00
Luboš Luňák
eca86b5a53 Partially revert r1.333 and generate suitable maximize restore geometry
and position again.

svn path=/trunk/kdebase/kwin/; revision=198015
2003-01-07 14:23:37 +00:00
Karol Szwed
235b534b26 Add a window geometry tip when users move/resize a window. Currently it is
enabled by default, but will be made configurable soon. There is a known
issue with an incorrect geometry shown with konsole, but that's its fault,
and I'll get to that shortly (xterm does the right thing).

Disclaimer:
If it jams - force it. If it breaks, it probably needed replacing anyway.

svn path=/trunk/kdebase/kwin/; revision=197992
2003-01-07 12:42:32 +00:00
Luboš Luňák
63fbbb6f83 Just in case.
svn path=/trunk/kdebase/kwin/; revision=197782
2003-01-06 13:16:03 +00:00
Luboš Luňák
a541e25721 Remove the state flags from the window on withdraw too, and do so only
when really withdrawing the window.

svn path=/trunk/kdebase/kwin/; revision=197778
2003-01-06 13:07:30 +00:00
Luboš Luňák
70784e0433 Bah, one screws up KWin a bit for the weekend, and there are already
3 bugreports for it.
With KStartupInfo, I unintentionally introduced KWinModule in KWin,
and after the kdecore/netwm* cleanup, it started getting events,
and doing XSelectInput() on clients :(.

svn path=/trunk/kdebase/kwin/; revision=197771
2003-01-06 12:28:28 +00:00
Luboš Luňák
aa007a7b63 Enable --enable-final again, and also get rid of that ugly select() hack
that apparently came from Qt - we don't support every stupid Nullix-0.1
out there.

svn path=/trunk/kdebase/kwin/; revision=197769
2003-01-06 12:19:14 +00:00
Ralf Nolden
ed2c5e8954 http://home.iprimus.com.au/bzyk/Torquay-043.jpg <-- visit kszwed there
svn path=/trunk/kdebase/kwin/; revision=197392
2003-01-04 14:42:41 +00:00
Luboš Luňák
c0b5ad09d0 List all supported features (up to now).
svn path=/trunk/kdebase/kwin/; revision=197213
2003-01-03 17:01:52 +00:00
Luboš Luňák
f87b67394a Fix placement policies - the recent change of semantics of Client::desk
broke it.

svn path=/trunk/kdebase/kwin/; revision=197165
2003-01-03 12:53:26 +00:00
Hans Petter Bieker
3bc5e13c20 i18n() returns QString.
svn path=/trunk/kdebase/kwin/; revision=197076
2003-01-02 23:41:27 +00:00
Luboš Luňák
67b77176dd I missed one propagateClients() call.
svn path=/trunk/kdebase/kwin/; revision=197007
2003-01-02 17:09:00 +00:00
Luboš Luňák
a4b6ba8032 Save some duplicated code.
svn path=/trunk/kdebase/kwin/; revision=197003
2003-01-02 16:57:08 +00:00
Luboš Luňák
a3bd5ae078 Try to fix #32969 by keeping the mouse grab even for active windows. People
not wanting this can disable click raise. Let's see if it breaks something.
(Related to this: kwin/client.cpp r1.309,r1.308,r1.305,r1.304,r1.303.)
TODO: the grab could be released at least as long as the window is topmost
and active

svn path=/trunk/kdebase/kwin/; revision=196998
2003-01-02 16:36:00 +00:00
Luboš Luňák
73e6f75ab7 _NET_NUMBER_OF_DESKTOPS is ok now
svn path=/trunk/kdebase/kwin/; revision=196975
2003-01-02 14:41:22 +00:00
Luboš Luňák
68eb8a80fb _NET_CLIENT_LIST is now ok, except for small stupid detail.
svn path=/trunk/kdebase/kwin/; revision=196944
2003-01-02 13:00:52 +00:00
Luboš Luňák
75163cb4df Remove some completed things.
svn path=/trunk/kdebase/kwin/; revision=196924
2003-01-02 11:54:26 +00:00
Laurent Montel
49094ad092 Fix header
svn path=/trunk/kdebase/kwin/; revision=196779
2003-01-01 11:38:06 +00:00
Luboš Luňák
adb3b0c2ff update
svn path=/trunk/kdebase/kwin/; revision=196535
2002-12-30 20:39:11 +00:00
Luboš Luňák
5100e63107 Client::is_sticky_ is dead and would be gone, if it weren't for BIC.
No need to this duplication of Client::desk == NET::OnAllDesktops.
It's simple, desk == NET::OnAllDesktops - sticky
             desk == 0 - not mapped yet
             desk something else - the desktop the window is on

svn path=/trunk/kdebase/kwin/; revision=196529
2002-12-30 20:34:38 +00:00
Luboš Luňák
fc34663134 Fix #52376. Maybe.
svn path=/trunk/kdebase/kwin/; revision=196526
2002-12-30 20:21:50 +00:00
Luboš Luňák
9e3efc9cd9 "implement" NET::Sticky
and ignore client requests to change NET::Hidden

svn path=/trunk/kdebase/kwin/; revision=196522
2002-12-30 20:08:31 +00:00
Karol Szwed
e8af4224b1 Another update.
svn path=/trunk/kdebase/kwin/; revision=196449
2002-12-30 10:10:14 +00:00
Karol Szwed
4d13173de5 Update
svn path=/trunk/kdebase/kwin/; revision=196440
2002-12-30 08:16:23 +00:00
Luboš Luňák
318cd9b434 Update.
svn path=/trunk/kdebase/kwin/; revision=196357
2002-12-29 18:49:43 +00:00
Luboš Luňák
09b8f2b184 Client::is_sticky will go soon, as it may become inconsistent with
Client::desk . But this fixes the problem for now.

svn path=/trunk/kdebase/kwin/; revision=196351
2002-12-29 18:41:54 +00:00
Luboš Luňák
7d89180191 <= numberOfDesktops().
svn path=/trunk/kdebase/kwin/; revision=196350
2002-12-29 18:39:01 +00:00
Karol Szwed
f501659886 Update _NET_WM_STATE hints.
svn path=/trunk/kdebase/kwin/; revision=196281
2002-12-29 12:40:11 +00:00
Ryan Cumming
a80aa9abc7 Compile
svn path=/trunk/kdebase/kwin/; revision=196087
2002-12-28 00:25:19 +00:00
Harri Porten
7cd5b4570e added some const suggestions for KDE 4.0
svn path=/trunk/kdebase/kwin/; revision=196082
2002-12-27 22:57:06 +00:00
Luboš Luňák
c33825cc0f Update.
svn path=/trunk/kdebase/kwin/; revision=196075
2002-12-27 22:33:43 +00:00
Luboš Luňák
92396f254d Work areas (_NET_WORKAREA) are actually to be supposed per-desktop.
svn path=/trunk/kdebase/kwin/; revision=196073
2002-12-27 22:32:17 +00:00
Luboš Luňák
5ad28f6c67 Docks are not required to be sticky, and Kicker etc. set it, so let's not
force it.

svn path=/trunk/kdebase/kwin/; revision=196071
2002-12-27 22:29:22 +00:00
Luboš Luňák
249d025c75 Set the _NET_DESKTOP_GEOMETRY property.
svn path=/trunk/kdebase/kwin/; revision=196068
2002-12-27 22:26:30 +00:00
Luboš Luňák
13620c1952 Update necesary _NET_WM_ properties on the desktop count change.
Also save the desktop names only to kwinrc, there's no reason for them
to be in kdeglobals.

svn path=/trunk/kdebase/kwin/; revision=196064
2002-12-27 22:22:50 +00:00
Luboš Luňák
30a6b25432 Make sure _NET_ACTIVE_WINDOW is always up to date, and set to None
if there's no active window.

svn path=/trunk/kdebase/kwin/; revision=196063
2002-12-27 22:18:10 +00:00
Luboš Luňák
a396827dee I wonder if this makes a real difference.
svn path=/trunk/kdebase/kwin/; revision=194589
2002-12-18 08:48:11 +00:00
Luboš Luňák
b743a8297d Just make sure the values are read sanely from the config.
svn path=/trunk/kdebase/kwin/; revision=194510
2002-12-17 20:20:31 +00:00
Luboš Luňák
c595302a1f Don't let normal windows appear out of workarea, even if they're stupid
and ask for it.

svn path=/trunk/kdebase/kwin/; revision=194509
2002-12-17 20:16:04 +00:00
Luboš Luňák
b5e356620a Fix #15016.
svn path=/trunk/kdebase/kwin/; revision=194508
2002-12-17 20:11:59 +00:00
Luboš Luňák
7b3f3bdd3b CCMAIL: klas.kalass@gmx.de
You managed to backport a nice crash to both 3.1 and 3.0 branches. It would
be nice if you posted your patches for review to kwin@kde.org next time,
especially when backporting.

svn path=/trunk/kdebase/kwin/; revision=194498
2002-12-17 19:27:19 +00:00
Luboš Luňák
336667733e keyboard shortcuts for always-on-top & on-all-desktops
(#49083).

svn path=/trunk/kdebase/kwin/; revision=194462
2002-12-17 16:09:08 +00:00
Luboš Luňák
f8941c9e5a Not maybe, but for sure. Fix #51954.
svn path=/trunk/kdebase/kwin/; revision=194426
2002-12-17 12:14:38 +00:00