Commit graph

7134 commits

Author SHA1 Message Date
Chani Armitage
09ca99c292 make kwin switch to a related activity if a window there is being activated.
I'd prefer if it went to the "last active" one, but first I'd need to implement a way of knowing which one that was.

svn path=/trunk/KDE/kdebase/workspace/; revision=1126339
2010-05-13 18:53:08 +00:00
Chani Armitage
f26519c8d0 sorry, that wasn't supposed to go in.
svn path=/trunk/KDE/kdebase/workspace/; revision=1126335
2010-05-13 17:59:34 +00:00
Hugo Pereira Da Costa
3173ad3f36 use 40 for default shadow size (both active and inactive)
svn path=/trunk/KDE/kdebase/workspace/; revision=1126322
2010-05-13 16:54:47 +00:00
Script Kiddy
1b85da3997 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1126158
2010-05-13 06:41:02 +00:00
Chani Armitage
7854e4bece make 'all activities' work :)
svn path=/trunk/KDE/kdebase/workspace/; revision=1126064
2010-05-13 04:56:57 +00:00
Chani Armitage
741e0cdecd SVN_SILENT: code style
svn path=/trunk/KDE/kdebase/workspace/; revision=1126063
2010-05-13 04:56:38 +00:00
Chani Armitage
a1bebb7000 have alt-tab skip windows that aren't on the activity
svn path=/trunk/KDE/kdebase/workspace/; revision=1126058
2010-05-13 04:30:34 +00:00
Chani Armitage
59590a5993 react to activity removal
svn path=/trunk/KDE/kdebase/workspace/; revision=1126057
2010-05-13 04:06:27 +00:00
Chani Armitage
30313d2869 take advantage of the cached currentActivity
svn path=/trunk/KDE/kdebase/workspace/; revision=1126054
2010-05-13 03:10:31 +00:00
Hugo Pereira Da Costa
24e01d0e7b Removed dependency of Oxygen::ShadowCache upon Oxygen::Client.
svn path=/trunk/KDE/kdebase/workspace/; revision=1126021
2010-05-12 23:34:31 +00:00
Fredrik Höglund
3b8126f7eb Get the current activity from the Workspace instead of from KActivityConsumer
in TopLevel::isOnCurrentActivity().

KActivityConsumer makes a blocking DBUS call to kded, which if done while
we're holding an X server grab can result in a deadlock if kded is blocked
waiting on a reply from the X server.

BUG: 237437

svn path=/trunk/KDE/kdebase/workspace/; revision=1126013
2010-05-12 23:23:26 +00:00
Kevin Ottens
77fef35c9e Depend directly on kcmutils.
svn path=/trunk/KDE/kdebase/workspace/; revision=1125889
2010-05-12 15:58:45 +00:00
Script Kiddy
3ca5a29ae9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1125737

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

M	wallpapers/Quadros/metadata.desktop
2010-05-12 06:51:39 +00:00
Hugo Pereira Da Costa
6367003af5 added more points to the outer gradient, so that it is smoother
svn path=/trunk/KDE/kdebase/workspace/; revision=1125709
2010-05-12 01:43:52 +00:00
Fredrik Höglund
cbb4248a2a Use a high quality lanczos filter to scale the window thumbnails when
GLSL shaders are supported.

Currently disabled when the NVIDIA driver is used because of a driver
issue that will need to be worked around.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125672
2010-05-11 22:05:00 +00:00
Chani Armitage
a9ad071575 Activity association for windows.
ok'd by fredrikh.
this code is buggy right now, but I promise to squash the bugs by the 19th :)


