Commit graph

20773 commits

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