My KWIN fork where I work on features like per-output virtual desktops
Find a file
Daniel M. Duley 1079007ceb Thinking about what Cristian said and how it's going to be difficult to
satisfy both laptop users who want large buttons and those who have low
resolution and want small bars. So I made it configurable :)

You can now set the titlebar height anywhere from 14 to 32 pixels, which also
changes the button size:

You currently need to edit ~/.kde/share/config/kwinrc and set:

[Laptop]
TitleHeight=Some number between 14-32.

Then restart KWin (it's not in the options class yet). The default is still
a small titlebar.

Here's the shot I put up before with the default small titlebar:
http://www.mosfet.org/kwinlaptop.gif

Here's one with a larger titlebar (21 pixels):
http://www.mosfet.org/laptop-bigtitlebar.gif

svn path=/trunk/kdebase/kwin/; revision=44755
2000-03-26 13:42:16 +00:00
clients Thinking about what Cristian said and how it's going to be difficult to 2000-03-26 13:42:16 +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 inform modules about initial desktop placement 2000-03-25 14:14:34 +00:00
client.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +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>