Commit graph

315 commits

Author SHA1 Message Date
Robin Harold Burchell
f585e4e1d9 A number of small warning fixes (bracketing, etc) to help pick up real problems when working.
svn path=/trunk/KDE/kdebase/workspace/; revision=1022531
2009-09-11 23:44:29 +00:00
Luboš Luňák
0883f7eda0 Remove aborting if there's any unknown X error during kwin
startup. It dates so back in history that the KWM commit
message is completely useless and I see no point in that,
it can just needlessly make kwin abort because of a harmless
X error e.g. in libGL. Real problems should be handled
explicitly wherever they happen.


svn path=/trunk/KDE/kdebase/workspace/; revision=1007362
2009-08-05 16:19:00 +00:00
Dirk Mueller
b466509093 be more precise which kwin variant crashed
svn path=/trunk/KDE/kdebase/workspace/; revision=980439
2009-06-11 18:53:41 +00:00
Michael Pyne
a97146ccda Do not let KWin close just because all open windows have been closed.
svn path=/trunk/KDE/kdebase/workspace/; revision=977968
2009-06-05 18:47:01 +00:00
Luboš Luňák
322dd7abe9 Don't log the X error handler message in non-debug builds,
it's getting tiring seeing users refer to these "errors".


svn path=/trunk/KDE/kdebase/workspace/; revision=958739
2009-04-24 14:45:13 +00:00
Andreas Hartmetz
6cd06aaef7 Remove command-line based hack and version check for graphics system setting, use the new API in 4.5.0 instead. Thank you Trolls.
svn path=/trunk/KDE/kdebase/workspace/; revision=953375
2009-04-13 20:31:03 +00:00
Luboš Luňák
6b7e972d87 Use just kWarning() for X errors, so that users don't report various
"errors".


svn path=/trunk/KDE/kdebase/workspace/; revision=948236
2009-04-02 15:57:54 +00:00
Andreas Hartmetz
c7092239e5 Do not add arguments that Qt may not understand. I missed that we don't
actually require current qt-copy (which is more or less 4.5) in trunk.
Quick & dirty runtime Qt version detection copied from Thiago's code in
kcmdlineargs.cpp.

svn path=/trunk/KDE/kdebase/workspace/; revision=926646
2009-02-15 22:06:09 +00:00
Andreas Hartmetz
e63cc90102 force KWin to use the native graphicssystem
svn path=/trunk/KDE/kdebase/workspace/; revision=926631
2009-02-15 21:43:57 +00:00
Luboš Luňák
7249ca2cfb Do self-check immediatelly during compositing setup only when it's not KWin startup
at the same time (in other words, only when activating compositing using the kcm).
Currently selfcheck causes bad flicker (due to X mapping the overlay window
for too long?) which looks bad during KDE startup. With this patch, KDE startup
is without any flicker.


svn path=/trunk/KDE/kdebase/workspace/; revision=923842
2009-02-09 14:51:11 +00:00
Luboš Luňák
14a5fb8026 Try to have initting set during Workspace setup again, will be also needed
for the following commit.
If there will be any problems during KWin startup because of this please yell.


svn path=/trunk/KDE/kdebase/workspace/; revision=923838
2009-02-09 14:39:52 +00:00
Lucas Murray
04d84ae446 SVN_SILENT Standardized coding style on main.* and manage.cpp
svn path=/trunk/KDE/kdebase/workspace/; revision=898632
2008-12-18 15:01:25 +00:00
Lucas Murray
2106401f7d Allow users to manually override indirect OpenGL by setting
KWIN_DIRECT_GL=1. This should allow fglrx users to use shader effects.
This should really be done automatically by testing to see whether the
required extensions are available when in indirect mode first, then
falling back to direct mode and trying again.
CCBUG: 173556

svn path=/trunk/KDE/kdebase/workspace/; revision=895696
2008-12-11 13:17:33 +00:00
Lucas Murray
6d41a1320e Moved all debug, warning and error messages into the KWin 1212 area.
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.

svn path=/trunk/KDE/kdebase/workspace/; revision=885620
2008-11-17 15:04:52 +00:00
Laurent Montel
1c11825eea guard warning
svn path=/trunk/KDE/kdebase/workspace/; revision=843388
2008-08-07 06:50:39 +00:00
Luboš Luňák
f597672186 Just use the KDE version.
svn path=/trunk/KDE/kdebase/workspace/; revision=838680
2008-07-28 13:46:16 +00:00
Luboš Luňák
641faded6b Increase version number, just for the fun of it.
svn path=/trunk/KDE/kdebase/workspace/; revision=838657
2008-07-28 12:27:54 +00:00
Steve Evans
fc126dc537 Include <kdefakes.h> so that setenv is defined where it
is not available, e.g., on Solaris.

