Commit Graph

9037 Commits (7b3ee21cd3e40089b5ce2235ccc37a1b665115a4)

Author SHA1 Message Date
Thomas Lübking 7b3ee21cd3 [Janitorial] Remove unused function
resetMaximize is done in changeMaximize since ages
2012-03-22 19:35:48 +01:00
Christoph Thielecke 99b233e2ed define missing defines if nessary 2012-03-22 15:10:30 +01:00
Script Kiddy 2440a67990 SVN_SILENT made messages (.desktop file) 2012-03-22 09:23:55 +01:00
Aurélien Gâteau c44251d681 Rework tabbox compact layout a bit
- only use bold text for selected windows
- all icons are colored
- row for minimized windows are not fully opaque
- text for minimized windows is no longer italic

REVIEW: 104187
2012-03-22 08:57:16 +01:00
Martin Gräßlin c802e2bfca Remove extra space in right title button group
Request from Nuno :-)
REVIEW: 104303
2012-03-22 06:49:08 +01:00
Martin Gräßlin da76386fb0 Repaint Thumbnail Item on window damage
Allows to have live updates for thumbnails in tabbox.
BUG: 296066
FIXED-IN: 4.9.0
REVIEW: 104301
2012-03-22 06:48:42 +01:00
Martin Gräßlin 40970a32f1 Drop workaround for BUG 157659
Workaround for a Qt4.4RC1 redrawing bug is no longer needed.
CCBUG: 157659
REVIEW: 104300
2012-03-22 06:46:33 +01:00
Thomas Lübking eb83686d56 [Janitorial] Remove legacy "rules" to ignore position request and focus stealing prevention
REVIEW: 104274
2012-03-21 22:32:33 +01:00
Thomas Lübking e8bc821848 fake a move event when dropping out of quick tiling
BUG: 228815
REVIEW: 104347
2012-03-21 22:32:33 +01:00
Martin Gräßlin 98ce0cbc78 Add parameter names to signals in KWin Scripting
Apparently needed for QML bindings.
2012-03-21 18:55:32 +01:00
Thomas Lübking 88aeec920e re-add SceneXRender::paintGenericScreen implementation to cache screen_paint data 2012-03-21 00:37:10 +01:00
Thomas Lübking 1070bf895b split decorationRect / visibleRect usage
REVIEW: 104215

cherry-picked from 0f3380f3b10e57416f81a1288dc10b8dfe11d87e
Conflicts:

	kwin/geometry.cpp
	kwin/scene.cpp
2012-03-21 00:36:50 +01:00
Thomas Lübking 5bf62e5308 add xrender support to screenshot effect
REVIEW: 104152
cherry-picked from 30ee236d9d7a9c42d763fa4704156846cfa6af25
2012-03-21 00:36:29 +01:00
Thomas Lübking 5e2414544f add offscreen render support to xrender
REVIEW: 104151
cherry-picked from b9534b4ca82973c2e99451b2e151241fd1b6e7cb
2012-03-21 00:35:31 +01:00
Albert Astals Cid e3d2cb9a61 Do not animate the highlight the first time the tabbox is shown
REVIEW: 104340
Acked by Martin Gräßlin
(cherry picked from commit 56345a9f158790e5f7102618c55c600cc688c855)

Conflicts:

	kwin/tabbox/declarative.cpp
	kwin/tabbox/declarative.h
2012-03-21 00:02:21 +01:00
Thomas Lübking ef71908c6a fix ShortcutDialog to allow clearing the shortcut
BUG: 234793
REVIEW: 104336
2012-03-18 22:23:27 +01:00
Thomas Lübking 218baa9dbe swap strictGeometry for isFullScreen case in sizeForClientSize
ratio:
it's the same preference in isFullScreenable, allows clients which do not withdraw their
restrictions (like aspect etc.) or get fullscreen artificially (like through kstart) to start in
"real" fullscreen mode.

BUG: 146741
REVIEW: 104331
2012-03-18 22:23:27 +01:00
Thomas Lübking e99dc3ab5b handle ungrab crossings for FFM & mouse preference
BUG: 142040
REVIEW: 104316
2012-03-18 22:23:27 +01:00
Thomas Lübking 1cedbe6c23 fix new shadow update repaints
resetting is no longer needed with philip layer changes and actually
breaks damages on simultaneous resizes
also use addLayerRepaint for the shadow update

REVIEW: 104306
2012-03-18 22:23:26 +01:00
Thomas Lübking dd1b6cb05f special case keepAbove Docks
This can be used by (autohiding) panels to get the panel above other keepAbove windows
Since the activation still impact the stacking order, the panel should still use
QWidget::raise() or eventually KWindowSystem::raiseWindow(WId win) to (forcefully) get the panel on top.

NOTICE: latter is actually a call for tools like pagers and taskbars, don't abuse it but
preferably use QWidget::raise() instead. Unless the user doesn't type into the keepAbove window while
activating the panel at the same time, this *should* be sufficient.

