My KWIN fork where I work on features like per-output virtual desktops
Find a file
Cristian Tibirna 5db5950bc1 CT: kill off-by-one bug in smart placement. Thanks to Michael Driscoll for
bug report, bug analysis and patch review.

svn path=/trunk/kdebase/kwin/; revision=83151
2001-02-16 18:05:27 +00:00
clients CVS_SILENT made messages 2001-02-16 03:13:52 +00:00
default Implement iconChange() 2001-02-15 21:40:54 +00:00
images
pics Install the pics under directory kwin instead of kwm. 2000-06-11 22:41:20 +00:00
wm-spec
atoms.cpp possibility to iconify, deiconify without animation 2000-06-24 17:58:10 +00:00
atoms.h possibility to iconify, deiconify without animation 2000-06-24 17:58:10 +00:00
client.cpp Commentting out evil maximize behavior ;-) 2001-02-13 00:46:45 +00:00
client.h make xswallow work 2001-01-16 21:29:36 +00:00
events.cpp Send notifications on desktop changes. 2000-12-21 21:04:52 +00:00
events.h Send notifications on desktop changes. 2000-12-21 21:04:52 +00:00
eventsrc CVS_SILENT made messages 2001-02-16 03:13:52 +00:00
hil-app-kwin.png
him-app-kwin.png
killwindow.cpp WABA: Fix for --enable-final 2000-08-16 04:07:16 +00:00
killwindow.h missing file 2000-06-19 10:45:45 +00:00
kwin_main.cpp The dummy.cpp hack makes no sense when it starts to contain 2000-09-12 22:10:37 +00:00
kwinbindings.cpp GUI: Mouse emulation F12 -> ALT+F12. 2001-02-14 13:35:02 +00:00
KWinInterface.h named attributes 2000-12-20 19:25:31 +00:00
LICENSE BSD style without advertising stuff 2000-08-05 12:51:39 +00:00
lom-app-kwin.png
los-app-kwin.png
main.cpp multihead in kdebase 2001-02-06 18:32:07 +00:00
main.h
Makefile.am The dummy.cpp hack makes no sense when it starts to contain 2000-09-12 22:10:37 +00:00
NEWCOLORSCHEME.README
options.cpp CT: kcontrol/windows.cpp says default is off for ShadeHover 2001-01-20 03:55:42 +00:00
options.h Balaji Ramani <balaji@spinnakernet.com>: shadeHover support 2001-01-14 20:16:04 +00:00
plugins.cpp Don't crash when changing decorations with RMB. 2001-02-15 23:19:07 +00:00
plugins.h Don't crash when changing decorations with RMB. 2001-02-15 23:19:07 +00:00
pop.wav take a look. it handles notifications now! :) 2000-06-08 23:44:41 +00:00
README Spell check 'n' stuff. 2000-07-28 08:49:37 +00:00
stdclient_bitmaps.h
tabbox.cpp Increasing delay time to 90. I think higher might still be better. 2000-08-07 23:18:48 +00:00
tabbox.h
workspace.cpp CT: kill off-by-one bug in smart placement. Thanks to Michael Driscoll for 2001-02-16 18:05:27 +00:00
workspace.h fixed focus problems with qt-2.2.4 (see separate mail on kde-core-devel) 2001-02-03 12:30:46 +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


    /*!
      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>