Commit graph

709 commits

Author SHA1 Message Date
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
Waldo Bastian
6f55f7337a Update icon when WMIcon changes.
svn path=/trunk/kdebase/kwin/; revision=83169
2001-02-16 20:58:33 +00:00
Cristian Tibirna
5db5950bc1 CT: kill off-by-one bug in smart placement. Thanks to Michael Driscoll for
bug report, bug analysis and patch review.

svn path=/trunk/kdebase/kwin/; revision=83151
2001-02-16 18:05:27 +00:00
Script Kiddy
6bfb54fe77 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=83062
2001-02-16 03:13:52 +00:00
Waldo Bastian
460c6e1d36 Don't crash when changing decorations with RMB.
svn path=/trunk/kdebase/kwin/; revision=83040
2001-02-15 23:19:07 +00:00
Waldo Bastian
09595efd93 Implement iconChange().
svn path=/trunk/kdebase/kwin/; revision=83036
2001-02-15 22:48:31 +00:00
Waldo Bastian
e0a5931d84 Implement iconChange()
svn path=/trunk/kdebase/kwin/; revision=83021
2001-02-15 21:40:54 +00:00
Waldo Bastian
6ab086647b Implement iconChange()
svn path=/trunk/kdebase/kwin/; revision=83016
2001-02-15 20:53:22 +00:00
Script Kiddy
43430cd19d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=82912
2001-02-15 02:55:55 +00:00
Dirk Mueller
9a4a9c99bd GUI: Mouse emulation F12 -> ALT+F12.
does anybody remember another place that needs this fix ?

svn path=/trunk/kdebase/kwin/; revision=82825
2001-02-14 13:35:02 +00:00
Script Kiddy
402d91efe5 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=82569
2001-02-13 01:41:29 +00:00
Daniel M. Duley
1bc44d136d Commentting out evil maximize behavior ;-)
svn path=/trunk/kdebase/kwin/; revision=82564
2001-02-13 00:46:45 +00:00
Script Kiddy
842ed08937 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=82450
2001-02-12 01:36:15 +00:00
David Faure
f14bbd47a4 - area = QApplication::desktop()->geometry();
+    area = QRect( 0, 0, 0, 0 ); // bogus value so that updateClientArea does the right thing
This fixes the icons being put on the topleft corner on startup.
updateClientArea wasn't setting the values in NETWM because it didn't detect
a change (until kicker started).

svn path=/trunk/kdebase/kwin/; revision=82160
2001-02-10 00:27:26 +00:00
Script Kiddy
f0efb406a4 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=81863
2001-02-08 04:37:30 +00:00
Script Kiddy
60f0c741e0 CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=81664
2001-02-07 03:27:26 +00:00
Daniel M. Duley
5f356d8628 Improved titlebar buffering.
Are these commits going into the KDE2.1final, or do I need to do
something special?

svn path=/trunk/kdebase/kwin/; revision=81613
2001-02-06 22:16:17 +00:00
bhughes
7a9862f4ee multihead in kdebase
svn path=/trunk/kdebase/kcontrol/; revision=81587
2001-02-06 18:32:07 +00:00
Script Kiddy
b5c8af6fa5 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=81499
2001-02-06 03:00:17 +00:00
Script Kiddy
d9ca15464d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=81239
2001-02-04 02:39:56 +00:00
Matthias Ettrich
f788868318 fixed focus problems with qt-2.2.4 (see separate mail on kde-core-devel)
svn path=/trunk/kdebase/kwin/; revision=81151
2001-02-03 12:30:46 +00:00
Script Kiddy
1d95469d9f CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=81120
2001-02-03 03:09:32 +00:00
Matthias Ettrich
3deaa52496 cooperate with qt-2.2.4 (the deadkey popup fix) and qt-copy.
Don't update the frame decoration if it didn't change, I don't want
flicker when changing the focus policy.

