My KWIN fork where I work on features like per-output virtual desktops
7ba2cf2d87
First off, Rikkus was right about double buffering. I really didn't think this was needed and tried everything to get rid of the flicker but it didn't happen until I double buffered the title. I was able to optimize this quite a bit (only recalc on resize, only buffer the active title/color scheme, etc...). In the meantime, I got rid of a lot of non-optimal painting and now use NoBackground for the widget. The latter was a obvious move as it avoids a whole clearing of the widget :P This resulted in a big speed improvement, which helps offset the time taken in buffering ;-) svn path=/trunk/kdebase/kwin/; revision=45264 |
||
---|---|---|
clients | ||
images | ||
pics | ||
atoms.cpp | ||
atoms.h | ||
client.cpp | ||
client.h | ||
hil-app-kwin.png | ||
him-app-kwin.png | ||
kwin | ||
kwinbindings.cpp | ||
lom-app-kwin.png | ||
los-app-kwin.png | ||
main.cpp | ||
main.h | ||
Makefile.am | ||
NEWCOLORSCHEME.README | ||
options.cpp | ||
options.h | ||
plugins.cpp | ||
plugins.h | ||
README | ||
README.KRASH | ||
stdclient.cpp | ||
stdclient.h | ||
stdclient_bitmaps.h | ||
tabbox.cpp | ||
tabbox.h | ||
workspace.cpp | ||
workspace.h |
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>