Commit graph

20001 commits

Author SHA1 Message Date
Luboš Luňák
6261311a69 I think I've finally found the right place for the propagateClients() call.
Now KWinModule will emit windowAdded() after all properties are set
correctly, but still before activeWindowChanged().
If it breaks something, beat me.

svn path=/trunk/kdebase/kwin/; revision=90016
2001-04-02 22:12:54 +00:00
Adriaan de Groot
2b0e89325f Added window raise-or-lower
svn path=/trunk/kdebase/kwin/; revision=89959
2001-04-02 16:17:06 +00:00
Adriaan de Groot
b90a69abc9 Add support for [MR]MB-n-titlebar windowshade
svn path=/trunk/kdebase/kcontrol/; revision=89895
2001-04-02 08:31:58 +00:00
Script Kiddy
688e37fa92 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=89709
2001-04-01 03:31:02 +00:00
Script Kiddy
ab02b94b56 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=89532
2001-03-31 06:40:27 +00:00
Leon Bottou
715dcc3beb Workspace::storeLegacySession() now uses kwin_time.
svn path=/trunk/kdebase/kwin/; revision=89469
2001-03-30 19:37:40 +00:00
Luboš Luňák
c125639ccb Make KWinModule first emit windowAdded(), then activeWindowChanged().
svn path=/trunk/kdebase/kwin/; revision=89414
2001-03-30 11:50:22 +00:00
Luboš Luňák
4c03fa5c6f Less flickering when switching virt. desktops.
svn path=/trunk/kdebase/kwin/; revision=89410
2001-03-30 11:15:15 +00:00
Script Kiddy
19b9d1fc57 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=89379
2001-03-30 02:48:10 +00:00
Matthias Ettrich
57e86d69be pretend to be CDE to improve interoperability with Sun's latest JDK.
svn path=/trunk/kdebase/kwin/; revision=89307
2001-03-29 17:21:53 +00:00
Script Kiddy
93d660d0c8 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=89221
2001-03-29 06:46:44 +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
Script Kiddy
e2beba0abe CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=89085
2001-03-28 09:44:10 +00:00
Script Kiddy
23f30013f9 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=88988
2001-03-27 17:03:01 +00:00
Matthias Ettrich
74b28e4418 better to send some anyway
svn path=/trunk/kdebase/kwin/; revision=88714
2001-03-26 08:31:54 +00:00
Matthias Ettrich
5cf8a3c9fd some attempts to fix Sun's latest Java, no success so far. Giving up.
svn path=/trunk/kdebase/kwin/; revision=88713
2001-03-26 08:10:31 +00:00
Karol Szwed
fe44db9631 Added a dcop signal "dcopResetAllClients()" to allow other apps to be notified
when the user has changed the current kwin client decoration via the titlebar.

svn path=/trunk/kdebase/kwin/; revision=88294
2001-03-23 09:28:40 +00:00
Matthias Ettrich
68285bb415 treat "AWTapp" special: obey xSizeHint.x/y
svn path=/trunk/kdebase/kwin/; revision=87985
2001-03-20 21:05:57 +00:00
Leon Bottou
41e4bffe40 Removed possibility of X errors in the Client::staticXXXX() functions.
Cosmetic changes to Workspace::storeLegacySession().

svn path=/trunk/kdebase/kwin/; revision=87983
2001-03-20 20:48:40 +00:00
Script Kiddy
f5f462b634 CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=87866
2001-03-20 03:48:27 +00:00
Waldo Bastian
00eb8e6c57 Fix for --enable-final
svn path=/trunk/kdebase/kwin/; revision=87826
2001-03-19 21:03:44 +00:00
Luboš Luňák
944967a8e1 Made Alt+Tab , Ctrl+Tab configurable. Also added in kcontrol module missing option
to make Alt+Tab to go either through all windows or only the ones on the current
desktop. If you get keyboard lock-ups because of this, yell.
I wonder how many bugreports I will be able to close because of this :).

svn path=/trunk/kdebase/kwin/; revision=87801
2001-03-19 20:05:36 +00:00
Matthias Ettrich
9b24d884bf legacy session management support (WM_COMMAND) for emacs-lovers.
Many thanks to Leon Bottou <leonb@research.att.com> for this one.

svn path=/trunk/kdebase/kwin/; revision=87737
2001-03-19 15:35:07 +00:00
Karol Szwed
857e657e3f Added my new Quartz kwin client with support for toolwindows, and updated
my win2k client to support toolwindows as well. Enjoy!

svn path=/trunk/kdebase/kwin/; revision=87420
2001-03-17 11:49:51 +00:00
Script Kiddy
fa566c40a2 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=87234
2001-03-16 03:12:50 +00:00
George Staikos
a888d424c6 The new refresh code. This will refresh the entire desktop for you,
background, icons and windows!