svn path=/trunk/kdebase/kwin/; revision=80891
2001-02-01 01:13:44 +00:00
bhughes
d3944b3934 allow kpager/kminipager to see window moves/resizes
@@ -1198,7 +1198,7 @@
     c.width = windowWrapper()->width();
     c.height = windowWrapper()->height();
     c.border_width = 0;
-    XSendEvent( qt_xdisplay(), c.event, TRUE, NoEventMask, (XEvent*)&c );
+    XSendEvent( qt_xdisplay(), c.event, TRUE, StructureNotifyMask, (XEvent*)&c );
 }

svn path=/trunk/kdebase/kwin/; revision=80826
2001-01-31 15:14:40 +00:00
Script Kiddy
e62aff77d8 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=80657
2001-01-30 02:37:44 +00:00
Script Kiddy
4007b18c81 CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=80354
2001-01-28 03:25:14 +00:00
Matthias Ettrich
8ba06abb33 loadFakeSessionInfo() in initialization
svn path=/trunk/kdebase/kwin/; revision=80299
2001-01-27 19:24:15 +00:00
Script Kiddy
c58bc6a72d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=80200
2001-01-27 02:03:21 +00:00
Script Kiddy
6d27b8f6cb CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=80103
2001-01-26 02:08:59 +00:00
Waldo Bastian
03fc02caf3 Delay resetting client decorations a bit in some cases, maybe we have to do
it anyway later on in which case we can save some flicker & CPU by doing it
only once.

svn path=/trunk/kdebase/kwin/; revision=80040
2001-01-25 19:17:17 +00:00
Script Kiddy
35d0d793f6 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=79971
2001-01-25 02:51:37 +00:00
Waldo Bastian
0ea8e539a5 Attempt to fix the drawing stuff. Resizing a window still fails to redraw
large parts of the window decorations.

svn path=/trunk/kdebase/kwin/; revision=79948
2001-01-24 23:53:37 +00:00
Matthias Ettrich
d2e0e0529b disabled the special treatment of system-tray parents for iconify()
Reason: it didn't work. This is the least intrusive and cleanest fix for it.

svn path=/trunk/kdebase/kwin/; revision=79884
2001-01-24 16:47:44 +00:00
Waldo Bastian
692efa5cde Don't crash when making window sticky/maximized without a sticky/maximized button.
svn path=/trunk/kdebase/kwin/; revision=79649
2001-01-22 23:30:08 +00:00
Rik Hemsley
5198b0b270 Don't change maximise mode of windows when resetting
svn path=/trunk/kdebase/kwin/; revision=79285
2001-01-20 21:03:12 +00:00
Cristian Tibirna
2962a95929 CT: kcontrol/windows.cpp says default is off for ShadeHover
svn path=/trunk/kdebase/kwin/; revision=79169
2001-01-20 03:55:42 +00:00
Script Kiddy
7158d07ceb CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=78958
2001-01-19 02:30:05 +00:00
Matthias Ettrich
440ed4d27f don't set framestrut on move, but on manage
svn path=/trunk/kdebase/kwin/; revision=78846
2001-01-18 16:21:00 +00:00
Script Kiddy
67d7da494c CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=78677
2001-01-18 02:28:45 +00:00
Matthias Ettrich
87b6129e3f fixed small off-by-one error (shade/unshade)
svn path=/trunk/kdebase/kwin/; revision=78542
2001-01-17 11:40:25 +00:00
Waldo Bastian
8190667206 Let reconfigure() reparse plugin setting.
svn path=/trunk/kdebase/kwin/; revision=78491
2001-01-16 23:54:45 +00:00
Waldo Bastian
dc0ce11c7b Install kwmtheme
svn path=/trunk/kdebase/kwin/; revision=78490
2001-01-16 23:52:34 +00:00
Waldo Bastian
922162fad0 Don't crash on missing pixmaps.
svn path=/trunk/kdebase/kwin/; revision=78489
2001-01-16 23:52:11 +00:00