Commit graph

6562 commits

Author SHA1 Message Date
Martin Gräßlin
1ae6878e76 Providing a way to render something inside the cube. Added as an example the glxgears to the test effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=1038868
2009-10-22 07:06:44 +00:00
Script Kiddy
2753719b2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1038501
2009-10-21 10:07:26 +00:00
Script Kiddy
8d600884ee SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1037926
2009-10-20 09:35:54 +00:00
Hugo Pereira Da Costa
d3f6aca4ee re-enabled sizeGrip in preview mode, with correct handling of parent windowID
svn path=/trunk/KDE/kdebase/workspace/; revision=1037767
2009-10-19 22:51:31 +00:00
Hugo Pereira Da Costa
393b37e211 temporarily disabled painting of size grip in preview widget, cause it crashes systemsettings randomly - due to X11 hack
svn path=/trunk/KDE/kdebase/workspace/; revision=1037743
2009-10-19 21:35:38 +00:00
Hugo Pereira Da Costa
60bf914cee fixed bug on shadow rendering when size < 5 - in which case only the round corner should be rendered
svn path=/trunk/KDE/kdebase/workspace/; revision=1037681
2009-10-19 19:43:59 +00:00
Script Kiddy
f7c3b99ac0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1037463

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-10-19 09:38:03 +00:00
Martin Gräßlin
e49064c356 Check the dndEventDelay in Desktop Grid so that a click with moving does not move the window but activate the desktop.
BUG: 211041

svn path=/trunk/KDE/kdebase/workspace/; revision=1037445
2009-10-19 08:24:25 +00:00
Lucas Murray
c221426b5e Don't access a variable that may not exist.
svn path=/trunk/KDE/kdebase/workspace/; revision=1037434
2009-10-19 05:04:35 +00:00
Lucas Murray
cd9ab34fec Maybe the sliding popups effect was unreferencing the same window
multiple times?
CCBUG: 209723

svn path=/trunk/KDE/kdebase/workspace/; revision=1037432
2009-10-19 05:00:11 +00:00
Lucas Murray
04bfc4cada Display an error message when a deleted client has a non-zero reference
count.
CCBUG: 209723

svn path=/trunk/KDE/kdebase/workspace/; revision=1037431
2009-10-19 04:52:40 +00:00
Hugo Pereira Da Costa
64b80fc1fe Fixed background role for button icon. CCBUG: 156518
svn path=/trunk/KDE/kdebase/workspace/; revision=1037374
2009-10-18 21:14:40 +00:00
Script Kiddy
7e2917761e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1036506

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

M	wallpapers/Air/metadata.desktop
2009-10-17 10:54:18 +00:00
Hugo Pereira Da Costa
f761aceb8b removed background window rendering from button paintEvent, as transparent background is good enough. Moved all corresponding method in oxygenClient to 'protected'. This allows faster repaint.
svn path=/trunk/KDE/kdebase/workspace/; revision=1036357
2009-10-17 06:57:17 +00:00
Hugo Pereira Da Costa
2d88428b6d removed 'x11util'. Use kdecoration API instead
svn path=/trunk/KDE/kdebase/workspace/; revision=1036345
2009-10-17 03:56:04 +00:00
Hugo Pereira Da Costa
4e1fd9e494 Do not create sizeGrip as a child of KDecoration::Widget since it is reparented. That allows one not to make it a Qt::ToolTip (which for some reason makes kwin use 100% cpu), and prevents it to be registered by paintRedirector
svn path=/trunk/KDE/kdebase/workspace/; revision=1036320
2009-10-17 00:18:40 +00:00
Hugo Pereira Da Costa
07cab1bae9 optimized painting in outline mode (by avoiding unnecessary painting over) and added contrast pixel between window body and outlined border
svn path=/trunk/KDE/kdebase/workspace/; revision=1036214
2009-10-16 20:27:43 +00:00
Hugo Pereira Da Costa
c2706aa181 set Qt::ToolTip flag for QSizeGrip, so that it gets hidden to paintRedirector
svn path=/trunk/KDE/kdebase/workspace/; revision=1036155
2009-10-16 18:01:01 +00:00
Hugo Pereira Da Costa
bc2cb84b6e use Qt::ToolTip windowFlags to identify tooltip widgets
svn path=/trunk/KDE/kdebase/workspace/; revision=1036142
2009-10-16 17:17:08 +00:00
Hugo Pereira Da Costa
444427464b removed useless kdebug messages
svn path=/trunk/KDE/kdebase/workspace/; revision=1036118
2009-10-16 16:32:51 +00:00
Hugo Pereira Da Costa
88cfb2df63 changed back 'setDirty' method into 'update' method. kwin/paintRedirector should be fixed though, so that buttons created after the deco is registered for redirection are properly accounted for
svn path=/trunk/KDE/kdebase/workspace/; revision=1036114
2009-10-16 16:25:02 +00:00
Lucas Murray
e251d9316f Detect when we receive an incomplete FBO and consider it invalid.
CCBUG: 210678

svn path=/trunk/KDE/kdebase/workspace/; revision=1036024
2009-10-16 10:36:17 +00:00
Lucas Murray
9f05419d06 Unreference window after the window has been rendered.
CCBUG: 209723