svn path=/trunk/KDE/kdebase/workspace/; revision=821047
2008-06-16 08:36:35 +00:00
Luboš Luňák
1da43a7993 Work around a Qt4.4.0RC1 redrawing bug.
BUG: 157659


svn path=/trunk/KDE/kdebase/workspace/; revision=793649
2008-04-04 18:08:43 +00:00
Luboš Luňák
79b4e8e4fc Use printf for the backtrace, just like with the X error itself,
so that it can be seen also with non-debug builds.


svn path=/trunk/KDE/kdebase/workspace/; revision=788104
2008-03-20 17:27:47 +00:00
Luboš Luňák
73ad1f1adc Use a modified errorMessage() with explicitly listing all extensions used by KWin.
svn path=/trunk/KDE/kdebase/workspace/; revision=778705
2008-02-24 11:41:55 +00:00
Luboš Luňák
bb97953656 Hacks for specific driver systems:
- setting LIBGL_ALWAYS_INDIRECT=1, as that seems to be required for texture_from_pixmap
    to work with AIGLX
- setting __GL_YIELD=NOTHING to noticeably improve smoothness with nVidia


svn path=/trunk/KDE/kdebase/workspace/; revision=749631
2007-12-17 14:19:41 +00:00
Luboš Luňák
add35c0095 Don't restart in a never-ending loop, just exit on cancel.
svn path=/trunk/KDE/kdebase/workspace/; revision=742729
2007-11-28 19:34:22 +00:00
Luboš Luňák
01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák
2fd0261c03 i18n messages for effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=736200
2007-11-13 17:29:46 +00:00
Luboš Luňák
c5eb488c3b When KWin is run with -sync, print also backtraces for X errors.
svn path=/trunk/KDE/kdebase/workspace/; revision=732021
2007-11-02 15:01:40 +00:00
Luboš Luňák
e063744820 Remove some #warning's.
svn path=/trunk/KDE/kdebase/workspace/; revision=731712
2007-11-01 17:03:05 +00:00
Andreas Pakulat
39e322fc83 Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Rivo Laks
68303bf71f Move Options out of critical startup section so that X errors won't cause kwin to abort.
This fixes problems where compositing/glx detection can cause x errors and abort kwin.

svn path=/trunk/KDE/kdebase/workspace/; revision=720725
2007-10-03 15:25:38 +00:00
Rivo Laks
57bd7c937e Add only actually installed WMs to the list
svn path=/trunk/KDE/kdebase/workspace/; revision=717837
2007-09-27 17:06:10 +00:00
Rivo Laks
4c7ac1fd5b KDialog::exec() doesn't return button code
svn path=/trunk/KDE/kdebase/workspace/; revision=717836
2007-09-27 17:04:56 +00:00
Rivo Laks
9606247f8a Add cancel button to alternative wm dialog and start kwin again unless Ok is pressed
svn path=/trunk/KDE/kdebase/workspace/; revision=717824
2007-09-27 16:45:48 +00:00
Rivo Laks
26ce55a738 If we have way too many crashes (>= 4) then offer to run an alternative window manager.
svn path=/trunk/KDE/kdebase/workspace/; revision=717806
2007-09-27 16:22:29 +00:00
Rivo Laks
ec0fa1789a Automatically restart KWin when it crashes.
If it crashes at least two times in a row then disable compositing.

svn path=/trunk/KDE/kdebase/workspace/; revision=717778
2007-09-27 14:53:52 +00:00
Arto Hytönen
8f6cd4277f SVN_SILENT duplicate header removal
svn path=/trunk/KDE/kdebase/workspace/; revision=707720
2007-09-02 19:15:23 +00:00
Chusslove Illich
bdb46a1769 Interface modifications to KCmdLineArgs, KAboutData and KComponentData; BIC, SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/workspace/; revision=682259
2007-07-02 08:49:20 +00:00
Thorsten Roeder
0666147473 some krazy fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=664331
2007-05-13 17:47:20 +00:00
Luboš Luňák
d1b6aaacdf Avoid crashes during shutdown.
svn path=/trunk/KDE/kdebase/workspace/; revision=662929
2007-05-09 16:10:49 +00:00
Luboš Luňák
989606a06c Merging from old trunk:
r643171 | lunakl | 2007-03-16 15:04:00 +0100 (Fri, 16 Mar 2007) | 3 lines

