Commit graph

3458 commits

Author SHA1 Message Date
Luboš Luňák
52c50baf1a Boy, I'm so smart, first deleting an object and then doing a consistency check on it.
svn path=/trunk/KDE/kdebase/workspace/; revision=613884
2006-12-15 14:57:18 +00:00
Luboš Luňák
ce58330fc4 Don't crash because of automatic deleting of groups.
BUG: 138834


svn path=/trunk/KDE/kdebase/workspace/; revision=613847
2006-12-15 13:01:19 +00:00
Luboš Luňák
0cbf093fdd Check for references to no longer existing windows in transiency checks
only when the list of windows is in consistent state.


svn path=/trunk/KDE/kdebase/workspace/; revision=613681
2006-12-14 16:32:55 +00:00
Luboš Luňák
c271dd819a Few more consistency checks.
svn path=/trunk/KDE/kdebase/workspace/; revision=613666
2006-12-14 15:35:36 +00:00
Luboš Luňák
28dd80d4ca Remove group transients from transient_list of windows from old group.
I have to say I'm rather impressed by the level of brokeness of Java's
window handling.
BUG: 117677


svn path=/trunk/KDE/kdebase/workspace/; revision=613277
2006-12-13 18:53:55 +00:00
Luboš Luňák
508178e0d1 Add checking code to detect inconsistencies of internal structures
for window relations, like #117677.


svn path=/trunk/KDE/kdebase/workspace/; revision=613274
2006-12-13 18:48:58 +00:00
Luboš Luňák
f57d89d597 Don't move a group transient with a group set to another group.
svn path=/trunk/KDE/kdebase/workspace/; revision=613271
2006-12-13 18:29:43 +00:00
Daniel Molkentin
dd2463a9e1 port patch from branch: get rid of Qt3Support dependency
svn path=/trunk/KDE/kdebase/workspace/; revision=612754
2006-12-12 14:25:21 +00:00
Daniel Molkentin
f97aef96ac even better: no qt3support required anymore :)
svn path=/branches/work/kwin_composite/; revision=612735
2006-12-12 13:48:06 +00:00
Luboš Luňák
f4b75f439e Don't steal focus from windows using globally active input focus.
svn path=/branches/work/kwin_composite/; revision=612731
2006-12-12 13:40:02 +00:00
Daniel Molkentin
cdb2302ee5 now that kdecore is free of Qt3Support deps, other parts that require it need to explicitly link against it
svn path=/branches/work/kwin_composite/; revision=612727
2006-12-12 13:36:46 +00:00
Daniel Molkentin
69bfbbcba8 s/KActiveLabel/QLabel/
svn path=/branches/work/kwin_composite/; revision=612724
2006-12-12 13:21:44 +00:00
Volker Krause
d0eabbffc3 revert r612696 by myself, I should really check to which branch I'm
committing...

svn path=/branches/work/kwin_composite/; revision=612703
2006-12-12 11:14:54 +00:00
Luboš Luňák
dc540f80ea Clipping opengl won't be that simple after all.
svn path=/branches/work/kwin_composite/; revision=612701
2006-12-12 10:56:06 +00:00
Volker Krause
7433a0d2fb compile
svn path=/branches/work/kwin_composite/; revision=612696
2006-12-12 10:36:00 +00:00
Luboš Luňák
95d717177d Update the clipping item.
svn path=/branches/work/kwin_composite/; revision=612469
2006-12-11 14:38:40 +00:00
Luboš Luňák
2a151f24bf Note about indirect rendering.
svn path=/branches/work/kwin_composite/; revision=611279
2006-12-07 14:01:21 +00:00
Luboš Luňák
c5688753a9 Fix compile (X11 headers).
svn path=/branches/work/kwin_composite/; revision=611023
2006-12-06 13:33:25 +00:00
Luboš Luňák
525f761325 Merge in r610651 from trunk (KAction->QAction changes).
svn path=/branches/work/kwin_composite/; revision=611022
2006-12-06 13:31:57 +00:00
Simon Hausmann
92ded6a343 Merging branches/work/kaction-cleanup-branch, done by Kevin and me.
This removes some usage of KAction in our public API so that one can use QActions
with KDE classes, too, and it removes some use of deprecated API in the apps.

