Commit Graph

8944 Commits (6c225755fc5f6be7223aea6f45bf08065adea986)

Author SHA1 Message Date
Martin Gräßlin 6c225755fc Drop C++ based Desktop Change OSD
No longer needed as it has been replaced by a declarative script.
2012-03-02 09:10:10 +01:00
Martin Gräßlin 7bff89c5e0 Introduce a desktop change OSD as a declarative script
This QML based version of the desktop change OSD is intended to
replace the C++ version of it.

It currently supports all of the features except adjusting to config
options, which is not yet available at all to scripts.
2012-03-02 09:10:10 +01:00
Martin Gräßlin 3f1ef8bb8d Export KWin::Options to KWin scripts 2012-03-02 09:10:10 +01:00
Martin Gräßlin 6a8b79f699 Support declarative KWin scripts
For this the Script class is slightly refactored to have a common
base for JavaScript and QML based scripts.

Why QML bindings? This allows to use QML for example for the
desktop change OSD or for fullscreen effects like Present Windows.
2012-03-02 09:10:10 +01:00
Martin Gräßlin f9ad0621d5 Drop script dir variable
Not needed any more.
2012-03-02 09:10:10 +01:00
Martin Gräßlin f5cf141760 Drop kwin config update script from 4.0 to 4.1
REVIEW: 104130
2012-03-02 09:09:06 +01:00
Martin Gräßlin dc3ee2bce4 Drop kwin config updates from KDE 3.x times 2012-03-02 09:08:57 +01:00
Martin Gräßlin 2b2976aa20 Adjust Aurorae Menu Button close behavior to KCommonDecoration
See 27b667f49562963ea3f13d5b9dd56ff846feb75a
2012-03-01 13:33:35 +01:00
Script Kiddy 292ceee506 SVN_SILENT made messages (.desktop file) 2012-03-01 09:46:02 +01:00
Martin Gräßlin e71364a13e Script to synchronize skip switcher with skip taskbar
REVIEW: 104099
2012-02-29 18:57:28 +01:00
Martin Gräßlin e46f81ec73 Make skipPager and skipTaskbar available to scripts 2012-02-29 18:57:17 +01:00
Hugo Pereira Da Costa 0b1f4fc1d6 cosmetics. 2012-02-29 17:17:25 +01:00
Hugo Pereira Da Costa 2eb4b96a8c Fixed warning when rendering text on invalid rectangle;
Fixed painting of buttons in preview.
(thanks Martin :) )
2012-02-29 17:10:23 +01:00
Hugo Pereira Da Costa b7ba859dd6 Merge branch 'master' of git.kde.org:kde-workspace 2012-02-29 16:56:02 +01:00
Hugo Pereira Da Costa 0a7195fe22 removed unneeded check. 2012-02-29 16:54:52 +01:00
Marco Martin 7a71ab72ea make sure the tapped window gets activated
if when the tabbox is open another window that does -not- appear in the tabbox gets focus, tapping on the same thumbnail as the last active window won't produce any effect, the patch makes sure that window gets activated, even if it has the currentIndex
REVIEW:104096
2012-02-29 16:43:12 +01:00
Script Kiddy dd026bdd9f SVN_SILENT made messages (.desktop file) 2012-02-29 10:25:11 +01:00
Hugo Pereira Da Costa 8f28376274 fixed tabbing order 2012-02-29 08:57:41 +01:00
Marco Martin aeccc69103 the client marked as first shouldn't be closeable.
REVIEW:104093
2012-02-27 22:20:11 +01:00
Martin Gräßlin 551ad4d4ff KWin::Options becomes a QObject and provides properties
This allows to inject the options into KWin scripts.

REVIEW: 104036
2012-02-27 19:34:13 +01:00
Martin Gräßlin ca663c3749 Constify getter methods in KWin::Options 2012-02-27 19:31:58 +01:00
Martin Gräßlin 212908ee88 Refactoring of KWin::Options: getter methods instead of public variables 2012-02-27 19:31:58 +01:00
Martin Gräßlin 26b345358f Don't re-read config options which cannot have been changed
Reading config options is only done in options.cpp which is
triggered by Workspace whenever the config changed.
2012-02-27 19:28:49 +01:00
Martin Gräßlin 00913cc4d6 Drop unused options variable 2012-02-27 19:28:48 +01:00
Martin Gräßlin 095a00b912 Add delay before showing window menu
The window menu is shown after a strong click on the menu button.
This makes close by double click on menu button working correctly.
A single (strong) click will open the window menu, a double click
will close the menu. A  triple click is no longer required.

