Commit Graph

7000 Commits (40a2bebe67611694b1faa68e8953a6ef53ab23de)

Author SHA1 Message Date
Martin Gräßlin 3470845dcf Replace do_show with !noBorder(). This should prevent a crash in conjunction with Plasma netbook.
I think it's too late in the cycle to backport to 4.4.0 so if it does not cause any other problems, I will backport to 4.4 branch.
(In case I forget to backport as I am busy with non-kwin issues, please remind me in the bugreport)
Thanks to Thomas Leineweber for providing the patch and investigating the issue.
BUG: 221868

svn path=/trunk/KDE/kdebase/workspace/; revision=1084748
2010-02-03 17:43:47 +00:00
Hugo Pereira Da Costa 5a852ac75b make sure that the (hidden) useAnimation flag also disables button hover animated glow
svn path=/trunk/KDE/kdebase/workspace/; revision=1084320
2010-02-02 21:55:56 +00:00
Roman Shtylman 20650bc139 oops. accidental git commit with lib symlink
svn path=/trunk/KDE/kdebase/workspace/; revision=1083876
2010-02-02 06:04:21 +00:00
Roman Shtylman eeb83912de symlink for git repos
svn path=/trunk/KDE/kdebase/workspace/; revision=1083873
2010-02-02 05:43:28 +00:00
Lucas Murray 51168e97a4 Keep the logout effect active until KWin is killed or the user cancels
the logout by using new information provided by KSMServer; Allow effects
to read and detect root window property notify events.

svn path=/trunk/KDE/kdebase/workspace/; revision=1083335
2010-02-01 07:44:27 +00:00
Hugo Pereira Da Costa b674835c6c added needed metaData to name people behind oxygen-windeco. Feel free to correct directly or contact me, if I missed someone, or miss-typed any information (no offense meant)
svn path=/trunk/KDE/kdebase/workspace/; revision=1083308
2010-02-01 01:48:37 +00:00
Lucas Murray 2a34e440f5 Change the location where LIBGL_ALWAYS_INDIRECT is set and add some
useful documentation about when it is used and why it is required.

svn path=/trunk/KDE/kdebase/workspace/; revision=1082246
2010-01-30 08:27:24 +00:00
Martin Gräßlin 12efb634f0 Fix forward declaration.
svn path=/trunk/KDE/kdebase/workspace/; revision=1081957
2010-01-29 12:38:20 +00:00
Martin Gräßlin 25852b6eaa Aurorae uses a QPropertyAnimation for the animation instead of Plasma::Animator::customAnimation.
deprecatedCode--

svn path=/trunk/KDE/kdebase/workspace/; revision=1081956
2010-01-29 12:37:42 +00:00
Martin Gräßlin b15fc9e1d9 Aurorae supports drawing a halo behind the window title.
New options in General section of config file: HaloActive and HaloInactive. Default to off.
FEATURE: 224011

svn path=/trunk/KDE/kdebase/workspace/; revision=1081745
2010-01-29 09:19:45 +00:00
Lucas Murray fc0633fae3 If the loaded decoration library isn't a valid decoration load the
default decoration instead of dying.
CCBUG: 224440

svn path=/trunk/KDE/kdebase/workspace/; revision=1081285
2010-01-28 04:11:13 +00:00
Hugo Pereira Da Costa 3027731686 Added shadeMode synchronization between client and target when attempting to add a client to a group. Triggers target decoration repaint when adding the client
to the group fails, in order to make sure that hove animations are reset properly.
BUG: 223726

svn path=/trunk/KDE/kdebase/workspace/; revision=1081273
2010-01-28 03:23:09 +00:00
Aaron J. Seigo 7c284cb3e1 same duration as used in Plasma::ItemBackground; smoother and more consistent for bonus
svn path=/trunk/KDE/kdebase/workspace/; revision=1081170
2010-01-27 21:23:42 +00:00
Hugo Pereira Da Costa b02f1c6d7e use selectionModel selectionChanged() signal to trigger decoration change, rather than activate
svn path=/trunk/KDE/kdebase/workspace/; revision=1081165
2010-01-27 21:09:04 +00:00
Hugo Pereira Da Costa 0917db504e Added/moved itemData_.setDirty() calls to make sure clientgroupitems are reset properly in
all cases, including when the clientGroup modification request (add,remove, ...) fails.
CCBUG: 223726

