Martin Gräßlin
b57885a1bf
Add registerGlobalShortcut method to kwineffects
...
Implemented in KWin core to forward to new global shortcut system. This
method should be extended/changed once we go to Qt5/KF5 to make the usage
easier (no more KAction).
Each global shortcut in the effects makes use of this new method.
2014-03-19 14:14:56 +01:00
Aleix Pol
c72e519d9c
Remove KDE/ prefix in include directories
...
It's unneeded and deprecated since KF5.
2014-03-17 16:24:10 +01:00
Martin Gräßlin
c7d986c7fe
[kwin] Remove the legacy OpenGL 1 compositing backend
...
KWin already has a de facto OpenGL 2 dependency through QML. Combined
with the fact that the OpenGL 1 backend is basically unmaintained and
also unused, it's better to remove it for the new major release.
This change includes:
* Removal of cmake option KWIN_BUILD_OPENGL_1_COMPOSITING
* Removal of KWIN_HAVE_OPENGL_1 compile option and all code
ifdef'ed with it (partially removal of if-else constructs)
* Removal of CompositingType::OpenGL1Compositing (flags are kept
as a core flag should get introduced)
* Driver recommendation for OpenGL1Compositing changed to XRender
(should be evaluated whether the drivers can provide GL2)
* Removal of configuration option "GLLegacy"
* Removal of fooMatrix function in kwinglutils
* Removal of ARBBlurShader
* Removal of legacy code path in GLVertexBuffer
* Removal of GLShaderManager::disable
* if-blocks with ShaderManager::instance()->isValid() removed
REVIEW: 116042
2014-03-10 08:59:11 +01:00
l10n daemon script
6f8c3dd771
SVN_SILENT made messages (.desktop file)
2014-02-18 05:12:30 +00:00
Thomas Lübking
66375ad741
Merge branch 'KDE/4.11'
...
Conflicts:
kwin/effects/mouseclick/mouseclick.cpp
plasma/generic/scriptengines/python/plasma-scriptengine-dataengine-python.desktop
plasma/generic/scriptengines/python/plasma-scriptengine-runner-python.desktop
plasma/generic/scriptengines/ruby/plasma-scriptengine-ruby-applet.desktop
plasma/generic/scriptengines/ruby/plasma-scriptengine-ruby-dataengine.desktop
2014-01-30 20:55:35 +01:00
Thomas Lübking
34ecf8970e
mouseclick FX, don't collect clicks unless active
...
BUG: 328010
FIXED-IN: 4.11.6
REVIEW: 115389
2014-01-30 20:23:42 +01:00
Martin Gräßlin
76efe517a7
Turn built-in effects into a library kwin links against
...
As all effects have always been compiled into the same .so file it's
questionable whether resolving the effects through a library is useful
at all. By linking against the built-in effects we gain the following
advantages:
* don't have to load/unload the KLibrary
* don't have to resolve the create, supported and enabled functions
* no version check required
* no dependency resolving (effects don't use it)
* remove the KWIN_EFFECT macros from the effects
All the effects are now registered in an effects_builtins file which
maps the name to a factory method and supported or enabled by default
methods.
During loading the effects we first check whether there is a built-in
effect by the given name and make a shortcut to create it through that.
If that's not possible the normal plugin loading is used.
Completely unscientific testing [1] showed an improvement of almost 10
msec during loading all the effects I use.
[1] QElapsedTimer around the loading code, start kwin five times, take
average.
REVIEW: 115073
2014-01-24 14:13:59 +01:00
l10n daemon script
588ad2be66
SVN_SILENT made messages (.desktop file)
2014-01-19 06:36:32 +00:00
Martin Gräßlin
2dc14be640
MouseClick Animation effect supports QPainter Compositor
2014-01-09 13:29:40 +01:00
Martin Gräßlin
a4943bc0e3
[kwin/effects] Add links to effect videos
...
Videos for the following effects are added:
* Dim Inactive
* Dim Screen for Administration Mode
* Invert
* Looking Glass
* Magnifier
* Mouse Click
* Track Mouse
* Zoom
Link for Present Windows video fixed.
2013-12-22 15:23:48 +01:00
Martin Gräßlin
145f0c096f
[kwin/effects] Do not use KActionCollections for the global shortcuts
...
Most effects had a "collection" for one action. We don't need the
action collection, all it was used for is setting the object name.
With the removal of KActionCollection the effects do not need to link
XmlGui any more, though the dependency is still pulled in through
plasma.
2013-12-10 11:45:33 +01:00
l10n daemon script
d5e439aae0
SVN_SILENT made messages (.desktop file)
2013-12-08 06:36:10 +00:00
l10n daemon script
1bd3f7cb5c
SVN_SILENT made messages (.desktop file)
2013-12-07 03:44:53 +00:00
Aleix Pol
94f31606e6
CMake macros porting
...
kconfig_add_kcfg_files
qt5_add_dbus_adaptor
qt5_generate_dbus_interface
2013-11-27 16:11:14 +01:00
Thomas Lübking
9bf14c2653
Merge branch 'KDE/4.11'
...
Conflicts:
kwin/clients/aurorae/src/aurorae.cpp
2013-10-20 19:40:48 +02:00
Thomas Lübking
eb059ad8a6
fix mouseclick animation repaint areas
...
REVIEW: 113212
BUG: 325869
FIXED-IN: 4.11.3
2013-10-20 19:37:13 +02:00
Martin Gräßlin
969e6b85e7
Merge branch 'master' into frameworks-scratch
...
Conflicts:
CMakeLists.txt
kwin/client.cpp
kwin/effects/highlightwindow/highlightwindow.cpp
kwin/libkwineffects/kwingltexture.cpp
kwin/libkwineffects/kwinxrenderutils.cpp
kwin/scene_opengl.cpp
kwin/workspace.cpp
plasma/desktop/applets/kickoff/CMakeLists.txt
plasma/desktop/applets/taskmanager/package/contents/code/tools.js
plasma/desktop/applets/taskmanager/package/contents/ui/Task.qml
plasma/desktop/applets/taskmanager/package/contents/ui/main.qml
plasma/desktop/applets/taskmanager/package/metadata.desktop
plasma/desktop/applets/taskmanager/plugin/textlabel.h
plasma/desktop/applets/tasks/CMakeLists.txt
plasma/desktop/applets/tasks/package/metadata.desktop
plasma/desktop/applets/tasks/tasks.cpp
plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
plasma/generic/applets/activitybar/activitybar.cpp
plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-09-24 11:28:38 +02:00
Martin Gräßlin
47cc0d77f5
KFooInput -> Q(Double)SpinBox in mouseclick effect config
...
And with that the effect configs do not need kde4support any more.
2013-09-09 07:47:36 +02:00
Martin Gräßlin
36d0a90859
KIntSpinBox -> QSpinBox in kwin/effects configs
2013-09-09 07:38:30 +02:00
Martin Gräßlin
e7a9655223
Use KShortcutsEditor directly instead of subclass
...
We don't need the GlobalShortcutsEditor anymore as the action type
can now be set as a property.
2013-09-09 06:57:06 +02:00
Reza Shah
61f452723e
Port KWin effects away from KAction and KShortcut to Qt5/KF5 classes.
...
REVIEW: 111898
2013-08-15 04:13:12 +09:00
l10n daemon script
df17849412
SVN_SILENT made messages (.desktop file)
2013-08-13 04:19:10 +00:00
Martin Gräßlin
ed5d4048b6
foo.moc -> moc_foo.cpp in KWin effects config
2013-08-07 13:04:01 +02:00
Martin Gräßlin
9291b18cee
Merge branch 'master' into frameworks-scratch
...
Conflicts:
CMakeLists.txt
kwin/effects.cpp
kwin/effects/logout/logout.cpp
kwin/effects/presentwindows/main.qml
kwin/effects/presentwindows/presentwindows.cpp
kwin/effects/presentwindows/presentwindows.h
kwin/effects/zoom/zoom_config.cpp
kwin/libkwineffects/kwinglutils_funcs.cpp
kwin/libkwineffects/kwinxrenderutils.cpp
kwin/nvidiahack.cpp
kwin/xcbutils.h
plasma/desktop/containments/desktop/plasma-containment-desktop.desktop
plasma/generic/wallpapers/image/image.cpp
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-08-07 10:10:06 +02:00
l10n daemon script
8cae78b2d8
SVN_SILENT made messages (.desktop file)
2013-07-30 07:20:00 +00:00
l10n daemon script
68bf8072b2
SVN_SILENT made messages (.desktop file)
2013-07-30 04:11:51 +00:00
Martin Gräßlin
ba7d50fdc5
Disable global shortcut handling in all effects
...
KAction and KShortcut needs porting, so disabled for now.
2013-07-24 09:58:44 +02:00
Martin Gräßlin
2144f547d0
Port effect configs to new KCModule ctor
2013-07-24 09:58:43 +02:00
Martin Gräßlin
330d40f425
Fix no cast to/from ASCII intrduced issues
...
* "" needs to be wrapped in QStringLiteral
* QString::fromUtf8 needed for const char* and QByteArray
* QByteArray::constData() needed to get to the const char*
2013-07-24 09:58:33 +02:00
Martin Gräßlin
1d2c2d5982
Use Q_SLOTS and Q_SIGNALS instead of slots and signals
...
Fixes compilation with Qt5/KF5 setup.
2013-07-24 09:46:54 +02:00
l10n daemon script
2fc1ae684b
SVN_SILENT made messages (.desktop file)
2013-07-14 06:59:57 +00:00
l10n daemon script
7bd89eb6ee
SVN_SILENT made messages (.desktop file)
2013-07-14 04:16:47 +00:00
l10n daemon script
502d003ef5
SVN_SILENT made messages (.desktop file)
2013-06-23 04:02:47 +00:00
l10n daemon script
34c8d6feb6
SVN_SILENT made messages (.desktop file)
2013-06-05 04:54:40 +00:00
l10n daemon script
020f6fd612
SVN_SILENT made messages (.desktop file)
2013-05-30 04:29:57 +00:00
Montel Laurent
dd8cf0b678
normalize signal/slot
2013-05-11 14:09:15 +02:00
Script Kiddy
dfd72523b1
SVN_SILENT made messages (.desktop file)
2013-05-02 09:17:01 +02:00
Script Kiddy
8e8a18748d
SVN_SILENT made messages (.desktop file)
2013-04-26 08:56:47 +02:00
Martin Gräßlin
caf340a607
Drop MouseClickEffect::supported
...
It returns true...
REVIEW: 109955
2013-04-11 12:56:07 +02:00
Martin Gräßlin
7e10fe524f
Fix warnings and compile errors when building with XRender Compositing disabled
...
ScreenEdgesEffect failed compiling, mouseclick and zoom are yelling
warnings.
Compiling is tested with XRender enabled, for the disabled test I need to
wait for my Jenkins installation ;-)
2013-02-21 18:21:46 +01:00
Thomas Lübking
c395d6e66c
fix mouse button order
...
X counts the middle button as 2 and right as 3, Qt as 4 and 2 resp. the flags
... we shall at least match our GUI ;-)
BUG: 314756
FIXED-IN: 4.10.1
REVIEW: 108883
2013-02-12 21:59:22 +01:00
Thomas Lübking
f5744fa224
catch releases without presses
...
happens when the polling misses the press when doing more
important things
also shortcut buttons == oldButtons
BUG: 314762
FIXED-IN: 4.10.1
REVIEW: 108883
2013-02-12 21:59:22 +01:00
Thomas Lübking
06c725e685
port mouseclick to xcb using a tristrip
...
REVIEW: 108879
2013-02-12 20:59:47 +01:00
Script Kiddy
9af0232217
SVN_SILENT made messages (.desktop file)
2013-02-12 19:49:11 +01:00
Script Kiddy
d9191d1485
SVN_SILENT made messages (.desktop file)
2013-02-01 08:50:51 +01:00
Marco Martin
baf21f6b34
Merge branch 'KDE/4.10'
...
Conflicts:
plasma/generic/applets/batterymonitor/metadata.desktop
plasma/generic/applets/lock_logout/metadata.desktop
2013-01-31 17:00:02 +01:00
Script Kiddy
f193c56957
SVN_SILENT made messages (.desktop file)
2013-01-31 16:31:28 +01:00
Script Kiddy
ca2cf4d697
SVN_SILENT made messages (.desktop file)
2013-01-31 12:00:36 +01:00
Script Kiddy
1416c8d62c
SVN_SILENT made messages (.desktop file)
2013-01-30 16:27:26 +01:00
Script Kiddy
2ea65eb18e
SVN_SILENT made messages (.desktop file)
2013-01-26 13:21:28 +01:00
Script Kiddy
7d821f3814
SVN_SILENT made messages (.desktop file)
2013-01-26 09:04:17 +01:00
Thomas Lübking
5d0e383924
don't stopMousePolling when not started
...
REVIEW: 108536
BUG: 313655
2013-01-23 21:28:25 +01:00
Thomas Lübking
9a5db24cdf
don't stopMousePolling when not started
...
REVIEW: 108536
BUG: 313655
2013-01-23 21:27:43 +01:00
Script Kiddy
26a316d044
SVN_SILENT made messages (.desktop file)
2013-01-20 11:57:59 +01:00
Script Kiddy
eb22a0ea1c
SVN_SILENT made messages (.desktop file)
2013-01-20 07:52:28 +01:00
Script Kiddy
589ed300d1
SVN_SILENT made messages (.desktop file)
2013-01-17 12:53:52 +01:00
Script Kiddy
8154d50dec
SVN_SILENT made messages (.desktop file)
2013-01-17 08:15:16 +01:00
Script Kiddy
3cddfdecff
SVN_SILENT made messages (.desktop file)
2013-01-16 12:37:47 +01:00
Script Kiddy
f49ad23e8a
SVN_SILENT made messages (.desktop file)
2013-01-16 08:25:39 +01:00
Script Kiddy
0e73ee70a4
SVN_SILENT made messages (.desktop file)
2013-01-13 12:19:08 +01:00
Script Kiddy
e22b539e3a
SVN_SILENT made messages (.desktop file)
2013-01-13 08:07:12 +01:00
Script Kiddy
3035d220c0
SVN_SILENT made messages (.desktop file)
2013-01-11 08:17:14 +01:00
Script Kiddy
d5a0dd56cf
SVN_SILENT made messages (.desktop file)
2013-01-10 12:23:23 +01:00
Script Kiddy
c6d91ac7eb
SVN_SILENT made messages (.desktop file)
2013-01-07 08:11:48 +01:00
Script Kiddy
93c9fd0f32
SVN_SILENT made messages (.desktop file)
2013-01-04 07:44:10 +01:00
Script Kiddy
d6dd4308db
SVN_SILENT made messages (.desktop file)
2013-01-03 07:40:00 +01:00
Script Kiddy
ef0cae8dab
SVN_SILENT made messages (.desktop file)
2012-12-18 15:28:22 +01:00
Script Kiddy
a2472524c2
SVN_SILENT made messages (.desktop file)
2012-12-17 07:49:07 +01:00
Script Kiddy
dda5cbea69
SVN_SILENT made messages (.desktop file)
2012-12-13 07:29:15 +01:00
Script Kiddy
974e0e9c7d
SVN_SILENT made messages (.desktop file)
2012-12-09 07:14:36 +01:00
Script Kiddy
a5bec484f6
SVN_SILENT made messages (.desktop file)
2012-12-05 07:19:24 +01:00
Script Kiddy
068419656f
SVN_SILENT made messages (.desktop file)
2012-12-03 07:26:16 +01:00
Script Kiddy
49a373b681
SVN_SILENT made messages (.desktop file)
2012-12-01 08:03:43 +01:00
Script Kiddy
5a9a6d3b8a
SVN_SILENT made messages (.desktop file)
2012-11-28 07:36:20 +01:00
Script Kiddy
e6f0f5bcf7
SVN_SILENT made messages (.desktop file)
2012-11-26 07:08:50 +01:00
Script Kiddy
313b1833bc
SVN_SILENT made messages (.desktop file)
2012-11-25 07:01:07 +01:00
Script Kiddy
b24b9a99f3
SVN_SILENT made messages (.desktop file)
2012-11-16 07:21:38 +01:00
Thomas Lübking
b28cf2adc9
xrender for mouseclick
...
REVIEW: 107181
2012-11-14 21:16:32 +01:00
Script Kiddy
b2bf54f859
SVN_SILENT made messages (.desktop file)
2012-11-11 06:50:24 +01:00
Script Kiddy
22be6de889
SVN_SILENT made messages (.desktop file)
2012-11-07 06:52:27 +01:00
Script Kiddy
21463a9a91
SVN_SILENT made messages (.desktop file)
2012-11-04 06:38:24 +01:00
Script Kiddy
93e9854674
SVN_SILENT made messages (.desktop file)
2012-11-03 07:01:48 +01:00
Script Kiddy
9d7cdf1011
SVN_SILENT made messages (.desktop file)
2012-10-30 15:42:08 +01:00
Script Kiddy
17ddc517b7
SVN_SILENT made messages (.desktop file)
2012-10-29 09:53:30 +01:00
Script Kiddy
2cb8e724d4
SVN_SILENT made messages (.desktop file)
2012-10-28 09:14:05 +01:00
Martin Gräßlin
bf8e7c4fc8
Add QProperties to MouseClick Effect
...
Allows to read out all settings at runtime through supportInformation.
2012-10-26 09:47:22 +02:00
Martin Gräßlin
c3f2b68581
Protect access to EffectFrame if not used
...
Caused a crash when Show Text was disabled.
2012-10-26 09:47:22 +02:00
Martin Gräßlin
a6ab97172e
Use KConfigXT in MouseClick Effect
2012-10-26 09:47:22 +02:00
Filip Wieladek
378a4f8fe4
Mouse Click animation effect
...
An effect which visualy animates when a mouse button is pressed or
released.
REVIEW: 105780
BUG: 309006
FIXED-IN: 4.10
2012-10-26 09:47:22 +02:00