BUG: 203931
REVIEW: 104279
2012-03-18 22:23:26 +01:00
Thomas Lübking fe96a02960 align special application settings dialog title
BUG: 288586
FIXED-IN: 4.9
REVIEW: 104279
2012-03-18 22:23:26 +01:00
Script Kiddy 6928b027c7 SVN_SILENT made messages (.desktop file) 2012-03-18 10:15:43 +01:00
Martin Gräßlin a5d620a6c2 Use KWin Options to read texture scale settings
No need to re-read the config.
REVIEW: 104298
2012-03-16 13:46:50 +01:00
Martin Gräßlin 2f6784be57 Remove slot for no-longer existing signal in Slideback
Leftover from tabbing rewrite.
2012-03-16 11:40:47 +01:00
Martin Gräßlin b49b2e7c89 Drop unused command line option 2012-03-16 10:53:07 +01:00
Script Kiddy 807caa1b02 SVN_SILENT made messages (.desktop file) 2012-03-14 09:22:50 +01:00
Thomas Lübking bd99dccc2b Sanitize position on screen changes with different struts
BUG: 274466
REVIEW: 104233
2012-03-14 02:29:56 +01:00
Thomas Lübking b0f5e4ac29 remove overzealous maxmode_restore
there's no point in changing the behavior of the maximize button

BUG: 195576
2012-03-14 02:29:56 +01:00
Thomas Lübking 2b2877ddb1 add present windows by class to active screen edges
BUG: 288960
2012-03-14 02:29:56 +01:00
Thomas Lübking 03e18bc88b Merge branch 'KDE/4.8' 2012-03-14 00:18:11 +01:00
Thomas Lübking 0686ea0a1f Merge remote-tracking branch 'origin/KDE/4.8' 2012-03-14 00:17:42 +01:00
Thomas Lübking 74078d7a91 implement xrender support for snaphelper
REVIEW: 104203
2012-03-13 21:38:55 +01:00
Thomas Lübking f62bb93185 xrender support for magnifier
REVIEW: 104201
2012-03-13 21:38:55 +01:00
Thomas Lübking d791b6e421 fix restore size for shaded windows
BUG: 243423
REVIEW: 104236
2012-03-13 21:38:55 +01:00
Thomas Lübking 0aefd56e0f store restore size /before/ removing the decoration for BorderlessMaximized (lead to window resizes on unmaximization)
BUG: 295449
REVIEW: 104185
2012-03-13 21:38:54 +01:00
Thomas Lübking dbea548a43 select minimum layer per screen
BUG: 261799
REVIEW: 104186
2012-03-13 21:38:54 +01:00
Marco Martin 2e576c7cdd turns out scripts are needed on PA 2012-03-13 13:48:14 +01:00
Martin Gräßlin 4e0ab36ae9 Add an AnimationData class for meta values
Objects of AnimationData can be instantiated by scripts and expose
all relevant data as properties, so that the ScriptedEffect can
construct the meta value out of it.

This is probably something that could be done a little bit better.
Still need to think about it, so API not yet final.

REVIEW: 103823
2012-03-12 21:37:47 +01:00
Martin Gräßlin 6baafd28cd Remove unused code 2012-03-12 21:37:42 +01:00
Martin Gräßlin 06b6ea1199 Export another enum 2012-03-12 21:37:42 +01:00
Martin Gräßlin fa66940966 Drop Plasma::ConfigLoader again
It doesn't make really any sense for the effects. Instead the
JS API allows to specify a default value for not present keys.
2012-03-12 21:37:42 +01:00
Martin Gräßlin 875df96143 Fix exporting of EffectWindowList to scripts 2012-03-12 21:37:42 +01:00
Martin Gräßlin ab0daa1701 FadeDesktop effect ported to JavaScript 2012-03-12 21:37:42 +01:00
Martin Gräßlin f8c0616574 Fade effect goes JavaScript
Our first effect written in JavaScript to replace an existing C++
effect. Fade effect has been chosen as it has shown to be problematic
in the past and would have needed a migration to AnimationEffect anyway.
2012-03-12 21:37:42 +01:00
Martin Gräßlin 048540a7c5 Fix error in package structure of scripted effects
The Plasma package structure contains a subdirectory "contents".
Furthermore we have to use locate instead of locateLocal to find
system wide installed packages and adding some debug output for
the case that the script cannot be found.
2012-03-12 21:37:41 +01:00
Martin Gräßlin 8175278526 Make displayWidth/Height available to scripts 2012-03-12 21:37:41 +01:00
Martin Gräßlin d0beb0b9a2 Make some EffectsHandler methods scriptable 2012-03-12 21:37:41 +01:00
Martin Gräßlin a8d3732240 Adding properties to EffectsHandler 2012-03-12 21:37:41 +01:00
Martin Gräßlin 3af37460f8 Make minimize EffectWindows work through scripting 2012-03-12 21:37:41 +01:00
Martin Gräßlin 98dd3ead43 Make some EffectWindow methods scriptable 2012-03-12 21:37:41 +01:00