Commit graph

19865 commits

Author SHA1 Message Date
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
Matthias Ettrich
eb9d29938b NEVER call XInternAtom in an application like kwin that provides
a nifty interface for XInternAtom_s_. Have a look at atoms.cpp

svn path=/trunk/kdebase/kwin/; revision=48914
2000-05-08 21:22:57 +00:00
Matthias Ettrich
27f0e99920 indentation (grmbll....) and removed weird notification feature.
There's no need to inform a taskbar twice that a window appeared!

svn path=/trunk/kdebase/kwin/; revision=48910
2000-05-08 21:12:49 +00:00
Espen Sand
efdafdc528 A modification to the resize handling. Not sure if it really
is any better but with khexedit it feels so. kwm still beats
it though :(

svn path=/trunk/kdebase/kwin/; revision=48903
2000-05-08 20:22:10 +00:00
Matthias Ettrich
e36274fecf removed debug output
svn path=/trunk/kdebase/kwin/; revision=48892
2000-05-08 19:39:28 +00:00
Matthias Ettrich
f2bb598e46 implemented raise/lower
svn path=/trunk/kdebase/kwin/; revision=48888
2000-05-08 19:37:54 +00:00
Matthias Ettrich
68510e52c8 one does not have to exeggerate...
svn path=/trunk/kdebase/kwin/; revision=48848
2000-05-08 12:28:30 +00:00
Matthias Ettrich
9a70b16933 being able to resize at the bottom or right edge is good
svn path=/trunk/kdebase/kwin/; revision=48846
2000-05-08 12:18:26 +00:00
Charles Samuels
ee137a0ad7 CVS_SILENT
this is how it should be. I mean it this time!

svn path=/trunk/kdebase/kwin/; revision=48802
2000-05-08 04:50:20 +00:00
Charles Samuels
8f3cda3051 Undone edit to events.cpp (since I goofed on it)
svn path=/trunk/kdebase/kwin/; revision=48801
2000-05-08 04:39:12 +00:00
Charles Samuels
b772cfb65b The events are called by the section headers in eventsrc (not by "Name").
They won't be called by default since "default_presentation" is set to 0

eventsrc is just updated for a few more events.  (Some don't have proper
descriptions since I don't know what they do)

svn path=/trunk/kdebase/kwin/; revision=48785
2000-05-07 23:21:23 +00:00
Matthias Ettrich
0b154e4b7c slow down resize with a timer
svn path=/trunk/kdebase/kwin/; revision=48784
2000-05-07 23:10:21 +00:00
Matthias Ettrich
1671d0ddc7 knotify doesn't seem to be usable
svn path=/trunk/kdebase/kwin/; revision=48779
2000-05-07 23:05:46 +00:00
Rik Hemsley
d2f8cfec65 Fixed kicker getting hidden
svn path=/trunk/kdebase/kwin/; revision=48754
2000-05-07 20:40:16 +00:00
Matthias Ettrich
59d4eef090 pedantic
svn path=/trunk/kdebase/kwin/; revision=48753
2000-05-07 20:39:27 +00:00
Matthias Ettrich
6a36c54a7f Kwin raises the following sound events via KNotifyClient:
"Window Close"
	 "Window Iconify"
                  "Window DeIconify"
                  "Window Maximize"
                  "Window UnMaximize"
                  "Window Sticky"
                  "Window UnSticky"
                  "Window New"
                  "Window Delete"
                  "Window Trans New"
                  "Window Trans Delete"
                  "Window Shade Up"
                  "Window Shade Down"
                  "Window Move Start"
                  "Window Move End"
                  "Window Resize Start"
                  "Window Resize End"

svn path=/trunk/kdebase/kwin/; revision=48752
2000-05-07 20:38:11 +00:00
Daniel M. Duley
2c5bfad0cf Buffering for the active title. Reduces flicker when resizes make the titlebar
resize.

svn path=/trunk/kdebase/kwin/; revision=48749
2000-05-07 20:30:50 +00:00
Dirk Mueller
7c6272e088 made it compile
svn path=/trunk/kdebase/kwin/; revision=48746
2000-05-07 20:17:33 +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
Rik Hemsley
e167888fd6 Kicker now tells kwin when it's scrolled off-screen
Commented debug info

svn path=/trunk/kdebase/kwin/; revision=48544
2000-05-06 13:30:08 +00:00
Rik Hemsley
7666caed0a Fixed KWinInterface.h (thanks Simon for the temporary fix :)
Reverted the moving of inline functions in workspace.*

svn path=/trunk/kdebase/kwin/; revision=48479
2000-05-05 18:53:37 +00:00
Simon Hausmann
6af14b4440 - adding empty KWinInterface.h to make kdebase/kwin compile
(rikkus will have to fill it in later ;-)

svn path=/trunk/kdebase/kwin/; revision=48413
2000-05-05 10:05:12 +00:00
Rik Hemsley
297651e2c3 Understand more about edge-based clients and act appropriately, passing
info along to kdesktop too.

This is funky now :)

svn path=/trunk/kdebase/kwin/; revision=48377
2000-05-04 23:12:29 +00:00
Michael Matz
d19c42bd26 fix for captionChange with long title
svn path=/trunk/kdebase/kwin/; revision=48358
2000-05-04 20:54:08 +00:00
Michael Matz
c142c3ff4a lowerClient now takes two parameters (an additional 'bool dropFocus=true')
if true (default), the lowered client looses focus, and the top of
stacking order gets it. Something is not working if one lowers many
windows one after another... investigating

svn path=/trunk/kdebase/kwin/; revision=48229
2000-05-03 12:57:37 +00:00
Michael Matz
b3f88eb796 implemented lowerClient(), connected middle-Click to it.
Note that it leaves the focus where it was, which may seem strange if the
to be lowered window becomes fully obscured, but to change focus would be
the purpose of the calling function. To be discussed.

svn path=/trunk/kdebase/kwin/; revision=48202
2000-05-03 06:30:37 +00:00
Michael Matz
732c7d78bd Big B2/KWin change:
* title bar now tries to avoid to become completely obscured by other windows ;)
* moving of title bar flicker free (at least on my machine)
* all repaint problems fixed (those I knew of course), even the one on resize
* mousePosition (those arrowed cursors) now complete

