Commit Graph

226 Commits (33c69f053cca132313c7c2d6a2e9e14059914e19)

Author SHA1 Message Date
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
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 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
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 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 6f55f7337a Update icon when WMIcon changes.
svn path=/trunk/kdebase/kwin/; revision=83169
2001-02-16 20:58:33 +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
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
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
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
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
Matthias Ettrich 01241073b6 make xswallow work
svn path=/trunk/kdebase/kwin/; revision=78458
2001-01-16 21:29:36 +00:00
Matthias Elter 684fa4983f void Client::setShade( bool s, int hus ):
+     if(!hus)
+       info->setState( shaded?NET::Shaded:0, NET::Shaded );

Actually tell the world that the client got (un)shaded.

svn path=/trunk/kdebase/kwin/; revision=78158
2001-01-15 13:25:39 +00:00
Matthias Ettrich ef97333d15 small fix
svn path=/trunk/kdebase/kwin/; revision=78049
2001-01-14 20:48:00 +00:00
Matthias Ettrich 927ab8b735 make netwm dialogs movable and give them tab-focus
svn path=/trunk/kdebase/kwin/; revision=78045
2001-01-14 20:25:32 +00:00
Matthias Ettrich e9d30a20d7 Balaji Ramani <balaji@spinnakernet.com>: shadeHover support
GUI: new operation popup item: "Store Settings"

svn path=/trunk/kdebase/kwin/; revision=78043
2001-01-14 20:16:04 +00:00
Waldo Bastian 54a5d1b900 Fix (t.i. update) taskbar window-titles when changing window-decorations.
svn path=/trunk/kdebase/kwin/; revision=77928
2001-01-14 06:24:49 +00:00
Matthias Ettrich cf23bd927c minor iconify/deiconify fix (previous commit broke w2k plugin)
svn path=/trunk/kdebase/kwin/; revision=77557
2001-01-12 01:20: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 45f2bbd3d3 smarter autoRaise, wondering what it breaks this time
svn path=/trunk/kdebase/kwin/; revision=76893
2001-01-08 09:52:44 +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 4ec61ec284 small replay issue (exclude desktop and dock)
svn path=/trunk/kdebase/kwin/; revision=76122
2001-01-02 16:30:37 +00:00
Matthias Ettrich c1eac4d5d0 hopefully less frame drawing
svn path=/trunk/kdebase/kwin/; revision=74802
2000-12-14 11:35:12 +00:00
Matthias Ettrich ccc84f2cfe some cleanups
svn path=/trunk/kdebase/kwin/; revision=73923
2000-12-08 11:57:09 +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 641b90f2fa maximize stuff seems to work now
svn path=/trunk/kdebase/kwin/; revision=72980
2000-12-01 20:10:05 +00:00
Matthias Ettrich c45c162ab0 some more maximize stuff .... I really need to test that myself...
svn path=/trunk/kdebase/kwin/; revision=72975
2000-12-01 18:27:26 +00:00
Matthias Ettrich 6babb311ca more clever maximize(ver, hor, full) stuff
svn path=/trunk/kdebase/kwin/; revision=71188
2000-11-17 19:43:20 +00:00
Matthias Ettrich 40d428b47b more masking
svn path=/trunk/kdebase/kwin/; revision=71173
2000-11-17 18:11:24 +00:00
Matthias Ettrich 5b8bc65b2b more state/mask confusion
svn path=/trunk/kdebase/kwin/; revision=71153
2000-11-17 14:18:44 +00:00
Matthias Ettrich 9c5a135b26 fixed maximization once again
svn path=/trunk/kdebase/kwin/; revision=71051
2000-11-16 19:16:51 +00:00
Matthias Ettrich 258a7be78a make kwin adjust to shape changes
svn path=/trunk/kdebase/kwin/; revision=71049
2000-11-16 19:08:05 +00:00
Matthias Ettrich 8fbc21d202 MouseActivateAndPassClick should not do raise
svn path=/trunk/kdebase/kwin/; revision=68949
2000-10-26 13:44:05 +00:00
Matthias Ettrich 2d59aac1c8 small fix for mac menu when using focus follows mouse (even though this
combination does not make sense at all)

svn path=/trunk/kdebase/kwin/; revision=68919
2000-10-26 08:26:05 +00:00
Matthias Ettrich 144182101d configurable minimize animation
svn path=/trunk/kdebase/kwin/; revision=68794
2000-10-24 14:54:23 +00:00
Nikita V. Youshchenko c88fc0bc77 Added "IgnorePositionClasses" configuration option to set X classes of windows for which PPosition hint should be ignored. This should lastly solve the invalid Motif windows placement problem
svn path=/trunk/kdebase/kwin/; revision=68724
2000-10-23 18:27:23 +00:00
Matthias Ettrich 7090777e51 reverted latest commit
svn path=/trunk/kdebase/kwin/; revision=68482
2000-10-21 14:26:05 +00:00
Nikita V. Youshchenko bf97a2aeec Applied motif windows placement workaround from kwm 1.1.2, and added a personal workaround for Netscape
svn path=/trunk/kdebase/kwin/; revision=68436
2000-10-20 21:28:43 +00:00
Matthias Ettrich cbfa5b50d1 more sane "delete" and "transdelete" events (where missing in many
cases)

svn path=/trunk/kdebase/kwin/; revision=68283
2000-10-19 15:21:00 +00:00
Matthias Ettrich 80b57294e1 my "no unmanaged windows" fix broke the unminimize animation. Works now
again.

svn path=/trunk/kdebase/kwin/; revision=68107
2000-10-17 15:59:10 +00:00
Matthias Ettrich 0b4ba11c29 removed debug out, small fix for mac menu
svn path=/trunk/kdebase/kwin/; revision=68088
2000-10-17 13:09:59 +00:00
Matthias Ettrich 8ba0c8171f fixed unmanaged windows on subsquent desktop switches
svn path=/trunk/kdebase/kwin/; revision=68087
2000-10-17 12:51:39 +00:00
Antonio Larrosa Jimenez d5ff78e16d Fixes the automatic resizing of windows to a 10x10 rectangle
when pressing Alt and clicking inside the window (just a click)

svn path=/trunk/kdebase/kwin/; revision=68059
2000-10-16 22:01:16 +00:00
Matthias Ettrich 26ee3808bd make verifyTransient() more defensive to help mac menus
svn path=/trunk/kdebase/kwin/; revision=68012
2000-10-16 12:48:36 +00:00
Matthias Ettrich caf8fda461 no weird desktop switching with race conditions when enabling the mac menu
svn path=/trunk/kdebase/kwin/; revision=68003
2000-10-16 12:08:54 +00:00
Matthias Ettrich 3c8525c963 fix auto raise once again
svn path=/trunk/kdebase/kwin/; revision=68000
2000-10-16 12:00:22 +00:00
Matthias Ettrich 1266db9901 fixed transient_for handling for embedded main windows
Patch reviewed by Lars.

svn path=/trunk/kdebase/kwin/; revision=67756
2000-10-15 14:19:15 +00:00
Rik Hemsley 6ff8139d9e Making NETWinInfo visible.
It's actually a derived class, but we can safely static_cast it back
to NETWinInfo. Makes it easier for clients to use it.

svn path=/trunk/kdebase/kwin/; revision=67689
2000-10-14 23:44:24 +00:00