svn path=/trunk/KDE/kdebase/workspace/; revision=1081125
2010-01-27 20:10:33 +00:00
Hugo Pereira Da Costa 49deef6c2e fixed vertical positioning of window background
svn path=/trunk/KDE/kdebase/workspace/; revision=1080859
2010-01-27 05:27:20 +00:00
Martin Gräßlin 8cefa7e493 Do a full repaint at end of sliding popups animation and when a window gets deleted to remove artefacts.
As the effect is doing full repaints all the time due to PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS this one extra repaint doesn't matter.
BUG: 215400

svn path=/trunk/KDE/kdebase/workspace/; revision=1080634
2010-01-26 15:57:40 +00:00
Martin Gräßlin 17ea2bf146 setTabBoxWindow causes the ItemInfo to be regenerated, so we have to break the loop after finding a window.
Makes more sense anyway as we do not have to go through the hash to find the item we already found.
BUG: 222120

svn path=/trunk/KDE/kdebase/workspace/; revision=1080616
2010-01-26 15:26:48 +00:00
Laurent Montel 2b6628b7f6 Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1080553
2010-01-26 12:27:15 +00:00
Friedrich W. H. Kossebau 4750a5c42b changed: made static const data symbols really static const
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=1080302
2010-01-26 02:57:09 +00:00
Lucas Murray 8960c552d2 Remove OpenGL driver whitelist; Add protection against crashy glXQuery
functions and share the value with the KCM; Fallback to XRender
compositing if OpenGL fails to work correctly; Rearrange setting order
in options.h slightly and fix variable names

svn path=/trunk/KDE/kdebase/workspace/; revision=1079919
2010-01-25 10:02:08 +00:00
Hugo Pereira Da Costa c04cc31fa2 fixed title bounding rect conflict with window buttons when dragging a tab away from (or back in) a 2-tabs window, with the second tab title being very long
svn path=/trunk/KDE/kdebase/workspace/; revision=1078906
2010-01-23 06:59:55 +00:00
Hugo Pereira Da Costa 4874785fb4 revert r1078325 and moves the handling of Maximize state changes when
un-grouping windows to clientgroup.cpp. Ensures that Client::maximize( 
MaximizeRestore ) is called when appropriate to avoid decoration artifacts.
BUG: 223060

svn path=/trunk/KDE/kdebase/workspace/; revision=1078877
2010-01-23 03:41:39 +00:00
Jorge Emilio Mata cc8cc5d098 Don't remove the shortcut from the database, just set the keybinding to
none when using only modifiers.


svn path=/trunk/KDE/kdebase/workspace/; revision=1078339
2010-01-22 05:01:05 +00:00
Lucas Murray f9a5876ac9 Don't auto-group transient windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1078327
2010-01-22 03:13:18 +00:00
Hugo Pereira Da Costa 346bcc30d3 Force update of decoration pixmap in setGeometry when maximize state is changed even if the size is
not, to handle changes in decoration pixelMetrics right.
BUG: 223060

svn path=/trunk/KDE/kdebase/workspace/; revision=1078325
2010-01-22 02:50:33 +00:00
Hugo Pereira Da Costa f13d25a8df Fixed calculation on drag distance in Client::handleMoveResize to properly handle decoration padding, consistently with calculation of
"moveOffset" in Client::processDecorationButtonPress (in events.cpp).

BUG: 223366


svn path=/trunk/KDE/kdebase/workspace/; revision=1078291
2010-01-21 23:09:07 +00:00
Jorge Emilio Mata 302a245d0e track mouse effect: provide configurable keyboard shortcut
Bug 163491


svn path=/trunk/KDE/kdebase/workspace/; revision=1078102
2010-01-21 14:56:24 +00:00
Laurent Montel 29924ef978 Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1077432
2010-01-20 08:11:54 +00:00
Martin Gräßlin ba25fe8ce3 Fix a crash when clicking ok in the configure decoration dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=1077309
2010-01-19 22:28:53 +00:00
Martin Gräßlin 923d1a3778 Use scroll per pixel to scroll through the list of decorations
svn path=/trunk/KDE/kdebase/workspace/; revision=1077295
2010-01-19 22:10:16 +00:00
Martin Gräßlin 19637c1803 Fix individual button width for the help button.
svn path=/trunk/KDE/kdebase/workspace/; revision=1077223
2010-01-19 18:27:25 +00:00
Martin Gräßlin e92659acbf Replacing remaining tabs in kwindecoration.(h|cpp) by whitespaces to match KWin's coding style.
(Also removing indentation remark for kate)
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1077152
2010-01-19 13:56:57 +00:00
Martin Gräßlin c9df18ab98 New decoration kcm:
* Displays list with previews instead of a dropdown with just the name.
* Configuration is moved into an own dialog accessible via a configure button for each decoration
* Button configuration is moved into a dialog, by that the tabs are removed
* Aurorae themes are listed just like normal decorations
* GHNS support to download Aurorae themes
* Semi-live preview of changed: when configure dialog is closed the preview is updated
* About Dialog added for each decoration (needs updates in desktop files - the information is missing)