svn path=/trunk/KDE/kdebase/workspace/; revision=610651
2006-12-04 20:44:12 +00:00
Luboš Luňák
f4211bbe2f I love C APIs.
svn path=/branches/work/kwin_composite/; revision=610616
2006-12-04 18:35:08 +00:00
Luboš Luňák
d33323be67 Paint only windows that are visible.
svn path=/branches/work/kwin_composite/; revision=610615
2006-12-04 18:31:36 +00:00
Luboš Luňák
fb95cbf6ce Updates.
svn path=/branches/work/kwin_composite/; revision=610614
2006-12-04 18:31:01 +00:00
Luboš Luňák
f1be2aa724 Optimize XRender painting by manually doing clipping, even with transformations.
Since it's unlikely XRender code will use other transformations then the ones
provided this should be ok. Makes painting with obscured windows much faster
(i.e. it's just slow, not bloody slow).


svn path=/branches/work/kwin_composite/; revision=610613
2006-12-04 18:30:41 +00:00
Luboš Luňák
1c151d222b Fix the zoom effect to use time differences instead of a hardcoded step.
svn path=/branches/work/kwin_composite/; revision=610611
2006-12-04 18:29:16 +00:00
Luboš Luňák
f93df78a79 Disable the zoom effect.
svn path=/branches/work/kwin_composite/; revision=610147
2006-12-03 13:48:09 +00:00
Luboš Luňák
840364cd2a Merge r608181 from trunk (KShortcut/KAction changes).
svn path=/branches/work/kwin_composite/; revision=610146
2006-12-03 13:43:37 +00:00
Luboš Luňák
4607cab829 Config option for whether zooming should be smooth or fast.
svn path=/branches/work/kwin_composite/; revision=610138
2006-12-03 13:38:57 +00:00
Luboš Luňák
a643ff2b00 Try to use XComposite overlay also with XRender.
svn path=/branches/work/kwin_composite/; revision=610137
2006-12-03 13:38:16 +00:00
Luboš Luňák
a03b796335 Screen scaling.
svn path=/branches/work/kwin_composite/; revision=610135
2006-12-03 13:37:44 +00:00
Luboš Luňák
6bf5d12108 Zoom effect, i.e. magnifying glass. The zoom is hardcoded
for now.


svn path=/branches/work/kwin_composite/; revision=610134
2006-12-03 13:36:40 +00:00
Luboš Luňák
db18481380 XRender window scaling, based on a patch by Philip Falkner.
svn path=/branches/work/kwin_composite/; revision=610133
2006-12-03 13:32:52 +00:00
Luboš Luňák
ab8d845718 Reset compositing on XRandr changes to react on screen
size or refresh rate changes, patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=610114
2006-12-03 13:29:57 +00:00
Luboš Luňák
6a66250620 Better synchronization of refresh rate and vsyncing,
patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=610110
2006-12-03 13:29:14 +00:00
Luboš Luňák
50b7fc5409 + // grab X during the release to make removing of properties, setting to withdrawn state
+    // and repareting to root an atomic operation (http://lists.kde.org/?l=kde-devel&m=116448102901184&w=2)


svn path=/trunk/KDE/kdebase/workspace/; revision=609071
2006-11-29 13:25:38 +00:00
David Faure
d37ec25cf6 Next monday kdecore won't link to qt3support anymore; so link it explicitely in those two.
svn path=/trunk/KDE/kdebase/workspace/; revision=608944
2006-11-29 00:02:10 +00:00
Luboš Luňák
ae1a1b25f7 Match defaults.
BUG: 137889


svn path=/trunk/KDE/kdebase/workspace/; revision=608824
2006-11-28 14:42:48 +00:00
Luboš Luňák
b1ce5309a3 Configure mouse to the screen when doing move/resize.
BUG: 88506


svn path=/trunk/KDE/kdebase/workspace/; revision=608815
2006-11-28 14:15:38 +00:00
Giovanni Venturi
7d243977ce fix compiling
svn path=/trunk/KDE/kdebase/workspace/; revision=608585
2006-11-27 23:29:24 +00:00
Luboš Luňák
2fa320c9b8 Clearing of the whole buffer is not necessary anymore, at least not
in the simple cases. Improves drawing performance.


svn path=/branches/work/kwin_composite/; revision=608458
2006-11-27 16:16:34 +00:00
Luboš Luňák
a4d6273de0 Do glFinish()/XSync() to make sure all painting has been also processed.
svn path=/branches/work/kwin_composite/; revision=608430
2006-11-27 15:13:10 +00:00
Luboš Luňák
3374f1fbda It seems there's a different place in fd.o git where docs are stored.
svn path=/branches/work/kwin_composite/; revision=608405
2006-11-27 14:20:40 +00:00
Andreas Hartmetz
8fc2b1843b Adapt dependent code to KShortcut/KAction changes.
svn path=/trunk/KDE/kdebase/khotkeys/; revision=608181
2006-11-27 00:32:31 +00:00
Luboš Luňák
6001aabfa5 Note that AIGLX needs indirect rendering.
svn path=/branches/work/kwin_composite/; revision=607520
2006-11-24 22:46:59 +00:00
Luboš Luňák
b0c7bc98a2 Special file for howto on setting up kwin_composite.
svn path=/branches/work/kwin_composite/; revision=607516
2006-11-24 22:20:14 +00:00
Luboš Luňák
d426d9dcd4 Don't let the damage region be larger than the window,
prevent painting errors when shrinking a window.


svn path=/branches/work/kwin_composite/; revision=607510
2006-11-24 21:50:10 +00:00
Luboš Luňák
277449f545 Ungrab X before doing the double-buffering swap, as that one
may involve waiting to sync to vblank.


svn path=/branches/work/kwin_composite/; revision=607501
2006-11-24 21:28:52 +00:00
Luboš Luňák
049460fa2e Reset window damage after updating the damaged areas of the OpenGL texture
or Xrender picture, not after every repaint.
This also allows removing the confusing initPaint()/postPaint() calls in Scene.


svn path=/branches/work/kwin_composite/; revision=607500
2006-11-24 21:28:00 +00:00
Luboš Luňák
cb549777ba Damage workspace when a window is unmapped to cause repainting of that area.
svn path=/branches/work/kwin_composite/; revision=607286
2006-11-23 23:05:50 +00:00
Luboš Luňák
38f4f76b31 Detect screen refresh rate for finding out optimal compositing
redraw speed. Patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=607253
2006-11-23 21:16:49 +00:00