My KWIN fork where I work on features like per-output virtual desktops
Find a file
Karol Szwed cf8e983d87 Do not use saveunder in opaque modes as it slows down
moving/resizing significantly.
(kwin_iii port later)

svn path=/trunk/kdebase/kwin/; revision=231502
2003-06-15 07:19:05 +00:00
clients Fix margin. 2003-06-14 23:55:32 +00:00
images moved over from kwm. 1999-12-14 21:11:15 +00:00
kcmkwin Fix warning in HEAD too. 2003-06-11 08:02:11 +00:00
pics Adjusting datadir for use with unsermake. 2003-04-09 12:48:29 +00:00
wm-spec Remove ancient 2yr old extended WM spec. 2002-08-21 07:37:55 +00:00
atoms.cpp second half of the "avoid stealing focus if possible" fix 2002-02-28 22:11:43 +00:00
atoms.h Since some of the .h files are installed ... 2002-07-26 20:30:36 +00:00
client.cpp Do not use saveunder in opaque modes as it slows down 2003-06-15 07:19:05 +00:00
client.h #55510 2003-03-06 12:12:02 +00:00
COMPLIANCE update 2003-01-10 12:36:46 +00:00
cr16-app-kwin.png Switching over to Crystal SVG 2002-10-26 12:26:09 +00:00
cr32-app-kwin.png Switching over to Crystal SVG 2002-10-26 12:26:09 +00:00
cr48-app-kwin.png Switching over to Crystal SVG 2002-10-26 12:26:09 +00:00
events.cpp I'd like to be able to send KWin KNotify evets to a file. 2002-09-30 12:57:59 +00:00
events.h Since some of the .h files are installed ... 2002-07-26 20:30:36 +00:00
eventsrc CVS_SILENT made messages 2003-05-31 05:27:05 +00:00
geometrytip.cpp Do not use saveunder in opaque modes as it slows down 2003-06-15 07:19:05 +00:00
geometrytip.h Do not use saveunder in opaque modes as it slows down 2003-06-15 07:19:05 +00:00
killwindow.cpp Fix #44133. Approved by Gallium. 2002-10-15 13:41:37 +00:00
killwindow.h Since some of the .h files are installed ... 2002-07-26 20:30:36 +00:00
kwin.upd WOOPS. I hope no-one updated yet. :) 2003-02-18 04:44:09 +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 keyboard shortcuts for always-on-top & on-all-desktops 2002-12-17 16:09:08 +00:00
kwinbutton.cpp - Make kwin tooltip obey our placement settings 2003-02-18 05:05:43 +00:00
kwinbutton.h this is the actual bugfix from Gallium for the window decorations. This is 2001-07-01 10:10:17 +00:00
KWinInterface.h Use the new DCOP signals API. 2002-03-08 07:14:30 +00:00
LICENSE BSD style without advertising stuff 2000-08-05 12:51:39 +00:00
main.cpp Enabled the XRANDR support conditional on Qt >= 3.2. 2003-05-25 16:39:42 +00:00
main.h Window manager selection, from kwin_iii branch. 2003-01-24 15:39:52 +00:00
Makefile.am Adjusting datadir for use with unsermake. 2003-04-09 12:48:29 +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 - Make kwin tooltip obey our placement settings 2003-02-18 05:05:43 +00:00
options.h Add a checkbox to enable/disable the geometry tip, making it _OFF_ by default, 2003-01-10 10:54:57 +00:00
placement.cpp Fix placement policies - the recent change of semantics of Client::desk 2003-01-03 12:53:26 +00:00
placement.h Since some of the .h files are installed ... 2002-07-26 20:30:36 +00:00
pluginlibFix.pl convert plugin lib from libkwinBLA to kwin_BLA, so you don't loose your settings 2002-03-08 20:12:09 +00:00
plugins.cpp commit fix for jcook 2003-05-24 02:33:48 +00:00
plugins.h Fixed the display depth test so we get the right default style on 2002-10-28 22:54:25 +00:00
pop.wav take a look. it handles notifications now! :) 2000-06-08 23:44:41 +00:00
popupinfo.cpp Have you seen a lady fairer? 2003-02-20 05:52:39 +00:00
popupinfo.h Since some of the .h files are installed ... 2002-07-26 20:30:36 +00:00
README Spell check 'n' stuff. 2000-07-28 08:49:37 +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 Hah ! The new QPainter check pays off. 2003-04-22 10:05:58 +00:00
tabbox.h Since some of the .h files are installed ... 2002-07-26 20:30:36 +00:00
workspace.cpp Filter out FocusIn/FocusOut events. Should help #44881. 2003-06-11 08:48:13 +00:00
workspace.h Get rid of the focusEnsurance hack that was trying to work around 2003-04-15 18:51:39 +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>