REVIEW: 103995
BUG: 157184
FIXED-IN: 4.9.0
2012-02-27 19:27:18 +01:00
Thomas Lübking ac868aff98 Merge branch 'KDE/4.8' 2012-02-26 21:15:40 +01:00
Thomas Lübking a57dc6b238 hotfix translucency effect 2012-02-26 18:40:21 +01:00
Martin Gräßlin 711fd0b876 Drop include for config-workspace.h
None of the definitions is used anywhere in kwin.
REVIEW: 104081
2012-02-26 17:23:19 +01:00
Martin Gräßlin 7f0770f99d Properly ifdef everything requiering HAVE_XSYNC
REVIEW: 104080
2012-02-26 17:22:38 +01:00
Martin Gräßlin 83affb0d81 Droped unused XSHM import 2012-02-26 17:22:10 +01:00
Script Kiddy 3f9ba4d50e SVN_SILENT made messages (.desktop file) 2012-02-25 10:51:38 +01:00
Script Kiddy fc9dcf9e82 SVN_SILENT made messages (.desktop file) 2012-02-23 09:52:44 +01:00
Marco Martin 63c4bf15d5 use workspace signals to track geometry changes
connecting to a kwindowsystem signal that causes instantiation of
 kwindowsystemprivate breaks window focus.

this match makes it use internal kwin signals to track the embedding window geometry

REVIEW:104039
2012-02-21 23:08:28 +01:00
Martin Gräßlin 949eeedbc5 Adding a video wall script
This script allows to have video fullscreen windows span all attached
screens creating a video wall.

This replaces the removed functionality that you could disable
xinerama support inside KWin for fullscreen windows.

REVIEW: 104014
2012-02-21 22:27:35 +01:00
Thomas Lübking 54edda66f6 fix build, resetRepaints API changed 2012-02-21 19:35:46 +01:00
Thomas Lübking b79a176be3 resolve merge conflicts 2012-02-21 19:22:08 +01:00
Thomas Lübking 67f484e825 fix negation logic error ... 2012-02-21 18:42:09 +01:00
Thomas Lübking e789daf1bc clean dirty rect from repaints_region when updating shadow, skip double resetting of shadow rect
REVIEW: 104028
2012-02-21 17:19:24 +01:00
Thomas Lübking 152b738181 don't allocate unused closeview and guard all pointers
REVIEW: 104009
2012-02-21 17:18:05 +01:00
Thomas Lübking 631fb0d4cb allow app_noborder clients to drop out of maximization
REVIEW: 104010
CCBUG: 294211
2012-02-21 17:18:05 +01:00
Thomas Lübking 802abf09d1 allow windows to withdraw XShape masks
BUG: 293736
REVIEW: 104007
2012-02-21 17:18:04 +01:00
Thomas Lübking 2123fb8dbd select proper client for shortcuts and guard pointer
REVIEW: 103998
2012-02-21 17:18:04 +01:00
Thomas Lübking 7e7846adce Focus window under mouse after MouseLowerOp
BUG: 255052
REVIEW: 103975
2012-02-21 17:18:04 +01:00
Script Kiddy 7397a5dc6a SVN_SILENT made messages (.desktop file) 2012-02-20 09:55:34 +01:00
Martin Gräßlin c76317fa0f Export Desktop Name to scripts 2012-02-19 17:01:30 +01:00
Martin Gräßlin 356b406ae3 Export screen information to scripts 2012-02-19 17:01:22 +01:00
Philipp Knechtges 999d64bb19 kwin/blur: consider the valid part of the cache as being opaque
This reduces the repaints in cases where several blur regions are
stacked on top of each other (e.g. oxygen-transparent) and the topmost
layer needs to be updated (e.g. a blurry window is moved).
2012-02-19 01:28:23 +01:00
Philipp Knechtges f3117f1038 kwin/blur: substituting QHash::operator[] by an iterator-based approach 2012-02-19 01:28:16 +01:00
Martin Gräßlin 75b17d6c08 Scripting KCM supporting Plasma Package structure
List view is replaced by KPluginSelector. This is not an optimal
solution as it makes it impossible to get the selected item and
reloading seems also not to work after a new script is installed.

This should become a proper Model based view.
2012-02-18 10:40:39 +01:00
Martin Gräßlin db04ab7f36 KWin scripts use Plasma package structure
Scripts are found by the KServiceTypeTrader and can now be
enabled/disabled. Loading of config is currently disabled. Will
be made available again after scripted effects are merged.
2012-02-18 10:40:39 +01:00