My KWIN fork where I work on features like per-output virtual desktops
Find a file
Daniel M. Duley 5aad79903d Figured I better set some guidelines now ;-)
For inclusion in CVS you must:

a) Follow the user color settings. This means no normal pixmaps, which when
used in a dedicated KWin style allow no configuration at all (you can't
override the pixmaps and you can't follow the color scheme). KWM themes
are for that, at least then everything is configurable. It makes no sense to
just make pixmaps then bitblt them, since it is way less functional than KWM
themes.

If you want to draw decorations first you can use kpixmap2bitmap in kdegraphics
to separate the shades and then kColorBitmaps in kdrawutil.h to draw it using
a colorgroup from the options class.

b) You must follow at least the color settings from the user Options class.

svn path=/trunk/kdebase/kwin/; revision=45132
2000-03-30 10:09:26 +00:00
clients Figured I better set some guidelines now ;-) 2000-03-30 10:09:26 +00:00
images moved over from kwm. 1999-12-14 21:11:15 +00:00
pics moved over from kwm. 1999-12-14 21:11:15 +00:00
atoms.cpp Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
atoms.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
client.cpp remove some passive grab combinations on active windows. Helps GIMP, TK and Co. 2000-03-29 14:53:25 +00:00
client.h remove some passive grab combinations on active windows. Helps GIMP, TK and Co. 2000-03-29 14:53:25 +00:00
hil-app-kwin.png adding new icons sent by Tackat 1999-12-05 13:39:13 +00:00
him-app-kwin.png adding new icons sent by Tackat 1999-12-05 13:39:13 +00:00
kwin more experimental stuff 1999-09-27 16:02:44 +00:00
kwinbindings.cpp More keyboard commands such as "Window move" and "Window resize". 1999-12-06 00:43:55 +00:00
lom-app-kwin.png adding new icons sent by Tackat 1999-12-05 13:39:13 +00:00
los-app-kwin.png adding new icons sent by Tackat 1999-12-05 13:39:13 +00:00
main.cpp added phase2 workaround for broken qt-2.1 beta3 2000-03-25 13:46:01 +00:00
main.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
Makefile.am WABA: Build kwin as a kdeinit module. 2000-02-24 14:46:31 +00:00
NEWCOLORSCHEME.README My weekly big ass style commit ;-) This implements what I discussed earlier 2000-01-23 23:33:29 +00:00
options.cpp Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
options.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
plugins.cpp Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
plugins.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
README animated shading works again. Shortcut for shading possible 1999-11-29 02:49:20 +00:00
README.KRASH I was going to comment out all the styles except stdclient and system for 1999-12-14 23:12:12 +00:00
stdclient.cpp Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
stdclient.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
stdclient_bitmaps.h Did a real implementation for the question mark button for the standard style. 2000-01-17 05:31:28 +00:00
tabbox.cpp Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
tabbox.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
workspace.cpp Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
workspace.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00

This is kwin, kwm next generation.

Currently supported options in the kwinrc:

[WM]
... general color stuff, usually in kdeglobals  ...

[Windows]

MoveMode=Opaque|Transparent
ResizeMode=Opaque|Transparent
Placement=Smart|Random|Cascade
AnimateShade=true|false
AnimSteps=<integer=20>
BorderSnapZone=<integer=10>
WindowSnapZone=<integer=10>
TitlebarDoubleClickCommand=Move|Resize|
        Maximize|Iconify|Close|Sticky|Shade|Operations

[MouseBindings]

	CommandActiveTitlebar1 |
	CommandActiveTitlebar2 |
	CommandActiveTitlebar3 | 
	CommandInactiveTitlebar1 |
	CommandInactiveTitlebar2 |
	CommandInactiveTitlebar3 |
	CommandWindow1 |
	CommandWindow2 |
	CommandWindow3 |
	CommandAll1 |
	CommandAll2 |
	CommandAll3 
    =
	Raise |
	Lower |
	Operations Menu |
	Toggle raise and  lower |
	Activate and raise |
	Activate and lower |
	Activate |
	Activate, raise and pass click |
	Activate and pass click |
	Move |
	Resize |
	Nothing 




Have fun,

   Matthias
  <ettrich@kde.org>