Redo ksplash states.


svn path=/trunk/KDE/kdebase/workspace/; revision=659558
2007-04-30 12:11:32 +00:00
Luboš Luňák
d904f5ca12 Merging from old trunk:
r643112 | lunakl | 2007-03-16 13:11:19 +0100 (Fri, 16 Mar 2007) | 3 lines

No splash dbus interface.


svn path=/trunk/KDE/kdebase/workspace/; revision=659557
2007-04-30 12:11:08 +00:00
Luboš Luňák
1afce20bbf Merging from old trunk:
r614901 | mlaurent | 2006-12-19 13:41:23 +0100 (Tue, 19 Dec 2006) | 2 lines

Fix dbus call


svn path=/trunk/KDE/kdebase/workspace/; revision=659493
2007-04-30 09:57:22 +00:00
Luboš Luňák
d908454754 Merging from old trunk:
r614585 | dfaure | 2006-12-18 12:18:32 +0100 (Mon, 18 Dec 2006) | 2 lines

Many files were using KGlobal via the "#include <kglobal.h>" in kguiitem.h. Removed that include -> added many includes in the code.


svn path=/trunk/KDE/kdebase/workspace/; revision=659485
2007-04-30 09:51:12 +00:00
Luboš Luňák
f82685de38 Merging from old trunk:
r558891 | dfaure | 2006-07-06 11:15:57 +0200 (Thu, 06 Jul 2006) | 3 lines
Register as org.kde.kwin   (in addition to kapplication registering us as kwin_$PID)
Not sure why this isn't a kuniqueapplication though (but klauncher is in the same situation anyway)


svn path=/trunk/KDE/kdebase/workspace/; revision=659219
2007-04-29 18:16:15 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
76cb5de294 Support for effects taking control of the keyboard. Needs recent kdeui change
to work properly.


svn path=/branches/work/kwin_composite/; revision=654259
2007-04-15 16:31:13 +00:00
Luboš Luňák
2c928221a4 namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/trunk/KDE/kdebase/workspace/; revision=650773
2007-04-05 12:12:10 +00:00
Luboš Luňák
e3b865cd5f namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Luboš Luňák
a47a8a3cf1 Redo ksplash states.
svn path=/trunk/KDE/kdebase/workspace/; revision=643171
2007-03-16 14:04:00 +00:00
Luboš Luňák
d4fbab83d1 No splash dbus interface.
svn path=/trunk/KDE/kdebase/workspace/; revision=643112
2007-03-16 12:11:19 +00:00
Luboš Luňák
154a59c995 Merge r635490 from trunk.
svn path=/branches/work/kwin_composite/; revision=636605
2007-02-23 14:31:23 +00:00
Dirk Mueller
249a84c5d9 merge in kconfig changes to make it compile
svn path=/branches/work/kwin_composite/; revision=635791
2007-02-20 22:31:26 +00:00
Stephan Kulow
ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Philip Falkner
45aeae3273 Merge from trunk (now it should build)
r581402:
 Not used.
r628276:
 merge the kinstance-redesign branch
r628350:
 This directory doesn't exist on my computer :)

svn path=/branches/work/kwin_composite/; revision=628706
2007-01-30 23:57:40 +00:00
Matthias Kretz
3003c4ecf8 merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +00:00
Luboš Luňák
f52407b829 Merge in compilation fixes from trunk.
svn path=/branches/work/kwin_composite/; revision=619536
2007-01-03 16:53:26 +00:00
Aaron J. Seigo
2bc3c12849 more fixes; seeing as montel is playing around in kdebase i should get these in i suppose ;)
svn path=/trunk/KDE/kdebase/workspace/; revision=619144
2007-01-02 21:02:22 +00:00
Tim Beaulen
01d8fe1308 Build
svn path=/branches/work/kwin_composite/; revision=615763
2006-12-22 15:09:35 +00:00
Laurent Montel
150699179d Use dbus interface
svn path=/trunk/KDE/kdebase/workspace/; revision=615442
2006-12-21 14:53:38 +00:00
Laurent Montel
18e5c6386c Fix dbus call
svn path=/trunk/KDE/kdebase/workspace/; revision=614901
2006-12-19 12:41:23 +00:00
David Faure
37cdd4efb8 Many files were using KGlobal via the "#include <kglobal.h>" in kguiitem.h. Removed that include -> added many includes in the code.
svn path=/trunk/KDE/kdebase/workspace/; revision=614585
2006-12-18 11:18:32 +00:00
Luboš Luňák
626d2700c1 Merge compile fixes from trunk to work with current SVN.
svn path=/branches/work/kwin_composite/; revision=586383
2006-09-19 12:20:19 +00:00
Stephan Kulow
4472c82d68 port to new qt 4.2 snapshot
svn path=/trunk/KDE/kdebase/workspace/; revision=575652
2006-08-21 20:18:49 +00:00
Luboš Luňák
fa8cd7541f It wasn't a very good idea to do even compositing-unrelated
work in the work/kwin_composite branch.
svn merge revs 558154,558180,558236,558243,558258,562201


