You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Luboš Luňák 4eb2dfa0ee shadeChange() ( for the icewm plugin ) 25 years ago
clients Double-click problems are now hopefully fixed. 25 years ago
default Put stuff in KWinInternal namespace. 25 years ago
images moved over from kwm. 27 years ago
pics - fog-grey.png bluesun.png greenie.light.png greenie.dim.png 25 years ago
wm-spec WABA: Adding window manager spec. (Revision ???? status ????) 26 years ago
KWinInterface.h The new refresh code. This will refresh the entire desktop for you, 25 years ago
LICENSE BSD style without advertising stuff 26 years ago
Makefile.am Fix for --enable-final 25 years ago
NEWCOLORSCHEME.README My weekly big ass style commit ;-) This implements what I discussed earlier 27 years ago
README Spell check 'n' stuff. 26 years ago
atoms.cpp pretend to be CDE to improve interoperability with Sun's latest JDK. 25 years ago
atoms.h legacy session management support (WM_COMMAND) for emacs-lovers. 25 years ago
client.cpp shadeChange() ( for the icewm plugin ) 25 years ago
client.h shadeChange() ( for the icewm plugin ) 25 years ago
events.cpp Send notifications on desktop changes. 26 years ago
events.h Send notifications on desktop changes. 26 years ago
eventsrc CVS_SILENT made messages 25 years ago
hil-app-kwin.png adding new icons sent by Tackat 27 years ago
him-app-kwin.png adding new icons sent by Tackat 27 years ago
killwindow.cpp Put stuff in KWinInternal namespace. 25 years ago
killwindow.h Put stuff in KWinInternal namespace. 25 years ago
kwin_main.cpp The dummy.cpp hack makes no sense when it starts to contain 26 years ago
kwinbindings.cpp Added window raise-or-lower 25 years ago
lom-app-kwin.png RGBA -> 40 colors 25 years ago
los-app-kwin.png RGBA -> 40 colors 25 years ago
main.cpp Make Workspace a singleton, accesible via Workspace::self() 25 years ago
main.h Make Workspace a singleton, accesible via Workspace::self() 25 years ago
options.cpp Make resource management in clients easier with these three functions: 25 years ago
options.h Make resource management in clients easier with these three functions: 25 years ago
plugins.cpp tabify 25 years ago
plugins.h Make resource management in clients easier with these three functions: 25 years ago
pop.wav take a look. it handles notifications now! :) 26 years ago
stdclient_bitmaps.h Did a real implementation for the question mark button for the standard style. 27 years ago
tabbox.cpp Made Alt+Tab , Ctrl+Tab configurable. Also added in kcontrol module missing option 25 years ago
tabbox.h Made Alt+Tab , Ctrl+Tab configurable. Also added in kcontrol module missing option 25 years ago
workspace.cpp window snapping for all windows, including dialogs (suggestion by Melchior Franz) 25 years ago
workspace.h Make Workspace a singleton, accesible via Workspace::self() 25 years ago

README

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


/*!
Different focus policies:
<ul>

<li>ClickToFocus - Clicking into a window activates it. This is
also the default.

<li>FocusFollowsMouse - Moving the mouse pointer actively onto a
normal window activates it. For convenience, the desktop and
windows on the dock are excluded. They require clicking.

<li>FocusUnderMouse - The window that happens to be under the
mouse pointer becomes active. The invariant is: no window can
have focus that is not under the mouse. This also means that
Alt-Tab won't work properly and popup dialogs are usually
usable with the keyboard. Note that the desktop and windows on
the dock are excluded for convenience. They get focus only when
clicking on it.

<li>FocusStrictlyUnderMouse - this is even worse than
FocusUnderMouse. Only the window under the mouse pointer is
active. If the mouse points nowhere, nothing has the focus. If
the mouse points onto the desktop, the desktop has focus. The
same holds for windows on the dock.

Note that FocusUnderMouse and FocusStrictlyUnderMouse are not
particularly useful. They are only provided for old-fashioned
die-hard UNIX people ;-)

</ul>
*/
FocusPolicy=ClickToFocus | FocusFollowsMouse | FocusUnderMouse | FocusStrictlyUnderMouse


/**
Different Alt-Tab-Styles:
<ul>

<li> KDE - the recommended KDE style. Alt-Tab opens a nice icon
box that makes it easy to select the window you want to tab
to. The order automatically adjusts to the most recently used
windows. Note that KDE style does not work with the
FocusUnderMouse and FocusStrictlyUnderMouse focus
policies. Choose ClickToFocus or FocusFollowsMouse instead.

<li> CDE - the old-fashion CDE style. Alt-Tab cycles between
the windows in static order. The current window gets raised,
the previous window gets lowered.

</ul>
*/
AltTabStyle=KDE | CDE



[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



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"


Have fun,

Matthias Ettrich <ettrich@kde.org>