svn path=/trunk/kdebase/kwin/; revision=48189
2000-05-03 00:04:26 +00:00
Daniel M. Duley
2021961a07 Fix repainting the handle when shaded.
svn path=/trunk/kdebase/kwin/; revision=47777
2000-04-28 22:00:06 +00:00
Daniel M. Duley
360e0b7686 Lowcolor version.
svn path=/trunk/kdebase/kwin/; revision=47775
2000-04-28 21:47:01 +00:00
Daniel M. Duley
0527ea967c Repaint the frame after color scheme changes.
svn path=/trunk/kdebase/kwin/; revision=47761
2000-04-28 16:40:30 +00:00
Daniel M. Duley
087cfbcbee Repaint the frame after a color scheme change.
svn path=/trunk/kdebase/kwin/; revision=47759
2000-04-28 16:32:17 +00:00
Daniel M. Duley
b58843030c Final updates for the new button color implementation. The options class
now only has one button entry, "ButtonBg", instead of 3. It's up to the client
what to do with it. All the clients are updated except mwm. As the
author noted in his README, mwm isn't Motif window manager at all but KStep ;-)
I disabled it for now until there is new drawing code in there, it would
confuse users anyways since were about to release another Krash and it is
identical to KStep.

Also, I removed the Groove and GrooveText color entries. We now use the
normal TitleBar and Font entries. Hence system will probably look funny until
you adjust the colors since it draws text on the frame and not the titlebar
bg. All the rest look much better by default.

To configure button colors set the active/inactive button background color
in KControl. I'll remove the other entries ASAP. You'll also note that the
active/inactive colors are now actually what you would expect.

svn path=/trunk/kdebase/kwin/; revision=47753
2000-04-28 15:53:00 +00:00
Daniel M. Duley
11b6ddb604 Update to new color handling and efficency improvements.
svn path=/trunk/kdebase/kwin/; revision=47733
2000-04-28 11:01:42 +00:00
Daniel M. Duley
dcf3fda8dd Updated to the new titlebar button color handling.
svn path=/trunk/kdebase/kwin/; revision=47732
2000-04-28 10:34:24 +00:00
Daniel M. Duley
a974abc657 Fixes for when active colors != inactive colors && titlebutton colors !=
frame colors.

svn path=/trunk/kdebase/kwin/; revision=47729
2000-04-28 10:10:27 +00:00
Daniel M. Duley
82316c4893 Repaing fix for when inactive != active colors.
svn path=/trunk/kdebase/kwin/; revision=47728
2000-04-28 09:56:45 +00:00
Daniel M. Duley
5fceccc02d Make it run on lowcolor displays
svn path=/trunk/kdebase/kwin/; revision=47703
2000-04-28 02:59:07 +00:00
Rik Hemsley
accc728575 Some debug info while I test avoidance of side-hugging windows
svn path=/trunk/kdebase/kwin/; revision=47701
2000-04-28 02:52:09 +00:00
Daniel M. Duley
ef63e498cc Updated drawing code. The titlebar buttons color setting is being changed from
three entries (button fg, bg, and blend) to one - button color. What exactly
to do with this is up to the individual style. This is less customizable but
a hell of a lot more coherent since the styles all draw their buttons so
differently. Right now I'm just using the button background entry. Once all
the styles are ported I'll switch to a generic button color entry.