svn path=/trunk/KDE/kdebase/workspace/; revision=571776
2006-08-10 17:00:14 +00:00
Luboš Luňák
03fedc56dd No effects when not compositing.
svn path=/branches/work/kwin_composite/; revision=560594
2006-07-10 18:34:57 +00:00
Luboš Luňák
28e3726f2e Basic transformations on the whole workspace.
svn path=/branches/work/kwin_composite/; revision=559204
2006-07-06 19:02:14 +00:00
David Faure
a67e2c7f07 Register as org.kde.kwin (in addition to kapplication registering us as kwin_$PID)
Not sure why this isn't a kuniqueapplication though (but klauncher is in the same situation anyway)

svn path=/trunk/KDE/kdebase/workspace/; revision=558891
2006-07-06 09:15:57 +00:00
Luboš Luňák
d4cf5af1c4 XDamage causes some X errors during startup, maybe it's a bad
idea to exit in such case anyway.


svn path=/branches/work/kwin_composite/; revision=558249
2006-07-04 23:11:34 +00:00
Luboš Luňák
4f12c1e606 Some first attempt at effects interface.
svn path=/branches/work/kwin_composite/; revision=558191
2006-07-04 20:51:01 +00:00
Luboš Luňák
e0dcc3ba46 Some convenience functions for QX11Info stuff.
svn path=/branches/work/kwin_composite/; revision=558154
2006-07-04 19:36:19 +00:00
Dirk Mueller
425a19b111 dbus-ify++
svn path=/trunk/KDE/kdebase/workspace/; revision=557447
2006-07-03 10:03:52 +00:00
Dirk Mueller
ecd63e0d90 merge changes from bleeding edge branch
svn path=/trunk/KDE/kdebase/workspace/; revision=557225
2006-07-02 18:31:00 +00:00
Luboš Luňák
edaa2ffbf2 Correct flags to requestName(), at least I hope.
svn path=/trunk/KDE/kdebase/workspace/; revision=555202
2006-06-26 17:02:36 +00:00
Luboš Luňák
04c9d42dfd DBUS changes - make it compile. The DBUS HOWTO is pretty lacking
in some areas and I wonder how many things will be broken by
people not quite knowing what they're doing :-/.


svn path=/trunk/KDE/kdebase/workspace/; revision=549400
2006-06-08 13:43:23 +00:00
Laurent Montel
8a3b3987f4 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=519636
2006-03-17 18:18:20 +00:00
Allen Winter
ae65a40c7a TRUE->true, FALSE->false
svn path=/trunk/KDE/kdebase/workspace/; revision=511180
2006-02-19 01:33:48 +00:00
Michel Hermier
6f43a37012 Use global config.
svn path=/trunk/KDE/kdebase/workspace/; revision=477214
2005-11-03 11:49:08 +00:00
Laurent Montel
5de42c4b68 Remove qt3_support into qstring
svn path=/trunk/KDE/kdebase/workspace/; revision=463544
2005-09-24 12:26:22 +00:00
Luboš Luňák
6a1baeaea0 Hmm, is it 2005 already?
svn path=/trunk/KDE/kdebase/kwin/; revision=444014
2005-08-08 12:03:15 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Thomas Lübking
8ad47028f6 Added composite (translucency/shadows) support
svn path=/trunk/kdebase/kwin/; revision=378790
2005-01-15 17:07:48 +00:00
Dirk Mueller
42c0e144c1 fix export's
svn path=/trunk/kdebase/ksysguard/; revision=363751
2004-11-17 17:56:22 +00:00
Luboš Luňák
fb5fde89a2 Mark me as the maintainer.
svn path=/trunk/kdebase/ksmserver/; revision=363181
2004-11-15 14:57:37 +00:00
Luboš Luňák
8f42d63981 Adding two new highly optimized splashscreens, "none" (AKA "KDE1.x classic")
and "simple" (handcoded using only Xlib).

