Commit Graph

8976 Commits (d4a919a9bfe63b124c8d5f4ed588a06fddf86014)

Author SHA1 Message Date
Martin Gräßlin d4a919a9bf Demands Attention support for KWin Scripting
Client has a property for demands attention and Workspace
is emitting a signal whenever the demands attention state
of any Client changes.

REVIEW: 104204
2012-03-12 21:25:45 +01:00
Thomas Lübking d50bf4e283 Merge branch 'KDE/4.8' 2012-03-11 23:50:42 +01:00
Thomas Lübking 63ab501557 zoom untracked towards cursor 2012-03-11 23:48:51 +01:00
Martin Gräßlin bfc406e073 QtScript wants namespaces params 2012-03-09 18:20:50 +01:00
Script Kiddy 58225c286b SVN_SILENT made messages (.desktop file) 2012-03-09 14:59:37 +01:00
Script Kiddy bfe144e30e SVN_SILENT made messages (.desktop file) 2012-03-09 09:50:00 +01:00
Burkhard Lück 037c59391f load catalog with translations 2012-03-08 15:29:53 +01:00
Martin Gräßlin 23485fd604 Add graphics system information to debug output 2012-03-08 07:46:21 +01:00
Christoph Feck 75a26a41b2 Fix build
CCMAIL: kwin@kde.org
2012-03-08 00:25:08 +01:00
Thomas Lübking 357b6b5338 resolve merge conflict 2012-03-07 22:02:26 +01:00
Thomas Lübking 3e4cb7539e fix shading for xrender compositing
REVIEW: 104150
2012-03-07 20:53:38 +01:00
Thomas Lübking c885d88f28 set desktop w/o desktop hint on all desktops
helps with legacy desktops replacing decorations like IceWM which withdraw the desktop settings

REVIEW: 104112
2012-03-07 20:52:15 +01:00
Thomas Lübking 3f0b4826dd - lower windows does not change focus for F(S)UM
- lower by shortcut honors nextFocusPrefersMouse setting

CCBUG: 80897
REVIEW: 104041
2012-03-07 20:49:44 +01:00
Stefano Avallone 76c00aa189 Refactor checks for inclusion of TabBoxClients in the client list
REVIEW: 104025
2012-03-05 20:26:35 +01:00
Script Kiddy e70b0efeea SVN_SILENT made messages (.desktop file) 2012-03-05 10:08:08 +01:00
Martin Gräßlin 15f9e80937 Merge branch 'KDE/4.8' 2012-03-04 16:36:39 +01:00
Martin Gräßlin b91e8e788b Ensure that update script does not overwrite settings
The upgrade script changed to thumbnails layout in case that there
has not been any settings for BoxSwitch effect stored in the config
file.

REVIEW: 104129
2012-03-04 16:35:55 +01:00
Martin Gräßlin 214375f923 Query KWin for available debug output
This adds extensive support information about the running instance
by printing out all used options, the compositing information
including GL platform, loaded effects and active effects.

The debug output can be retrieved through D-Bus:

qdbus org.kde.kwin /KWin supportInformation

or through a KWin Script (use desktop console):

print(workspace.supportInformation())

REVIEW: 104142
2012-03-04 15:21:10 +01:00
Martin Gräßlin e8a038d66f More getters for GlPlatform
A few more getters for parsed information are added to GlPlatform.
This includes the driver information retrieved through glGetString
and information like direct rendering and loose binding.

Additionally the methods to convert version, driver and chipClass
to string are added to the public interface.

These changes allow parts outside GlPlatform to get the same debug
information about the GL system.
2012-03-04 15:21:10 +01:00
Script Kiddy c4ba09aa93 SVN_SILENT made messages (.desktop file) 2012-03-04 09:25:16 +01:00
Montel Laurent 329bd03f6b Fix warning 2012-03-02 14:03:05 +01:00
Montel Laurent b8478624aa Fix warning 2012-03-02 13:58:39 +01:00
Script Kiddy e9007b1dfa SVN_SILENT made messages (.desktop file) 2012-03-02 10:44:30 +01:00
Martin Gräßlin 3600fe5ed8 Support loading/unloading of scripts on config change
Whenever the KWin configuration is changed, scripting has to unload
scripts no longer loaded and load the scripts which have been added.
For this new methods are introduced to check whether the script is
loaded.

REVIEW: 104037
2012-03-02 09:10:21 +01:00
Martin Gräßlin b7d95a1b09 Fix global script methods
The callee is an AbstractScript and we should make sure that
the script is not already deleted.
2012-03-02 09:10:11 +01:00
Martin Gräßlin 95ac5fa2ce Service Type property to exclude KWin Scripts from listing in KCM
This is useful for scripts controlled from other KCMs, like e.g.
DesktopChangeOSD which is controlled by the virtual desktop KCM
and should not be listed in the scripts section.
2012-03-02 09:10:11 +01:00
Martin Gräßlin 70f9290fb1 DesktopChangeOSD settings are now stored in Script group
The setting whether the osd is shown influences the enabled
state of the script plugin.
2012-03-02 09:10:11 +01:00
Martin Gräßlin 6232f0005e DesktopChangeOSD reads its configuration on startup and change 2012-03-02 09:10:11 +01:00
Martin Gräßlin 87fede97a1 Configuration support for KWin scripts
New global method readConfig is exported to QtScript and declarative scripts.
Config is read from a config group stored in kwinrc called "Script-<pluginname>".
For this the ctors of the AbstractScript and derived classes are changed to also
take the pluginname.
2012-03-02 09:10:10 +01:00
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 8728fb3a7b cosmetics. 2012-02-29 17:22:41 +01:00
Hugo Pereira Da Costa 5988ed2161 Fixed warning when rendering text on invalid rectangle;
Fixed painting of buttons in preview.
(thanks Martin :) )
2012-02-29 17:22:29 +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 85f1ae0adb removed unneeded check. 2012-02-29 16:55:37 +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