svn path=/trunk/KDE/kdebase/workspace/; revision=1125614
2010-05-11 20:30:20 +00:00
Martin Gräßlin
b8637bf4fb New Glide effect for opening/closing windows by Iori Yagami.
Thanks a lot for providing a great effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125565
2010-05-11 18:45:39 +00:00
Hugo Pereira Da Costa
6d6c7a9810 Nicer implementation of shadow functions.
Should allow easier tweaking to truncate tails if needed.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125530
2010-05-11 16:56:00 +00:00
Nikhil Marathe
2163f87264 Modified workspace method names to mark them up as referring to tiling
svn path=/trunk/KDE/kdebase/workspace/; revision=1125434
2010-05-11 11:10:53 +00:00
Nikhil Marathe
cb36b296b0 Renamed the window moving shortcuts to convey what to move, removed some debugging shortcuts. Removed old orientation and ratio shortcuts. NOTE: This will lead to shortcut conflicts for existing users.
svn path=/trunk/KDE/kdebase/workspace/; revision=1125424
2010-05-11 10:47:58 +00:00
Hugo Pereira Da Costa
3fa2e1b234 Removed useless include.
Fixed ambiguity when passing tiles as argument.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125272
2010-05-11 05:30:08 +00:00
Hugo Pereira Da Costa
71460bc371 added contrast pixel to text rendering in drag pixmap
svn path=/trunk/KDE/kdebase/workspace/; revision=1125268
2010-05-11 04:59:13 +00:00
Hugo Pereira Da Costa
da8593d092 Improved glow, using analytical formula and number of points on gradient adjusted to
gradient size.


svn path=/trunk/KDE/kdebase/workspace/; revision=1125246
2010-05-11 02:06:20 +00:00
Hugo Pereira Da Costa
fbabe1a0cf Improved decoration shadows:
- the number of points on the gradient depends on the shadow size
- analytical functions (fitted to previous hard-coded values) are used to calculate the 
gradients. Inner gradient is parabolic; mid and outer gradients are gaussian.


svn path=/trunk/KDE/kdebase/workspace/; revision=1125232
2010-05-11 01:18:29 +00:00
Hugo Pereira Da Costa
97371a74c2 Moved hover and focus brush from Oxygen::StyleHelper to OxygenHelper so that they can be used in in the decoration, for
optimization. 

Added "NegativeText" brush, to optimize rendering of close buttons. 

Renamed OxygenHelper to Oxygen::Helper for consistency with the other classes. (needs full update of workspace/libs/oxygen, 
kstyles/oxygen and kwin/clients/oxygen, but this is already true for the above ...)