svn path=/trunk/kdebase/ksmserver/; revision=347854
2004-09-20 12:35:27 +00:00
Luboš Luňák
524bdd61be Bump version number, just for the fun of it.
svn path=/trunk/kdebase/kwin/; revision=335974
2004-08-04 12:39:34 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Andrew Coles
0f86ee1bc1 CVS_SILENT
Corrected typo.

svn path=/trunk/kdebase/kwin/; revision=323060
2004-06-23 11:48:38 +00:00
Stephan Binner
1669d0fee2 CVS_SILENT no punctuation for command line option descriptions
svn path=/trunk/kdebase/kcminit/; revision=322526
2004-06-21 16:26:48 +00:00
Luboš Luňák
f94533b394 With kwin --replace, read config written by previous instance
(with fake session data dumped there should be nothing written to kwinrc
by kwin itself though).

svn path=/trunk/kdebase/kwin/; revision=316458
2004-05-31 16:18:34 +00:00
Luboš Luňák
a8fac1a9db Avoid race condition with focus with 'kwin --replace'.
svn path=/trunk/kdebase/kwin/; revision=314131
2004-05-24 13:14:31 +00:00
Stephan Binner
b7adc9ecab CVS_SILENT style guide fixes (part 1 of ?)
svn path=/trunk/kdebase/khotkeys/; revision=262104
2003-10-26 10:07:54 +00:00
Malcolm Hunter
b3144663fd CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdebase/kwin/; revision=261100
2003-10-22 16:57:59 +00:00
Waldo Bastian
170cdee841 Add --lock option to run without configure options.
svn path=/trunk/kdebase/kwin/; revision=258918
2003-10-14 16:06:54 +00:00
Luboš Luňák
ed8b2ae9d8 Update version number.
svn path=/trunk/kdebase/kwin/; revision=251815
2003-09-17 11:17:38 +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
Dirk Mueller
6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Luboš Luňák
aa0cc3b51a Don't link against kdeinit modules (AKA brockterribleword).
svn path=/trunk/kdebase/kwin/; revision=233862
2003-06-26 09:02:38 +00:00
Fredrik Höglund
533b788dfa Enabled the XRANDR support conditional on Qt >= 3.2.
svn path=/trunk/kdebase/kcontrol/; revision=227805
2003-05-25 16:39:42 +00:00
Malcolm Hunter
c8b1f9de8d CVS_SILENT Typographical corrections
svn path=/trunk/kdebase/kwin/; revision=224361
2003-05-06 22:25:57 +00:00
Luboš Luňák
f89705954d No longer needed.
svn path=/trunk/kdebase/kwin/; revision=221463
2003-04-22 13:58:09 +00:00
Luboš Luňák
c3a30b7ca5 Fixes and tweaks in manager selection handling.
svn path=/trunk/kdebase/kwin/; revision=219267
2003-04-09 10:51:50 +00:00
Luboš Luňák
1f87831837 XRANDR support in HEAD too, so that curious people don't have to use
kwin_iii. It's still #ifdef-ed out by XRANDR_SUPPORT, just like elsewhere
in kdelibs/kdebase.

svn path=/trunk/kdebase/kwin/; revision=211041
2003-03-03 14:03:56 +00:00
Luboš Luňák
32830fe4c6 Disable legacy session support in HEAD KWin too, as ksmserver is not
branched.

svn path=/trunk/kdebase/kwin/; revision=203113
2003-01-27 13:49:15 +00:00
Luboš Luňák
b8759c09cb Window manager selection, from kwin_iii branch.
svn path=/trunk/kdebase/kwin/; revision=202491
2003-01-24 15:39:52 +00:00
Dirk Mueller
e3d4b7625c don't interpret format strings
svn path=/trunk/kdebase/kwin/; revision=199217
2003-01-12 13:00:03 +00:00
Karol Szwed
5244020f5c suppress warning for unused crashHandler
Matthias: Why was KCrash::setCrashHandler(crashHandler); commented out?

svn path=/trunk/kdebase/kwin/; revision=174083
2002-08-27 15:23:07 +00:00
Matthias Ettrich
a99e99eacc restore legacy session after notifying ksplash that we are up and running
svn path=/trunk/kdebase/kwin/; revision=149562
2002-04-15 13:06:01 +00:00
Cristian Tibirna
6f14920e91 CT: fix for bug:28599 (by M. Ettrich). Update copyright
svn path=/trunk/kdebase/kwin/; revision=147882
2002-04-08 12:58:27 +00:00
Matthias Ettrich
789bb8c535 1. fix the "kill kicker with -9 and loose system tray icons" problem:
// If the system tray gets destroyed, the system tray
	    // icons automatically get unmapped, reparented and mapped
	    // again to the closest non-client ancestor due to
	    // QXEmbed's SaveSet feature. Unfortunatly with kicker
	    // this closest ancestor is not the root window, but our
	    // decoration, so we reparent explicitely back to the root
	    // window.


