Commit graph

5223 commits

Author SHA1 Message Date
Luboš Luňák
9ad12bc391 Add one more check for paints taking too much time, this time
also detect not-so-bad-but-still-slow paint times over a longer
period of time, i.e. the old check is for systems which are pathetically
slow, this one is for systems that are just slow. Possibly may need
tweaking for cases like high system load, but right now it seems
that e.g. a compilation running cannot trigger this check because
it cannot cause many long repaints in a row.


svn path=/trunk/KDE/kdebase/workspace/; revision=866636
2008-10-01 14:29:56 +00:00
Luboš Luňák
b93766efc8 Make the cached stacking order invalid right after sending X command for changing it,
in case the new stacking order is needed before kwin gets the matching event,
due to X being asynchronous.
BUG: 171033


svn path=/trunk/KDE/kdebase/workspace/; revision=866605
2008-10-01 12:49:52 +00:00
Luboš Luňák
402ea46332 Avoid drawing corruptions caused by window geometry and shape
being out of sync (bnc#430472).


svn path=/trunk/KDE/kdebase/workspace/; revision=866586
2008-10-01 11:53:48 +00:00
Lucas Murray
b7122a91b1 Prevent crash when cancelling present windows when no window is highlighted.
Prevent the tab key from being added to the filter.
BUG: 171951

svn path=/trunk/KDE/kdebase/workspace/; revision=866566
2008-10-01 10:45:20 +00:00
Michael Jansen
11bd92b381 - Correct key usage.
- Forget global shortcut

svn path=/trunk/KDE/kdebase/workspace/; revision=866436
2008-09-30 20:44:40 +00:00
Luboš Luňák
6c04eb4a6a When window shape changes, also cause a workspace repaint, just in case
the change removes part of a window. Also, window repaint is enough,
no need to damage the window contents.


svn path=/trunk/KDE/kdebase/workspace/; revision=866350
2008-09-30 16:45:24 +00:00
Luboš Luňák
27182e3800 Workaround for kwin<->kglobalaccel deadlock, when KWin has X grab and the kded
kglobalaccel module tries to create the key grab. KWin should preferably grab
they keys itself anyway :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=866294
2008-09-30 12:03:20 +00:00
Huynh Huu Long
1c1c1bb6cc The separator that is drawn below buttons was still using the old style. ;)
svn path=/trunk/KDE/kdebase/workspace/; revision=866059
2008-09-29 21:25:29 +00:00
Michael Jansen
30f293c01f Use caption instead of windowId.
svn path=/trunk/KDE/kdebase/workspace/; revision=865997
2008-09-29 18:42:45 +00:00
Luboš Luňák
e2598cbd22 Patch from Will Stephenson to use 'translucency' consistently and some tweaks.
svn path=/trunk/KDE/kdebase/workspace/; revision=865928
2008-09-29 13:33:58 +00:00
Script Kiddy
a6c023ee84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865874

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-09-29 11:19:40 +00:00
Lucas Murray
68d958c237 Added reset methods to WindowMotionManager.
Fixed bug in present windows when if there is only one window on a Xinerama screen it is zoomed into nothingness when using the natural layout.
CCBUG: 171812

svn path=/trunk/KDE/kdebase/workspace/; revision=865798
2008-09-29 02:25:02 +00:00
Huynh Huu Long
cbc55bf9a1 Draw the same separator in the windeco as in the rest of oxygen. This also adds more contrast.
svn path=/trunk/KDE/kdebase/workspace/; revision=865738
2008-09-28 20:30:19 +00:00
Script Kiddy
8853f96c3f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865605
2008-09-28 11:19:57 +00:00
Script Kiddy
1f5accded5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865371
2008-09-27 12:15:19 +00:00
Lucas Murray
24816cb67b Fixed "fixed" logic. There's really no other way to do this that's readable so if the "suspicious code" checker still picks this up just ignore it.
BUG: 171709

svn path=/trunk/KDE/kdebase/workspace/; revision=865220
2008-09-27 06:23:33 +00:00
Lucas Murray
4430053ef8 Removed incomplete filters and changed the defaults in wobbly windows as suggested by Cedric.
CCMAIL: cedric.borgese@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=864934
2008-09-26 05:27:57 +00:00
Frederik Schwarzer
0e2b190a0e Merge branch 'typos'
svn path=/trunk/KDE/kdebase/workspace/; revision=864846
2008-09-25 17:51:35 +00:00
Script Kiddy
19f400578f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=864751
2008-09-25 12:24:47 +00:00
Luboš Luňák
b9bf9831b0 Fix wrong logic.
svn path=/trunk/KDE/kdebase/workspace/; revision=864621
2008-09-25 09:13:00 +00:00
Luboš Luňák
c2ef38b83c Match intel and nvidia more exactly when detecting, and also
enable by default ati cards with fglrx driver or
(only r200 ...?) with radeon driver.


svn path=/trunk/KDE/kdebase/workspace/; revision=864377
2008-09-24 16:36:24 +00:00
Lucas Murray
db8e8365da Prevent present windows from storing data for a NULL window.
CCBUG: 171593

svn path=/trunk/KDE/kdebase/workspace/; revision=864365
2008-09-24 15:53:08 +00:00
Script Kiddy
388b8a9f9b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=864278

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

M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-09-24 11:58:25 +00:00
Lucas Murray
c98a9372fc SVN_SILENT More whitespace fixes.
svn path=/trunk/KDE/kdebase/workspace/; revision=864246
2008-09-24 10:28:49 +00:00
Martin Gräßlin
14b2e97700 Ensure that full screen input window is always destroyed when using alt+tab again while flip switch closes. So mouse cursor is shown again.
svn path=/trunk/KDE/kdebase/workspace/; revision=864231
2008-09-24 09:04:45 +00:00
Martin Gräßlin
d5da6310b4 Fix possible crash when alt+tabbing again while coverswitch is closing.
BUG: 170860

