Commit graph

110 commits

Author SHA1 Message Date
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