2. Removed popupinfo feature for now. The feature is a great idea, but the
implementation was too much copy&paste and code duplication with the
tab box. Plus it was buggy (no vertical center alignment) and contained
many unused codelines.

3. Fixed and simplified the session management handling (thanks to
KSessionManaged in libkdecore). This way we actually get a proper
discardCommand generated by KApplication, something that was missing
previously.

svn path=/trunk/kdebase/kwin/; revision=146580
2002-04-02 12:36:24 +00:00
Matthias Ettrich
83f58ed248 gracefully handle more than one desktop client application (which
happens triggered by a kdesktop bug on David Faure's machine).

You can now launch additional desktop applications with

     kstart --type Desktop konqueror
or
     kstart --type Desktop konsole

and toggle between them with

    dcop kwin default circulateDesktopApplications

svn path=/trunk/kdebase/kwin/; revision=140330
2002-03-02 21:03:49 +00:00
Matthias Ettrich
e34a6ee283 second half of the "avoid stealing focus if possible" fix
svn path=/trunk/kdebase/kwin/; revision=139642
2002-02-28 22:11:43 +00:00
Lukáš Tinkl
631c5d45e3 adding missing i18n()
svn path=/trunk/kdebase/kwin/; revision=124261
2001-11-26 10:21:43 +00:00
Matthias Ettrich
0f2643c994 updated copyright year, there were indeed changes this year
svn path=/trunk/kdebase/kwin/; revision=113370
2001-09-05 09:09:59 +00:00
Matthias Ettrich
413eda6fcb workaround to at least one "failing grab" problem
svn path=/trunk/kdebase/kwin/; revision=108475
2001-07-30 10:48:12 +00:00
Malcolm Hunter
869ac89c8f Spelling and grammar corrections
svn path=/trunk/kdebase/kwin/; revision=99204
2001-05-28 18:32:02 +00:00
Waldo Bastian
42291d5b87 Make Workspace a singleton, accesible via Workspace::self()
svn path=/trunk/kdebase/kwin/; revision=93375
2001-04-22 06:51:07 +00:00
Luboš Luňák
b6c55170ed Breaking BC in KWin again in order to keep BC for plugins. I forgot
a few private pointers *slap self*.

svn path=/trunk/kdebase/kwin/; revision=92998
2001-04-20 07:19:03 +00:00
Matthias Ettrich
9547820ecc re-enabled the nice feature that Alt-Tab and Ctrl-Tab won't do anything
if there are popup windows open (that is, if we cannot obtain a mouse pointer
grab). Avoids "hanging" Window or Desktop boxes.

This broke when the (otherwise very nice) transition to KGlobalAccel was
introduced.

svn path=/trunk/kdebase/kwin/; revision=89105
2001-03-28 12:44:31 +00:00
Harri Porten
84e023711c \n at end of stderr error message
svn path=/trunk/kdebase/kwin/; revision=86598
2001-03-12 13:24:01 +00:00
Matthias Kretz
6021e7d9ac changed my last commit to use strdup() instead of moving the declaration
(just like Coolo suggested)

svn path=/trunk/kdebase/kwin/; revision=84000
2001-02-22 16:13:34 +00:00
Matthias Kretz
a920560ffa fixes Multihead-support (see my mail to core-devel)
+    QCString envir;
     if (! restored) {
            // we only do the multihead fork if we are not restored by the session
            // manager, since the session manager will register multiple kwins,
@@ -240,7 +241,6 @@ int kdemain( int argc, char * argv[] )
            if ((pos = display_name.findRev('.')) != -1 )
                display_name.remove(pos,10); // 10 is enough to be sure we removed ".s"

-           QCString envir;
            if (number_of_screens != 1) {
                for (int i = 0; i < number_of_screens; i++ ) {
                    // if execution doesn't pass by here, then kwin

svn path=/trunk/kdebase/kwin/; revision=83961
2001-02-22 08:22:56 +00:00
Waldo Bastian
2f90225543 Put stuff in KWinInternal namespace.
Export client.h, workspace.h and options.h so that people can write plugins.

svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Matthias Ettrich
aa219e51db Fixed Antonio's focus follows mouse problem:
Index: main.cpp
===================================================================
RCS file: /home/kde/kdebase/kwin/main.cpp,v
retrieving revision 1.42
diff -r1.42 main.cpp
157a158,160
>     case EnterNotify:
>     case LeaveNotify:
>       kwin_time = e->xcrossing.time;

svn path=/trunk/kdebase/kwin/; revision=83624
2001-02-19 09:27:26 +00:00
Waldo Bastian
414316d5dc Multihead fix.
Tell ksplash we're up and running.

svn path=/trunk/kdebase/kwin/; revision=83393
2001-02-18 06:55:19 +00:00
bhughes
7a9862f4ee multihead in kdebase
svn path=/trunk/kdebase/kcontrol/; revision=81587
2001-02-06 18:32:07 +00:00
Matthias Ettrich
33f78a855b some more keybindings
less race conditions with map/unmap thanks to BlackboxTechnology(tm)

svn path=/trunk/kdebase/kwin/; revision=77544
2001-01-11 23:41:07 +00:00
Matthias Ettrich
a189cb2c45 some attempt for dirk
svn path=/trunk/kdebase/kwin/; revision=76503
2001-01-05 18:28:24 +00:00
Matthias Ettrich
287b654d39 an attempt to reduce the slowliness of opaque resize with non-Qt application
svn path=/trunk/kdebase/kwin/; revision=73641
2000-12-06 15:03:59 +00:00
Matthias Ettrich
1b3e517fa8 raised version number, that was about time
svn path=/trunk/kdebase/kwin/; revision=68916
2000-10-26 07:10:57 +00:00
Waldo Bastian
ebe199a301 WABA: Use kdemain() instead of main() so that closures don't complain about
main being defined twice with different symbol sizes.

svn path=/trunk/kdebase/kwin/; revision=63094
2000-09-07 22:46:24 +00:00
Matthias Ettrich
bf33b067be - completed session management (maximize, shaded, and restore were missing)
- support for WM_COMMAND pseudo session management (xterm and friends)
- basic support for private colormaps, useful on the last remaining 8bit displays

svn path=/trunk/kdebase/kwin/; revision=62239
2000-08-30 14:27:30 +00:00
Matthias Ettrich
ba64395e9a removed debug output
svn path=/trunk/kdebase/kwin/; revision=60887
2000-08-13 17:26:18 +00:00
Matthias Ettrich
81bd6b26c3 some focus follows mouse stuff
svn path=/trunk/kdebase/kwin/; revision=60885
2000-08-13 17:07:26 +00:00
Matthias Ettrich
5d7ca8f2ee adding missing raise and lower keybindings
svn path=/trunk/kdebase/kwin/; revision=59304
2000-07-30 16:15:17 +00:00
Werner Trobin
13aebff097 Commented out some more #define QT_CLEAN_NAMESPACE statements
svn path=/trunk/kdebase/kscreensaver/; revision=59186
2000-07-29 07:59:24 +00:00
Matthias Ettrich
3b707063bf removed workaround for qt-2.1b3
svn path=/trunk/kdebase/ksmserver/; revision=57371
2000-07-16 19:09:09 +00:00
Matthias Ettrich
5fb81f837b no "resize" and "maximize" options for non-resizable windows
svn path=/trunk/kdebase/kwin/; revision=56608
2000-07-13 17:59:12 +00:00
Hans Petter Bieker
120e8a0e4b * -DQT_NO_ASCII_CAST
* using local8Bit() when printing i18n()ed messages to stderr.

svn path=/trunk/kdebase/kwin/; revision=55634
2000-07-06 16:48:13 +00:00
Matthias Ettrich
72abf668d2 iconify/deiconify animation.
Don't forget to update libkdecore and kicker

svn path=/trunk/kdebase/kwin/; revision=54131
2000-06-23 16:26:44 +00:00
Matthias Ettrich
900e2e6c0b Use the new windowmanager interaction API
svn path=/trunk/kdebase/kwin/; revision=52623
2000-06-08 17:05:51 +00:00
Simon Hausmann
9dab9d5217 - provide a default dcop object
svn path=/trunk/kdebase/kwin/; revision=51682
2000-06-02 21:57:48 +00:00
Waldo Bastian
fc5367e74d WABA: Restart kwin when it crashes. I hope this isn't used as excuse not to
debug kwin crashes any more :-)

svn path=/trunk/kdebase/kwin/; revision=51570
2000-06-01 23:44:03 +00:00
Matthias Ettrich
9c4e19ee40 removed the timerbased resize stuff again and did the real fix.
Should work fine with Qt-2.1, please test.

svn path=/trunk/kdebase/kwin/; revision=48970
2000-05-09 10:13:48 +00:00
Rik Hemsley
a982506a75 Kicker is now placed _under_ the Mac menubar - it will not obscure it...
except if you press the hide buttons. That needs fixing.

svn path=/trunk/kdebase/kwin/; revision=48570
2000-05-06 18:59:43 +00:00
Frank Baumgart
99c4839913 --enable-final fixes
svn path=/trunk/kdebase/kwin/; revision=47102
2000-04-20 17:37:33 +00:00
Rik Hemsley
66b2a8645f App-starting notification support
svn path=/trunk/kdebase/kwin/; revision=46005
2000-04-08 19:35:52 +00:00
Matthias Ettrich
00d9588ccc added phase2 workaround for broken qt-2.1 beta3
svn path=/trunk/kdebase/kwin/; revision=44620
2000-03-25 13:46:01 +00:00
Matthias Ettrich
b49151074f Session management for KDE-2.x : say hello to the ksmserver
svn path=/trunk/kdebase/kwin/; revision=44552
2000-03-24 22:23:02 +00:00
Matthias Ettrich
7375cc7a17 faster abort when another window manager is running
svn path=/trunk/kdebase/kwin/; revision=44291
2000-03-22 12:36:07 +00:00
Matthias Ettrich
c2b5722a6b small optimizations
svn path=/trunk/kdebase/kwin/; revision=44233
2000-03-21 20:02:27 +00:00
Matthias Ettrich
98ea0a56db small fixes
svn path=/trunk/kdebase/kwin/; revision=42768
2000-03-06 19:14:20 +00:00
Christopher Molnar
54be0a25d9 CJM - fixed pid problem in main --->register kwin
svn path=/trunk/kdebase/kwin/; revision=40510
2000-02-12 00:55:36 +00:00
Christopher Molnar
5e28e27b2c added kwiniface iface in main for logout
svn path=/trunk/kdebase/kwin/; revision=40509
2000-02-12 00:50:53 +00:00
David Faure
87a7b9b775 Build a kwiniface + fixed compiler warning
svn path=/trunk/kdebase/kwin/; revision=40507
2000-02-12 00:36:49 +00:00
Christopher Molnar
6482ac8053 Added kwininface:logout code. Still needs revisions - Chris M.
svn path=/trunk/kdebase/kwin/; revision=40506
2000-02-12 00:25:21 +00:00
Waldo Bastian
7077776bb1 WABA: Use KCmdLineArgs
svn path=/trunk/kdebase/kwin/; revision=38160
2000-01-12 15:08:42 +00:00
Stephan Kulow
caf3ce1376 let it compile with SparcWorks CC 5.0 (templates, stdlib.h, little ANSI glitches)
svn path=/trunk/kdebase/kwin/; revision=37154
1999-12-22 17:16:23 +00:00
Matthias Ettrich
df37b4f6f3 small things
svn path=/trunk/kdebase/kwin/; revision=35447
1999-11-29 18:31:28 +00:00
Matthias Ettrich
322bccde7b async keyboard
svn path=/trunk/kdebase/kwin/; revision=35431
1999-11-29 14:19:32 +00:00
Matthias Ettrich
b8a8bf9be2 CurrentTime must die
svn path=/trunk/kdebase/kwin/; revision=35369
1999-11-28 21:41:15 +00:00
Matthias Ettrich
bad93649e3 fixed min/max handling, handle palette changes properly
svn path=/trunk/kdebase/kwin/; revision=35018
1999-11-25 12:53:17 +00:00
Matthias Ettrich
eb472b9ed5 Ctrl-Fx desktop switching to make David happy
svn path=/trunk/kdebase/kwin/; revision=33636
1999-11-13 01:51:22 +00:00
Matthias Ettrich
cb82f77388 run, not crash
svn path=/trunk/kdebase/kwin/; revision=32543
1999-11-01 23:41:44 +00:00
Daniel M. Duley
37b09be6f3 A few fixes, moved colorgroups to the Options class (much nicer there), and
started on a fixed system style. If you try it out make sure to read the new
README, as it requires some gradient settings.

svn path=/trunk/kdebase/kwin/; revision=30585
1999-10-11 02:00:06 +00:00
Matthias Ettrich
311db796c6 Say hello to kwin. WARNING: NOT USABLE YET. See README.
svn path=/trunk/kdebase/kwin/; revision=27871
1999-08-19 23:26:42 +00:00