svn path=/trunk/kdebase/kwin/; revision=86920
2001-03-14 10:16:08 +00:00
Matthias Ettrich
11f1ab2b60 reduce the number of X-errors. Thanks to Lars Hete for this one.
svn path=/trunk/kdebase/kwin/; revision=86918
2001-03-14 09:21:16 +00:00
Stephan Kulow
5d5f9149fa - fog-grey.png bluesun.png greenie.light.png greenie.dim.png
+       fog-grey.png bluesun.png greenie.light.png greenie.dim.png \

svn path=/trunk/kdebase/kwin/; revision=86732
2001-03-13 11:12:38 +00:00
Luboš Luňák
8b6478aeda Applying #19154 ( together with #19158 fixes #13794 #17915 #17698 )
svn path=/trunk/kdebase/kwin/; revision=86664
2001-03-12 21:32:13 +00:00
Matthias Ettrich
33c69f053c small activation state fix (thanks to Simon Hausmann for the bugreport)
svn path=/trunk/kdebase/kwin/; revision=86636
2001-03-12 18:03:17 +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
Script Kiddy
d6b5bc931a CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=86409
2001-03-11 03:18:06 +00:00
David Faure
77180181a1 Make setCurrentDesktop(int) available via DCOP, to replace the "kwmcom desktopN"
functionality from kde1. Not a slot anymore (wasn't used as such).

svn path=/trunk/kdebase/kwin/; revision=85932
2001-03-08 14:28:07 +00:00
Dirk Mueller
eae14cbb77 include fixups
svn path=/trunk/kdebase/kcontrol/; revision=85914
2001-03-08 13:25:52 +00:00
Wilco Greven
002f6b83c9 Don't unshade shaded windows before minimizing.
svn path=/trunk/kdebase/kwin/; revision=85565
2001-03-06 09:17:43 +00:00
Wilco Greven
8e8341d6ec GUI: Resolve conflicting accelerators. Fixes #20579. I assigned r as
accelerator for "Store settings" instead of t which was already used by
     "To Desktop".

svn path=/trunk/kdebase/kwin/; revision=84957
2001-03-02 10:35:25 +00:00
Waldo Bastian
d577f604e2 It's slashdot feature request time!
+       HMaximizeOp,
+       VMaximizeOp,
+       LowerOp,

svn path=/trunk/kdebase/kwin/; revision=84551
2001-02-27 07:19:52 +00:00
Daniel M. Duley
eeb5bb19e3 New KWM theme client stuff, as described in my earlier email to core-devel
svn path=/trunk/kdebase/kwin/; revision=84131
2001-02-23 22:10:30 +00:00
Script Kiddy
2df31287aa CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=84034
2001-02-23 02:55:17 +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
Thomas Leitner
26772fa04e need to specify external references before the "using namespace" directive
to allow the linker to resove them!

svn path=/trunk/kdebase/kwin/; revision=83967
2001-02-22 09:45:19 +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
Matthias Elter
c48346551b Patch by Matthias Ettrich:
Changing the focus policy does not reset all client styles.

svn path=/trunk/kdebase/kwin/; revision=83927
2001-02-21 18:29:24 +00:00
Matthias Ettrich
6b9f88256e Index: client.cpp
===================================================================
RCS file: /home/kde/kdebase/kwin/client.cpp,v
retrieving revision 1.222
diff -d -u -r1.222 client.cpp
--- client.cpp  2001/02/19 12:17:03     1.222
+++ client.cpp  2001/02/21 13:39:25
@@ -1152,7 +1152,7 @@
            if ( e.data.l[1] )
                blockAnimation = TRUE;
            iconify();
-       } else if ( e.data.l[1] == NormalState && isIconified() ) {
+       } else if ( e.data.l[0] == NormalState && isIconified() ) {
            if ( e.data.l[1] )
                blockAnimation = TRUE;
            // only show window if we're on current desktop

svn path=/trunk/kdebase/kwin/; revision=83908
2001-02-21 13:41:28 +00:00
Script Kiddy
afb77f424b CVS_SILENT made messages
svn path=/trunk/kdebase/kscreensaver/; revision=83708
2001-02-20 03:14:50 +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
7ba861c71d avoid shading for no-border cliens
Index: client.h
===================================================================
RCS file: /home/kde/kdebase/kwin/client.h,v
retrieving revision 1.62
diff -d -u -r1.62 client.h
--- client.h    2001/01/16 21:29:36     1.62
+++ client.h    2001/02/19 22:25:13
@@ -449,7 +449,7 @@
 public:
     NoBorderClient( Workspace *ws, WId w, QWidget *parent=0, const char *name=0 );
     ~NoBorderClient();
-
+    void setShade( bool , int ){}
 };

 #endif

svn path=/trunk/kdebase/kwin/; revision=83691
2001-02-19 22:25:34 +00:00
Matthias Ettrich
5651bcb69d reenabled maximize smartness
svn path=/trunk/kdebase/kwin/; revision=83642
2001-02-19 12:17:03 +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