svn path=/trunk/KDE/kdebase/workspace/; revision=1125082
2010-05-10 16:36:56 +00:00
Hugo Pereira Da Costa
aff64607bf fixed shadow configuration updateChanged handling
svn path=/trunk/KDE/kdebase/workspace/; revision=1124750
2010-05-10 02:19:52 +00:00
Hugo Pereira Da Costa
4e8a63f51d added missing connection between shadowCacheMode and configChanged
svn path=/trunk/KDE/kdebase/workspace/; revision=1124749
2010-05-10 02:06:45 +00:00
Hugo Pereira Da Costa
f6d60a9524 re-added window mask when drawing non-oxygen shadows. This makes poorer corners, but better shadows (can't have everything at the same time right now)
svn path=/trunk/KDE/kdebase/workspace/; revision=1124748
2010-05-10 01:56:24 +00:00
Hugo Pereira Da Costa
0f6f610265 Fixed decoration shadows and glow for large-size settings.
svn path=/trunk/KDE/kdebase/workspace/; revision=1124726
2010-05-10 00:28:38 +00:00
Martin Gräßlin
a9d772796c Drag&Drop support for window tabs in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=1124608
2010-05-09 16:34:58 +00:00
Stephan Binner
253f0523c6 SVN_SILENT i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=1124548
2010-05-09 11:06:38 +00:00
Martin Gräßlin
7048743431 Fix double-click events on Aurorae Tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=1124534
2010-05-09 09:56:37 +00:00
Martin Gräßlin
a1fa419ea6 Aurorae supports window tabbing.
svn path=/trunk/KDE/kdebase/workspace/; revision=1124521
2010-05-09 09:08:09 +00:00
Nikhil Marathe
3e9377e6b4 Added comments to some tiling related code
svn path=/trunk/KDE/kdebase/workspace/; revision=1124486
2010-05-09 06:15:40 +00:00
Thomas Lübking
7913a98465 skip gl*List calls in shaderless path
BUG: 222872

svn path=/trunk/KDE/kdebase/workspace/; revision=1124311
2010-05-08 19:56:07 +00:00
Martin Gräßlin
62d583c47b Fix Krazy issue: QLatin1String
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1124081
2010-05-07 17:53:14 +00:00
Nikhil Marathe
8892169a86 Added Window menu action to toggle floating/tiled state of the client and the relevant Operation enum entry
svn path=/trunk/KDE/kdebase/workspace/; revision=1124058
2010-05-07 16:03:14 +00:00
Nikhil Marathe
d8af8d02a9 Fixed order of parameters in i18nc
svn path=/trunk/KDE/kdebase/workspace/; revision=1124057
2010-05-07 16:00:39 +00:00
Andrew Coles
620b54b320 Proof-reading: aren't -> are not (house style)
SVN_SILENT


svn path=/trunk/KDE/kdebase/workspace/; revision=1124005
2010-05-07 14:48:44 +00:00
Thomas Lübking
5bfcd53571 make border rectangular when maximized
BUG: 84210


svn path=/trunk/KDE/kdebase/workspace/; revision=1123666
2010-05-06 15:15:09 +00:00
Thomas Lübking
ffa8b5306c rename EffectsHandler::provideResizeEffect to singular, honor rules (also affecting the sync timer now)
svn path=/trunk/KDE/kdebase/workspace/; revision=1123660
2010-05-06 14:54:34 +00:00
Nikhil Marathe
f7c3b38402 Added TilingLayout::reconfigureTiling which respects per window tiling settings and is capable of updating them on the fly by being called from slotReconfigure
svn path=/trunk/KDE/kdebase/workspace/; revision=1123173
2010-05-05 13:52:09 +00:00
Nikhil Marathe
ef02e261ae Skip copying of tiles when there aren't any tiles
svn path=/trunk/KDE/kdebase/workspace/; revision=1123171
2010-05-05 13:51:00 +00:00
Nikhil Marathe
33234b75eb Made createTile() and tileable() public
svn path=/trunk/KDE/kdebase/workspace/; revision=1123170
2010-05-05 13:50:16 +00:00
Nikhil Marathe
49396e6197 Forced tiling/floating per window/application is now supported during client creation. reloadConfig() doesn't respect it yet
svn path=/trunk/KDE/kdebase/workspace/; revision=1123144
2010-05-05 12:29:35 +00:00
Nikhil Marathe
a2a7891789 SVN_SILENT Renamed tilingMode to tilingEnabled to better convey its boolean-ness
svn path=/trunk/KDE/kdebase/workspace/; revision=1123140
2010-05-05 12:09:49 +00:00
Nikhil Marathe
70c9e98c41 Removed superfluous Client type checks since isNormalWindow() means that all other's aren't true
svn path=/trunk/KDE/kdebase/workspace/; revision=1123133
2010-05-05 11:52:53 +00:00
Nikhil Marathe
9a3cca0ef9 SVN_SILENT Replaced delete loop with qDeleteAll()
svn path=/trunk/KDE/kdebase/workspace/; revision=1123131
2010-05-05 11:51:09 +00:00
Nikhil Marathe
20b419cb47 SVN_SILENT Small readability fix
svn path=/trunk/KDE/kdebase/workspace/; revision=1123126
2010-05-05 11:46:19 +00:00
Nikhil Marathe
b87fa7ef41 tilingLayout is now an enum rather than an int faking as an enum :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=1123125
2010-05-05 11:44:04 +00:00