Commit graph

20198 commits

Author SHA1 Message Date
Sandro Giessl
af8ea39ba9 insert catalogue kwin_lib. it seems to me this is the best place for it...
svn path=/trunk/kdebase/kwin/; revision=397488
2005-03-14 09:50:19 +00:00
Sandro Giessl
8a64612f7b do not unnecessarily rebuild everything in reset(), makes deco recreation a bit faster. still slower than other decos due to the expensive smoothScale, image recoloring etc. - this should be cached
svn path=/trunk/kdebase/kwin/; revision=397486
2005-03-14 09:39:09 +00:00
Sandro Giessl
7f9e658fb3 save reset calls in setSize() etc., inform buttons about what has changed in reset() so they can better optimize for performance
svn path=/trunk/kdebase/kwin/; revision=397485
2005-03-14 09:33:29 +00:00
Sandro Giessl
66ee8c3b4d add KWIN_EXPORT, thanks willem boschman
svn path=/trunk/kdebase/kwin/; revision=397197
2005-03-13 11:54:17 +00:00
Sandro Giessl
c62cf962d6 do not use statics to access the handler
svn path=/trunk/kdebase/kwin/; revision=397053
2005-03-12 20:13:51 +00:00
Sandro Giessl
64e8b52430 keep cached pixmaps in the handler so not every decoration needs to create its own pixmaps...
svn path=/trunk/kdebase/kwin/; revision=397041
2005-03-12 19:31:31 +00:00
Sandro Giessl
45d3cfaa36 speed up rendering a bit more by reducing the number of unnecessary QPainter calls.
svn path=/trunk/kdebase/kwin/; revision=396916
2005-03-12 09:58:35 +00:00
Sandro Giessl
6915c12e5f optimize the painting of title bar tiles a bit...
svn path=/trunk/kdebase/kwin/; revision=396915
2005-03-12 09:34:44 +00:00
Sandro Giessl
0bcfea20c9 add decoration recreation test
svn path=/trunk/kdebase/kwin/; revision=396795
2005-03-11 21:08:27 +00:00
Sandro Giessl
cc148f1762 Add message extraction for KCommonDecoration. Could someone who knows Automake/i18n check if this is correct, please?
svn path=/trunk/kdebase/kwin/; revision=396775
2005-03-11 20:20:00 +00:00
Sandro Giessl
74dda10aaa Port Plastik to KCommonDecoration.
svn path=/trunk/kdebase/kwin/; revision=396773
2005-03-11 20:14:04 +00:00
Sandro Giessl
37992c3cb1 Import KCommonDecoration/KCommonDecorationButton. They ease development of decorations
by implementing parts of KDecoration which are error prone and common for most decorations.

Plastik will be ported to it. It should be possible to port at least Web, System++, RISC OS,
Quartz, Laptop, KStep, KDE 2, CDE easily - I will have a look at this some time. Perhaps also
Redmond, Modern System, Keramik, IceWM, Glow. I'm sure they will gain maintainability...

I'm open to discussions on the API...
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=396767
2005-03-11 20:10:46 +00:00
Sandro Giessl
721415e1fc do not show the preview label since this is not relevant and only slows down the test
svn path=/trunk/kdebase/kwin/; revision=396656
2005-03-11 14:31:45 +00:00
Sandro Giessl
f80d4f2160 add caption and resize tests.
svn path=/trunk/kdebase/kwin/; revision=396655
2005-03-11 14:28:19 +00:00
Sandro Giessl
b10f0059c7 Import a little tool which helps comparing the performance of decorations.
svn path=/trunk/kdebase/kwin/; revision=396399
2005-03-10 16:57:04 +00:00
Luboš Luňák
4f43e53955 Fix #101209.
BUG: 101209

svn path=/trunk/kdebase/kwin/; revision=396387
2005-03-10 16:29:00 +00:00
Luboš Luňák
678ba0894d Some cleanups.
svn path=/trunk/kdebase/kwin/; revision=396376
2005-03-10 15:55:46 +00:00
Luboš Luňák
c025cb57ef Redo the fix for #95731 - when a window is manually raised above another
window, bring it up to that window's layer only if the layer is ActiveLayer
(i.e. fullscreen).
BUG: 100762

svn path=/trunk/kdebase/kwin/; revision=396099
2005-03-09 15:04:32 +00:00
Script Kiddy
ec5d466c69 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=395420
2005-03-07 09:05:40 +00:00
Luboš Luňák
e808718c0a Prefer keeping fixed width when keeping aspect ratio.
BUG: 87298

svn path=/trunk/kdebase/kwin/; revision=393796
2005-02-28 13:44:19 +00:00
Luboš Luňák
47075ef04e Break unnecessary transiency relations caused by many group transient windows.
Avoids exponentially expensive operations in KWin.
CCBUG: 95231

svn path=/trunk/kdebase/kwin/; revision=393793
2005-02-28 13:43:00 +00:00
Thomas Lübking
90e5b03c31 BUGS:99832
BUGS:99833
BUGS:93380
kompmgr now should get proper window shapes, removing several artefact bugs
just swapping two lines in this file

svn path=/trunk/kdebase/kwin/; revision=393629
2005-02-27 20:49:13 +00:00
Thomas Lübking
36eb2d4f13 freeing hidden feature to apply translucency only on window parts (title/content)
BUGS:99121
changed "Translucency" tab to "Opacity"