Also I made my buttons more like other window manager styles/themes that
aim to more or less emulate platinum, but not enough to get nasty mail from
Apple ;-)

svn path=/trunk/kdebase/kwin/; revision=47697
2000-04-28 02:44:29 +00:00
Daniel M. Duley
9899f29db2 Don't install the .desktop file.
svn path=/trunk/kdebase/kwin/; revision=47627
2000-04-27 11:44:13 +00:00
Daniel M. Duley
1ca2104e79 Whoops, shouldn't of committed this yet - it's still part of my vast "new
stuff that doesn't work" codebase ;-)

svn path=/trunk/kdebase/kwin/; revision=47625
2000-04-27 11:32:57 +00:00
Daniel M. Duley
0ae123ceef Cool new Kwin C++ style engine - Modern system :) This uses buttons orignally
from the KStyle aqua theme - color reduced, converted to bitmaps, and drawn
using the color scheme. The buttons in different color schemes shows why it's
really cool to support dynamic C++ engines as well as pixmap themes ;-) Also
uses a small frame with a resize handle and mac-like (hehe - of course ;-)
drawing for everything else.

Preliminary screenshots with different color schemes are at:
http://www.mosfet.org/modern-0428.html

svn path=/trunk/kdebase/kwin/; revision=47624
2000-04-27 11:29:25 +00:00
Rik Hemsley
f65ca70e0b Fixed maximisation. Now kwin really does avoid windows which ask
to be avoided. It also updates nicely. Just move kicker from the
bottom to the left, say, and open a new window. It doesn't cover
kicker. Maximise. Still doesn't cover. Seems to work, then.

svn path=/trunk/kdebase/kwin/; revision=47602
2000-04-26 21:28:51 +00:00
Rik Hemsley
34055e684d Removed a qDebug() message. The others I've put in will go too, as
they're not necessary and are only for testing.

svn path=/trunk/kdebase/kwin/; revision=47594
2000-04-26 18:36:27 +00:00
Waldo Bastian
b33a6fa71e WABA: Grab mouse while in Alt-Tab or Control-Tab mode. This prevents a bug
which otherwise would occur when you click on the Alt-Tab-window with the
mouse. I hope I didn't break anything because this X-stuff is rather mystical.

BTW Why does KWin get so many "MotionNotify" events when you move your mouse
across certain windows?

svn path=/trunk/kdebase/kwin/; revision=47554
2000-04-26 01:45:10 +00:00
David Faure
494a879f04 grrr
svn path=/trunk/kdebase/kwin/; revision=47549
2000-04-25 23:37:33 +00:00
Daniel M. Duley
3922d1994a Reverting the no-flicker when moving titlebar patch. It doesn't repaint
properly, the whole thing needs an overhaul (I never anticipated the thing
being movable) and I want to use it now ;-)

svn path=/trunk/kdebase/kwin/; revision=47542
2000-04-25 22:44:25 +00:00
Chris Lee
d70c3af41e Adding in a personally preferred KWin style. Yet again- the first one of
its kind? Not created by Mosfet? : )

we'll see...
-Chris

svn path=/trunk/kdebase/kwin/; revision=47482
2000-04-25 01:00:31 +00:00
Charles Samuels
6f0d6ab59b whoo! Havn't typed "cvs commit" in a while :)
Anyway, this is the eventsrc for the kwin events (window shadow, minimize,
etc).  I've not connected any of the code to KWin itself because I don't
feel like damaging it :).  KConfig is broken, so foo to the kcontrol module
until someone feels like fixing it, which, most certainly, does not include
me.
I've got a teeny tiny addition to make to KNotifyClient (so to make it
start the KNotify daemon if/when needed.)

And I think "we" should patch Linux's ld.so so that it caches references
to functions.  I believe this will speed up startup times significantly.

Why am I ranting on a cvs commit off-topicly? Well. I'm aware of my weirdness.
What're you going to do about it? :)

svn path=/trunk/kdebase/kwin/; revision=47402
2000-04-24 08:13:13 +00:00
Frank Baumgart
99c4839913 --enable-final fixes
svn path=/trunk/kdebase/kwin/; revision=47102
2000-04-20 17:37:33 +00:00