svn path=/trunk/KDE/kdebase/workspace/; revision=1077141
2010-01-19 13:44:22 +00:00
Martin Gräßlin f5dd7d7185 Don't manage new windows which should not be shown in desktop grid (such as panels).
svn path=/trunk/KDE/kdebase/workspace/; revision=1076727
2010-01-18 19:06:09 +00:00
Martin Gräßlin b11f81c5fc Do not activate desktop grid while it is still moving back windows in present windows mode from last usage.
BUG: 223234

svn path=/trunk/KDE/kdebase/workspace/; revision=1076719
2010-01-18 18:45:42 +00:00
Hugo Pereira Da Costa f308728d7d fixed compilation warning about 'virtual' signals
svn path=/trunk/KDE/kdebase/workspace/; revision=1075993
2010-01-17 08:07:13 +00:00
Hugo Pereira Da Costa 352a2de89a always store dragpoint in mousePressEvent, disregarding the button;
reset mouseButton_ in mouseMoveEvent only if action is actually taken.
CCBUG 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1075951
2010-01-17 03:02:44 +00:00
Martin Gräßlin fb8fc3001b Do not add NULL effect windows to the motion manager.
BUG: 222193

svn path=/trunk/KDE/kdebase/workspace/; revision=1073247
2010-01-11 21:24:00 +00:00
Martin Gräßlin 26555f6aa7 Only react on tabbox key events in present windows if the effect is activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=1073187
2010-01-11 20:01:25 +00:00
Hugo Pereira Da Costa e2240a8427 Do not activate button pressed animation when no action is triggered when doing so (e.g right button press on Window-Close)
svn path=/trunk/KDE/kdebase/workspace/; revision=1073152
2010-01-11 18:32:56 +00:00
Lucas Murray df2b3170cb Fix conflicts with sliding popups, fade, fall apart, scale in and
explosion by using EffectWindow::data() instead of proxies.
BUG: 222168

svn path=/trunk/KDE/kdebase/workspace/; revision=1072837
2010-01-11 04:52:19 +00:00
Martin Gräßlin e32fd9e0cd Use kwin icon in the killer helper window.
BUG: 210172

svn path=/trunk/KDE/kdebase/workspace/; revision=1072707
2010-01-10 19:32:57 +00:00
Martin Gräßlin c3476f0345 Add a new option to cube animation to trigger rotating the cube while moving a window towards the screen edge.
The cube starts to rotate before the desktop switches due to active desktop border change. This gives the impression that you drag the cube by moving the window. Of course option is only useful when switching desktop on screen edge is enabled and so this feature is disabled by default.

svn path=/trunk/KDE/kdebase/workspace/; revision=1072640
2010-01-10 15:51:02 +00:00
Hugo Pereira Da Costa 0e62916ccd Display client menu on mouse press in the oxygen decoration.
BUG: 221997


svn path=/trunk/KDE/kdebase/workspace/; revision=1072370
2010-01-10 03:47:25 +00:00
Lucas Murray 851b833293 Display client menu on mouse press in the Tabstrip decoration; Correct
handling of tab close button events; Prevent a crash when a decoration
requests the client menu of an invalid tab index.
CCBUG: 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1072365
2010-01-10 03:36:51 +00:00
Hugo Pereira Da Costa e2bd296cf7 Prevent closing of tab when tab closeButton mouseReleaseEvent occurs outside of the button rect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072363
2010-01-10 03:29:07 +00:00
Lucas Murray b90acadcc9 Don't allow quick tiling for windows that cannot be resized.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072080
2010-01-09 11:48:54 +00:00
Lucas Murray c8e9de08f6 Make quick maximize activation zone smaller to prevent accidental
activations.

svn path=/trunk/KDE/kdebase/workspace/; revision=1072075
2010-01-09 11:41:52 +00:00
Martin Gräßlin bdbcd60b4f When there is no window, we can't select one with a mouse click in coverswitch.
BUG: 221626

svn path=/trunk/KDE/kdebase/workspace/; revision=1072044
2010-01-09 10:36:31 +00:00