svn path=/trunk/kdebase/kwin/; revision=393628
2005-02-27 20:44:44 +00:00
Thomas Lübking
28d89857a1 fixes invisible remapped windows (especially on long fade offs)
svn path=/trunk/kdebase/kwin/; revision=393125
2005-02-25 23:42:53 +00:00
Script Kiddy
c8a3be9b0c CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=392535

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Blkmarble.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/Circuit.jpg.desktop
M	wallpapers/Foggy1.jpg.desktop
M	wallpapers/Island-of-Elba.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/Marble01.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Paper01.jpg.desktop
M	wallpapers/Planning-And-Probing-1.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/fulmine.jpg.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/kde_passion.jpg.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/only_k.jpg.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2005-02-23 05:08:44 +00:00
Adriaan de Groot
d3cf27c20c old C (gcc 2.95) fix -- no statements before variable declarations
svn path=/trunk/kdebase/kwin/; revision=392038
2005-02-22 00:31:32 +00:00
Thomas Lübking
7eff49ed22 BUGS:99836
better opacity handling of modal windows and their transientFor()s

svn path=/trunk/kdebase/kwin/; revision=391550
2005-02-20 23:06:11 +00:00
Thomas Lübking
9e6ae5b095 BUGS:99840
adjust opacity on slider.valueChanged() rather than s.moved() (allowing use of mw)

svn path=/trunk/kdebase/kwin/; revision=391549
2005-02-20 23:04:19 +00:00
Thomas Lübking
9ddd01f11c fixes a previously created bug (active windows do not receive callbacks after fade)
svn path=/trunk/kdebase/kwin/; revision=391040
2005-02-19 22:18:52 +00:00
Thomas Lübking
f9d8223e22 BUGS:99800
fixes problem with missing fade deques on unshadowed windows

svn path=/trunk/kdebase/kwin/; revision=391030
2005-02-19 21:33:14 +00:00
Script Kiddy
8ae13aede0 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=390802
2005-02-19 04:29:22 +00:00
Thomas Lübking
988c0933c7 BUGS:99718
opacity popup now not closing on slider releases

svn path=/trunk/kdebase/kwin/; revision=390732
2005-02-18 23:11:39 +00:00
Dirk Mueller
7e26397f67 fix build with gcc 2.95, based on patch by Aurélien Gâteau
svn path=/trunk/kdebase/kwin/; revision=390715
2005-02-18 22:28:25 +00:00
Thomas Lübking
07906c47c0 just noticed that clicking the button on the opacity slider causes the same misvalue problem - fixed
svn path=/trunk/kdebase/kwin/; revision=390378
2005-02-17 21:12:01 +00:00
Thomas Lübking
de85f12894 BUGS:99636
fixes wrong opacity value on popup show

svn path=/trunk/kdebase/kwin/; revision=390369
2005-02-17 20:48:11 +00:00
Thomas Lübking
e9ecc46ac0 fixed memory leak
svn path=/trunk/kdebase/kwin/; revision=388495
2005-02-11 22:14:12 +00:00
Thomas Lübking
e1279c6cf8 ignore display setting in ~/.xcompmgrrc - may cause problems if set and the user starts another session on another display
svn path=/trunk/kdebase/kwin/; revision=388385
2005-02-11 16:07:50 +00:00
Lukáš Tinkl
469ea5a9b6 show the border size name translated
svn path=/trunk/kdebase/kwin/; revision=388298
2005-02-11 11:06:08 +00:00
Script Kiddy
73522bcdce CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=388264
2005-02-11 04:54:21 +00:00
Thomas Lübking
d3cdd84463 fixing fades on partial translucent windows
svn path=/trunk/kdebase/kwin/; revision=388148
2005-02-10 20:49:43 +00:00
Thomas Lübking
7ee9c8bbdd removed UI changes - sorry everyone
svn path=/trunk/kdebase/kwin/; revision=387812
2005-02-09 19:26:51 +00:00
Thomas Lübking
cd5ac45b77 added support for applying translucency on the titlebar or the content (not really: anything but the titlebar) only
svn path=/trunk/kdebase/kwin/; revision=387795
2005-02-09 18:31:35 +00:00
Thomas Lübking
d7e31d3499 fix no good - new fix =)
use SDL_VIDEO_X11_VISUALID=0x24 appname to start

svn path=/trunk/kdebase/kwin/; revision=387497
2005-02-08 18:32:15 +00:00
Thomas Lübking
b4e399f065 support for some non XRenderFindVisualFormat compliant windows (SDL)
svn path=/trunk/kdebase/kwin/; revision=387484
2005-02-08 17:43:49 +00:00
Luboš Luňák
bdd2665a29 Something I forgot for #44268 - show the shortcut in the titlebar.
svn path=/trunk/kdebase/kwin/; revision=387104
2005-02-07 15:17:26 +00:00
Luboš Luňák
240fc84c05 Avoid unnecessary roundtrips finding out WM_CLIENT_MACHINE when setting
caption.

svn path=/trunk/kdebase/kwin/; revision=387096
2005-02-07 14:35:53 +00:00
Script Kiddy
a71d1d57dd CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=386301
2005-02-05 04:17:59 +00:00
Sandro Giessl
01bf9c9334 Inspired by Knut Johansson's patch:
Fix the decoration preview of decorations like Quartz and Web when custom
button positions get disabled. They rely on titleButtonsLeft()/Right()
returning the default value described in the API docs.

svn path=/trunk/kdebase/kwin/; revision=386102
2005-02-04 11:38:37 +00:00
Luboš Luňák
119aa760c7 Make setting the same shortcut again work.
svn path=/trunk/kdebase/kwin/; revision=385879
2005-02-03 15:59:57 +00:00
Luboš Luňák
8357a882fb Fix #98478.
BUG: 98478

svn path=/trunk/kdebase/kwin/; revision=385877
2005-02-03 15:50:23 +00:00