My KWIN fork where I work on features like per-output virtual desktops
Find a file
Matthias Ettrich 5fb81f837b no "resize" and "maximize" options for non-resizable windows
svn path=/trunk/kdebase/kwin/; revision=56608
2000-07-13 17:59:12 +00:00
clients Away with the *.moc.* files. 2000-06-29 21:36:40 +00:00
images moved over from kwm. 1999-12-14 21:11:15 +00:00
pics Install the pics under directory kwin instead of kwm. 2000-06-11 22:41:20 +00:00
wm-spec WABA: Adding window manager spec. (Revision ???? status ????) 2000-06-04 21:39:33 +00:00
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 no "resize" and "maximize" options for non-resizable windows 2000-07-13 17:59:12 +00:00
client.h no "resize" and "maximize" options for non-resizable windows 2000-07-13 17:59:12 +00:00
events.cpp take a look. it handles notifications now! :) 2000-06-08 23:44:41 +00:00
events.h Kwin raises the following sound events via KNotifyClient: 2000-05-07 20:38:11 +00:00
eventsrc take a look. it handles notifications now! :) 2000-06-08 23:44:41 +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
killwindow.cpp another missing file 2000-06-19 10:46:08 +00:00
killwindow.h missing file 2000-06-19 10:45:45 +00:00
kwinbindings.cpp Added the following two functions: 2000-07-04 17:07:58 +00:00
KWinInterface.h some cleanups, reconfigure() dcop call 2000-06-22 21:57:39 +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 no "resize" and "maximize" options for non-resizable windows 2000-07-13 17:59:12 +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 * -DQT_NO_ASCII_CAST 2000-07-06 16:48:13 +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 sexy toolwindows (at least in standard style) 2000-07-12 12:46:58 +00:00
options.h sexy toolwindows (at least in standard style) 2000-07-12 12:46:58 +00:00
plugins.cpp Hmm, somebody went on holidays and forgot to commit killwindow.h apparently :-> 2000-06-09 00:20:21 +00:00
plugins.h Session management for KDE-2.x : say hello to the ksmserver 2000-03-24 22:23:02 +00:00
pop.wav take a look. it handles notifications now! :) 2000-06-08 23:44:41 +00:00
README focus policies and alt-tab style: 2000-06-22 18:08:35 +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 sexy toolwindows (at least in standard style) 2000-07-12 12:46:58 +00:00
stdclient.h sexy toolwindows (at least in standard style) 2000-07-12 12:46:58 +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 improved focus follows mouse support with Alt-Tab 2000-07-08 11:57:38 +00:00
tabbox.h WABA: Focus fixes. 2000-06-01 05:32:06 +00:00
workspace.cpp no "resize" and "maximize" options for non-resizable windows 2000-07-13 17:59:12 +00:00
workspace.h desktop names 2000-07-12 18:08:24 +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
      unsable 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
      particulary useful. They are only provided for old-fashined
      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@kde.org>