svn path=/trunk/KDE/kdebase/workspace/; revision=1036021
2009-10-16 10:20:43 +00:00
Script Kiddy
d05ff926f9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1036004

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-10-16 09:46:18 +00:00
Hugo Pereira Da Costa
c0c3189ef2 simplified color handling in renderFloatFrame
svn path=/trunk/KDE/kdebase/workspace/; revision=1035784
2009-10-15 20:59:24 +00:00
Hugo Pereira Da Costa
5286a2f849 fixed colors to use oxygenHelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1035714
2009-10-15 17:47:55 +00:00
Hugo Pereira Da Costa
e26538e368 port design changes from tabbing branch to trunk: new title outline design; simplification of layout metrics; proper handling of text ellision; simplification of shadow cache; addition of to local button types. In oxygen.h also temporarily added missing enumeration to ease compilation against kde4.3
svn path=/trunk/KDE/kdebase/workspace/; revision=1035658
2009-10-15 16:03:30 +00:00
Michael Zanetti
24b5877db2 Don't crash if a unusable windows (e.g. new plasma widget brwser) is unminimized
BUG: 210191

svn path=/trunk/KDE/kdebase/workspace/; revision=1035651
2009-10-15 15:41:35 +00:00
Hugo Pereira Da Costa
253892d5dd More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035245
2009-10-14 15:36:38 +00:00
Hugo Pereira Da Costa
e748b5244b More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035241
2009-10-14 15:36:08 +00:00
Hugo Pereira Da Costa
f898d1193f more cleanup. Made sure methods are declared and implemented in the same order (blush)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035206
2009-10-14 14:37:58 +00:00
Hugo Pereira Da Costa
01ae18d6a7 moved dots and float frame rendering to separate methods (for clean-up and to make merging with tab branch easier)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035200
2009-10-14 14:28:37 +00:00
Marco Martin
36b39da955 respect the no border hint for windows that aren't maximized in case of
borderlessMaximizedWindows()

svn path=/trunk/KDE/kdebase/workspace/; revision=1035170
2009-10-14 13:07:31 +00:00
Script Kiddy
69044acd66 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035097
2009-10-14 10:18:37 +00:00
Lucas Murray
65e8bea70d Make quick maximization and tiling more intuitive by handling resize and
move operations in a logical fashion when a window is in the maximized
or tiled state.

svn path=/trunk/KDE/kdebase/workspace/; revision=1035021
2009-10-14 09:33:00 +00:00
Martin Gräßlin
e6a90e1a6f Unmanaged windows are always kept in place like panels during the cube switch animation.
That's a small hack to get the desktop switch on screen display to not rotate and by that useable when cube is used.

svn path=/trunk/KDE/kdebase/workspace/; revision=1034981
2009-10-14 07:22:11 +00:00
Hugo Pereira Da Costa
cef60f90cb removed useless colorCacheInvalid_ member
svn path=/trunk/KDE/kdebase/workspace/; revision=1034964
2009-10-14 02:55:40 +00:00
Hugo Pereira Da Costa
bd80aaceb1 fixed very stupid bug that would prevent to add new exceptions to the list
svn path=/trunk/KDE/kdebase/workspace/; revision=1034958
2009-10-14 01:24:09 +00:00
Hugo Pereira Da Costa
9044453b35 fixed (tiny) glitch for bottom corners in 'no side border' mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
2009-10-13 23:21:34 +00:00
Script Kiddy
e86e8589d6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034714
2009-10-13 10:28:35 +00:00
Hugo Pereira Da Costa
7d7d986428 fixed vertical translation of buttons and title when compositing is disabled; Added an extra pixel to borderTiny when compositing is disabled (otherwise one can't draw the resize 'dots' due to the float frame; and used helper::roundedMask and helper::rounderRegion to minimize code duplication with style
svn path=/trunk/KDE/kdebase/workspace/; revision=1034562
2009-10-13 03:38:26 +00:00
Hugo Pereira Da Costa
7f6ff0dd02 removed usage of static global variables (static is bad afaik). Everything is controled by the factory.
svn path=/trunk/KDE/kdebase/workspace/; revision=1034554
2009-10-13 01:45:01 +00:00
Script Kiddy
fa4daf121d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034249
2009-10-12 09:41:23 +00:00
Hugo Pereira Da Costa
c5641a3827 modified activeChange animation so that it seems to start earlier (e.g. with first step being a non-zero fraction of the final glow)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034229
2009-10-12 07:26:07 +00:00
Hugo Pereira Da Costa
3c3d093d2b set local reference to client as const. Safer
svn path=/trunk/KDE/kdebase/workspace/; revision=1034053
2009-10-11 20:30:38 +00:00
Hugo Pereira Da Costa
d736178bb5 fixed drawFloatFrame issue in titleoutline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034042
2009-10-11 20:00:14 +00:00
Hugo Pereira Da Costa
00e9cbd9a9 changed 'default' button size from 22 to 20
svn path=/trunk/KDE/kdebase/workspace/; revision=1034014
2009-10-11 19:03:47 +00:00
Hugo Pereira Da Costa
7bfdee649b changed default glow configuration to have larger glow and lighter colors
svn path=/trunk/KDE/kdebase/workspace/; revision=1034011
2009-10-11 19:02:39 +00:00
Hugo Pereira Da Costa
d614414bac removed color overwrite for checked sticky button: it conflicts with icon contrast pixel
svn path=/trunk/KDE/kdebase/workspace/; revision=1034010
2009-10-11 19:01:07 +00:00
Hugo Pereira Da Costa
a528f0e7ac made 'on all desktops' button appear 'pressed' when checked, to be more visible
svn path=/trunk/KDE/kdebase/workspace/; revision=1034009
2009-10-11 18:56:30 +00:00