Commit graph

6618 commits

Author SHA1 Message Date
Lucas Murray
53986fa859 Prevent window flash that sometimes occurs when a sliding popup window
is closed. Keeps the window transformed even in the last painting pass.

svn path=/trunk/KDE/kdebase/workspace/; revision=1030717
2009-10-03 06:40:10 +00:00
Lucas Murray
b4938657b8 Prevent KWin from sending out multiple sync requests before the client
has time to reply.
BUG: 183263

svn path=/trunk/KDE/kdebase/workspace/; revision=1030473
2009-10-02 10:50:13 +00:00
Script Kiddy
4a1d35f2bc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1030424
2009-10-02 09:31:48 +00:00
Hugo Pereira Da Costa
e7cdbe7e0d added 'use animations' and 'animations duration' to configuration (although not shown in configuration dialog). added smooth fading of window title when changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1030276
2009-10-02 02:52:41 +00:00
Hugo Pereira Da Costa
67f1fa6451 removed useless kdebug
svn path=/trunk/KDE/kdebase/workspace/; revision=1030275
2009-10-02 02:49:31 +00:00
Marco Martin
5c73896b33 make the different activity for each desktop option actually work, by
using dbus calls on plasma (the option will still be disabled if
plasma-desktop isn't running)

svn path=/trunk/KDE/kdebase/workspace/; revision=1029999
2009-10-01 11:14:52 +00:00
Lucas Murray
6f2ef45a48 Fix effect config dialog i18n when launched from the window switch KCM.
BUG: 208788

svn path=/trunk/KDE/kdebase/workspace/; revision=1029686
2009-09-30 14:32:34 +00:00
Script Kiddy
bd52c92b98 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1029577

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-09-30 09:40:28 +00:00
Burkhard Lück
ccd997de2e fix typo spotted by mvillarino@gmail.com on kde-i18n-doc@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=1029459
2009-09-29 20:17:36 +00:00
Script Kiddy
52231d2822 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1029207

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-09-29 09:26:53 +00:00
Script Kiddy
64c5c23796 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1028801

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-09-28 09:16:44 +00:00
Hugo Pereira Da Costa
3856909aab fixed bug with shaded|maximized window and sizeGrip (reported on kde-look)
svn path=/trunk/KDE/kdebase/workspace/; revision=1028753
2009-09-28 05:04:23 +00:00
Script Kiddy
64442c4fe0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1028447
2009-09-27 09:44:04 +00:00
Hugo Pereira Da Costa
89453d5147 removed use of QPainter::setOpacity to render transitions. This makes the code faster
svn path=/trunk/KDE/kdebase/workspace/; revision=1028374
2009-09-26 21:21:39 +00:00
Martin Gräßlin
b61c6b1ccb Adding option to only show the desktop name in the desktop change OSD.
This brings back the behaviour of the old popup info.
FEATURE: 193926

svn path=/trunk/KDE/kdebase/workspace/; revision=1028358
2009-09-26 19:49:12 +00:00
Martin Gräßlin
6339148ecb Renaming datas to data and datas_pointer to data_pointer.
Thanks to kdevelop's great refactoring support fixing 50 Krazy spelling issues becomes trivial.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1028191
2009-09-26 07:50:04 +00:00
Hugo Pereira Da Costa
edf8167f3c improved animated transition in title-outline mode, by using mixed color rather than painter opacity
svn path=/trunk/KDE/kdebase/workspace/; revision=1028173
2009-09-26 04:57:27 +00:00
Hugo Pereira Da Costa
4e0f2a4d08 code cleanup: moved singletons from oxigenclient.cpp to oxygen.cpp; added relevant prototypes to oxygen.h and removed from .cpp files
svn path=/trunk/KDE/kdebase/workspace/; revision=1028170
2009-09-26 04:23:27 +00:00
Hugo Pereira Da Costa
01e5f22553 fixed (harmless) compilation warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1027373
2009-09-23 22:53:01 +00:00
Hugo Pereira Da Costa
955f04ae8e simplified x11util::isSupported( Atom ) code, needed for the size grip, so that it calls XGetWindowProperty only once, in a way that is similar to what netwm.cpp does.
svn path=/trunk/KDE/kdebase/workspace/; revision=1027369
2009-09-23 22:44:35 +00:00
Burkhard Lück
348fd64a55 we have a documentation for this kcm
svn path=/trunk/KDE/kdebase/workspace/; revision=1026871
2009-09-22 19:00:03 +00:00
Laurent Montel
fee588cf10 Warning--
svn path=/trunk/KDE/kdebase/workspace/; revision=1026431
2009-09-21 19:55:24 +00:00
Marco Martin
4be6a1295a this makes sense under Windows, not Compositing
svn path=/trunk/KDE/kdebase/workspace/; revision=1026294
2009-09-21 11:15:28 +00:00
Script Kiddy
975fa72ab8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1026251
2009-09-21 09:31:54 +00:00
Hugo Pereira Da Costa
aedaa73dc4 Fixed painting of maximized shaded window to show bottom border and shadow.
BUG: 207926 


svn path=/trunk/KDE/kdebase/workspace/; revision=1026061
2009-09-20 17:51:06 +00:00
Script Kiddy
272e68f224 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1025950

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

M	wallpapers/Evening/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-09-20 09:21:30 +00:00
Martin Gräßlin
f2b9b4b3e0 Include tabbox directory in Messages.sh
svn path=/trunk/KDE/kdebase/workspace/; revision=1025943
2009-09-20 08:39:35 +00:00
Hugo Pereira Da Costa
b4f63cb440 fixed Qt headers; removed WX11 defines; removed 'using namespace std'
svn path=/trunk/KDE/kdebase/workspace/; revision=1025937
2009-09-20 07:42:03 +00:00
Hugo Pereira Da Costa
81174a9301 oops. Missing parenthesis
svn path=/trunk/KDE/kdebase/workspace/; revision=1025936
2009-09-20 06:54:09 +00:00
Hugo Pereira Da Costa
38a10045bc More shadow issues fixed: removed unnecessary clipping. Fixed "square" corners when non-zero offsets. Fixed corner
bevel to handle rounding errors. 

svn path=/trunk/KDE/kdebase/workspace/; revision=1025935
2009-09-20 06:50:42 +00:00
Hugo Pereira Da Costa
f5945d0bbb oops. Fixed one glitch when using very-large shadows
svn path=/trunk/KDE/kdebase/workspace/; revision=1025902
2009-09-20 00:56:52 +00:00
Hugo Pereira Da Costa
2968cb9ce8 More work on shadows. This time both active and inactive shadows should be handled right for
borderless windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=1025901
2009-09-20 00:50:33 +00:00
Hugo Pereira Da Costa
99c012ab33 Changed inactive button shape to match active button; moved more methods inline; added smooth transition between active and inactive button
svn path=/trunk/KDE/kdebase/workspace/; revision=1025846
2009-09-19 21:12:57 +00:00
Hugo Pereira Da Costa
d581847b47 always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1025845
2009-09-19 21:11:28 +00:00
Hugo Pereira Da Costa
8c6b8cde28 always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1025844
2009-09-19 21:10:15 +00:00
Hugo Pereira Da Costa
1852c87178 invalidate shadow caches when color-scheme is changed. This fixes some issues with corner bevel
svn path=/trunk/KDE/kdebase/workspace/; revision=1025835
2009-09-19 20:32:23 +00:00
Will Stephenson
653a856146 Fix spelling mistake.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025696
2009-09-19 12:57:06 +00:00
Marco Martin
154b0296a2 add a new (hidden for now) option: hide (and delete) the window borders
when the window is maximized, restoring them wen it's unmaximized. will
be used for small screen setups


svn path=/trunk/KDE/kdebase/workspace/; revision=1025694
2009-09-19 12:48:28 +00:00
Hugo Pereira Da Costa
52daec1668 re-added 'index' setting for animated shadow (oops)
svn path=/trunk/KDE/kdebase/workspace/; revision=1025569
2009-09-19 06:05:43 +00:00
Hugo Pereira Da Costa
9f4eea2a5f moved all hash key inline; fixed glow for borderless windows; improved corner bevel
svn path=/trunk/KDE/kdebase/workspace/; revision=1025568
2009-09-19 05:51:31 +00:00
Hugo Pereira Da Costa
bc7425512a added necessary additional bit to cache hash key for frameBorder, and relevant enum (in place of bool), accordingly. Also used ::Key to get shadow rather than Client, to make sure this does not happen again, and moved 'simpleShadowPixmap' to public.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025527
2009-09-18 23:55:18 +00:00
Hugo Pereira Da Costa
c955d16574 added smooth transition for title bar text color when switching between active and inactive state (previously available for 'outline' mode only)
svn path=/trunk/KDE/kdebase/workspace/; revision=1025447
2009-09-18 19:47:53 +00:00
Hugo Pereira Da Costa
29cfa52c0a disabled glow animation when a button is pressed -e.g. with right click, released, then left, because it was causing a glitch.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025378
2009-09-18 15:03:59 +00:00
Hugo Pereira Da Costa
40ab147f81 moved more functions inline and use reference to pass configuration around.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025142
2009-09-18 06:54:42 +00:00
Hugo Pereira Da Costa
ac90c3aef5 added missing flags to decide whether or not active/inactive transition should be animated
svn path=/trunk/KDE/kdebase/workspace/; revision=1025117
2009-09-18 02:20:43 +00:00
Hugo Pereira Da Costa
635c93bc5b Added smooth transition between active and inactive state. This affects (when enabled) the window shadow,
the horizontal separator line, the titlebar text color and the title+border window outline. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1025111
2009-09-18 01:32:27 +00:00
Hugo Pereira Da Costa
7813c45245 simplified button animation code
svn path=/trunk/KDE/kdebase/workspace/; revision=1025073
2009-09-17 23:08:49 +00:00
Hugo Pereira Da Costa
9eec5543bf Moved all shadow handling into global cache oxygenShadowCache. This allows to share same
shadow tilesets between clients, thus reducing the memory usage; to simplify the oxygenclient
class; and leave room for optimizing active/inactive shadow transitions. The global class is
declared using K_GLOBAL_STATIC_WITH_ARGS.

Also cleaned-up unnecessary headers.


svn path=/trunk/KDE/kdebase/workspace/; revision=1025063
2009-09-17 22:40:06 +00:00
Hugo Pereira Da Costa
d58e7b7812 fixed (again) issue with shadow and mask for 'no-border' shaded windows, to cope with commit r1023615
svn path=/trunk/KDE/kdebase/workspace/; revision=1024918
2009-09-17 15:24:44 +00:00
Andreas Kling
a26a08830d Always respect the cornerShape(). Fixes a minor visual glitch when a shaped
window is mapped next to a screen edge.

BUG: 197516

svn path=/trunk/KDE/kdebase/workspace/; revision=1024877
2009-09-17 13:08:01 +00:00