svn path=/trunk/KDE/kdebase/workspace/; revision=864225
2008-09-24 08:45:53 +00:00
Luboš Luňák
bd589d3adf Turn unredirect off when fullscreen is not on the active virtual desktop.
svn path=/trunk/KDE/kdebase/workspace/; revision=863950
2008-09-23 15:44:54 +00:00
Luboš Luňák
f8163eac9d Use setOverlayShape() instead of doing it manually.
svn path=/trunk/KDE/kdebase/workspace/; revision=863939
2008-09-23 15:22:25 +00:00
Luboš Luňák
e433f92374 Avoid useless repeated processing of checking whether to unredirect.
svn path=/trunk/KDE/kdebase/workspace/; revision=863933
2008-09-23 14:51:21 +00:00
Script Kiddy
2cac0dd4e8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=863855

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-09-23 11:24:55 +00:00
Lucas Murray
0cfe3b2c73 Fix indenting of decoration files.
svn path=/trunk/KDE/kdebase/workspace/; revision=863806
2008-09-23 07:54:28 +00:00
Lucas Murray
283a16b13b Attempt at correcting the motion formula at low framerates. Still needs improvement.
svn path=/trunk/KDE/kdebase/workspace/; revision=863784
2008-09-23 07:10:27 +00:00
Lucas Murray
7f690db225 Correct fix to prevent present windows from crashing.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=863746
2008-09-23 03:16:36 +00:00
Martin Gräßlin
e353af4844 Prevent crashing when a window is closed.
CCMAIL: <lmurray@undefinedfire.com>

svn path=/trunk/KDE/kdebase/workspace/; revision=863593
2008-09-22 16:13:20 +00:00
Lucas Murray
0da2ce5a2e Incremented present windows version number.
svn path=/trunk/KDE/kdebase/workspace/; revision=863563
2008-09-22 13:06:47 +00:00
Lucas Murray
51aef64cd7 Added motion dynamic physics helper classes to the KWin effects API. These
classes are intended to be used to help effect authors move windows across
the screen smoothly and naturally.

Although not 100% complete the classes can be used for 2D operations in its
current state, an example of which is the included present windows update.
These classes can be expanded upon when the new modifiers are required.

I would like a generic, template-based motion manager class that can be used
for non-window objects as well as another 3D-enabled manager to be available
sometime in the future.

CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=863561
2008-09-22 13:03:00 +00:00
Script Kiddy
45a528a01e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=863511
2008-09-22 10:45:45 +00:00
Michael Jansen
d6df278f49 Use the new session shortcut feature for kwins "Window Shorcut" feature.
@Lubos: Please have a look at commit 863096 too. I accidently commited a
part of this part there. Please have a look at the todo "Add the window
title" and possibly implement it. That would look much nicer in the global
shortcuts kcm.

Btw. There are two shortcuts dialogs in kwin. I haven't change the other
one (kwinrules) because it look it works better with KKeySequenceWidget
doing the message box.

CCMAIL:l.lunak@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=863292
2008-09-21 18:03:59 +00:00
Script Kiddy
2a6e11fc59 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=863150
2008-09-21 10:57:59 +00:00
Michael Jansen
b48c438bb0 - Only allow menu entry actions in the KMenuEdit system group.
- Create the group if a new configuration is created or a old one is
  loaded.

svn path=/trunk/KDE/kdebase/workspace/; revision=863096
2008-09-21 05:27:16 +00:00
Script Kiddy
31d3681778 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=862926
2008-09-20 12:06:15 +00:00
Script Kiddy
0ebad0b710 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=862575
2008-09-19 10:39:40 +00:00
Lucas Murray
b2ef4eac11 Remove outdated/duplicated points. Little bit of resorting as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=862322
2008-09-18 15:43:48 +00:00
Luboš Luňák
3eaaa4c23b Clean up properly if selfcheck fails.
svn path=/trunk/KDE/kdebase/workspace/; revision=862318
2008-09-18 15:37:46 +00:00
Luboš Luňák
6796c1225f Self-check also for XRender.
svn path=/trunk/KDE/kdebase/workspace/; revision=862312
2008-09-18 15:27:13 +00:00
Luboš Luňák
d0c1f5dd62 Disable shadow with effects that transform windows, such as wobbly,
since shadow currently can't handle that.
CCBUG: 161330


svn path=/trunk/KDE/kdebase/workspace/; revision=862309
2008-09-18 15:26:17 +00:00
Script Kiddy
8818d79e52 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=862263
2008-09-18 11:04:36 +00:00
Luboš Luňák
503bf3e767 Add a check that measures time needed for one compositing pass.
If three successive ones take more than 1 sec, suspend compositing,
as that very likely means the system is totally incapable of decent
compositing. Perhaps may need little tweaking.


svn path=/trunk/KDE/kdebase/workspace/; revision=861906
2008-09-17 13:42:12 +00:00
Luboš Luňák
08571b2f52 Do not use 'assert( false )', with NDEBUG that is a no-op and
results in warnings about missing return.


svn path=/trunk/KDE/kdebase/workspace/; revision=861879
2008-09-17 11:44:51 +00:00
Lucas Murray
a3e834fb99 Reorganized effect categories.
svn path=/trunk/KDE/kdebase/workspace/; revision=861851
2008-09-17 10:36:28 +00:00