Commit graph

27389 commits

Author SHA1 Message Date
Waldo Bastian
87855e5816 WABA: Reverted last patch, another attempt:
* Alt-MouseClick on the titlebar now does the same as what it does on
the window itself.

svn path=/trunk/kdebase/kwin/; revision=51396
2000-05-31 22:26:28 +00:00
Waldo Bastian
d914752cac WABA: Activate client on mouse-release...
You can now move a window without activating it
let's see how many people will get upset about this >:-)

svn path=/trunk/kdebase/kwin/; revision=51361
2000-05-31 19:13:14 +00:00
Cristian Tibirna
9946d82ee1 CT: hmmm! This was shorter than what LinuxQA needed to write the bug report. I wanted first to complain that KDE-2 is in alpha. But it's shorter this way :-)
svn path=/trunk/kdebase/kwin/; revision=51278
2000-05-31 02:35:52 +00:00
Waldo Bastian
c3d3c81d64 WABA: Keep focus with same window after switching desktops
svn path=/trunk/kdebase/kwin/; revision=51128
2000-05-30 05:52:11 +00:00
Waldo Bastian
59e4a2c8fc WABA: Try to kill the window under that is actually under the cursor.
svn path=/trunk/kdebase/kwin/; revision=51107
2000-05-29 22:38:43 +00:00
Waldo Bastian
81b4d60d87 WABA: Make sure not to move a window completly off the screen. (BR 2916)
svn path=/trunk/kdebase/kwin/; revision=50830
2000-05-27 01:56:08 +00:00
Matthias Ettrich
c0d337d352 cleanups: less debug output, less flicker, less confusing code
svn path=/trunk/kdebase/kwin/; revision=50775
2000-05-26 13:54:50 +00:00
Kurt Granroth
795b743459 Instead of matching for Kicker, let's match for any window that starts
with kicker.  This allows us to apply kicker rules for internalapplets
that are external to Kicker (e.g., kasbar and ktaskbar)

Also converted qDebug calls to kdDebug while I was debugging

svn path=/trunk/kdebase/kwin/; revision=50597
2000-05-24 20:57:42 +00:00
Rik Hemsley
452395b559 Fixed some activation stuff. When you get down to 1 window, it's
activated. This was really annoying me :)

svn path=/trunk/kdebase/kwin/; revision=50437
2000-05-23 14:55:50 +00:00
Waldo Bastian
7c426bc687 WABA: If we set "may not move" we mean it! No cheating via Alt-F3!
svn path=/trunk/kdebase/kwin/; revision=50046
2000-05-20 07:54:11 +00:00
Kurt Granroth
7853d20753 Added support for Ctrl+Alt+Esc to kill a window. I basically just cut-n-
pasted everything from kwm.  It works.

However, I don't know if this fits the new design or not.  Maybe some
of the functions are accomplished elsewhere?  I think Matthias needs
to take a look at this...

But like I said, it does work :-)

svn path=/trunk/kdebase/kwin/; revision=49849
2000-05-17 23:02:42 +00:00
Kurt Granroth
3396c20935 Added new action: Ctrl+Alt+Del will start the logout/shutdown sequence.
Since this uses kaccel, it is (of course) configurable.

svn path=/trunk/kdebase/kwin/; revision=49834
2000-05-17 20:15:17 +00:00
Waldo Bastian
ebbf5fe55c WABA: Use $(KDE_PLUGIN) for plugins and let them link against kwin.{la|so}
svn path=/trunk/kdebase/kwin/; revision=49722
2000-05-16 23:10:41 +00:00
Rik Hemsley
b5b443c5d2 Reorganised updateAvoidPolicy(), converted 2-spaces to a tab and checked
it doesn't wrap when tabs are at 8, for ettrich

svn path=/trunk/kdebase/kwin/; revision=49388
2000-05-14 03:27:07 +00:00
Rik Hemsley
5fc7cf3f1f Implemented delayed-show for tab box. Configurable, by default off.
To set it, put this in kwinrc:
[TabBox]
ShowDelay=true
DelayTime=200 (or whatever you want, in ms)

svn path=/trunk/kdebase/kwin/; revision=49379
2000-05-14 01:58:13 +00:00
Matthias Elter
3b81ace1ea - SUBDIRS = pics clients
+ SUBDIRS = . pics clients

Fixes RISC-OS client compilation for me.

svn path=/trunk/kdebase/kwin/; revision=49166
2000-05-11 11:02:59 +00:00
Simon Hausmann
a3e3579d21 - make it compile ;-)
svn path=/trunk/kdebase/kwin/; revision=49150
2000-05-11 08:29:47 +00:00
Rik Hemsley
0d91340735 Fixed some silliness.
Removed more layout code.

svn path=/trunk/kdebase/kwin/; revision=49145
2000-05-11 04:17:35 +00:00
Rik Hemsley
baa151afb3 Many fixes to RISC OS client. Still needs major work to be perfect.
Changed spaces to tab for ettrich in client.cpp ;)
Changed something that looked like it was trying to do manhattanLength()
so it actually does.

svn path=/trunk/kdebase/kwin/; revision=49144
2000-05-11 03:52:24 +00:00
Rik Hemsley
3ac4896a57 Turned layout()->activate() into a new virtual function, 'activateLayout()',
which is called at the same places.

Mosfet: This is necessary because we are converting to not use QLayout
in clients. Without this, you can't get the right size for your windows.
Just implement it in your client and do your layout in it (surprise, eh ?)

svn path=/trunk/kdebase/kwin/; revision=49143
2000-05-11 03:31:54 +00:00
Rik Hemsley
1f13ef7c35 Argh ! Check return values of functions like QWidget::layout() !
Took me ages to figure out why riscosstyle crashed :(

svn path=/trunk/kdebase/kwin/; revision=49137
2000-05-10 23:44:29 +00:00
Rik Hemsley
69c7133c9d Temporary, unsatisfactory fix for alt-drag freezing kwin and just about
everything else. kwin assumes you want it to mess with the cursor, and
provide edge-based resize etc. You can't override it easily. In fact,
I still haven't found out how.

svn path=/trunk/kdebase/kwin/; revision=49114
2000-05-10 19:55:13 +00:00
Stephan Kulow
5029a1389a C++
svn path=/trunk/kdebase/kwin/; revision=49111
2000-05-10 19:24:48 +00:00
Waldo Bastian
626753571d WABA: Fixed a bug which wasted 0.2% of my effective screen size >:-)
svn path=/trunk/kdebase/kwin/; revision=49060
2000-05-10 04:36:50 +00:00
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