Martin Gräßlin
3139dcd3b9
Drop cmakedefine HAVE_WAYLAND
...
Now a required build dependency.
11 years ago
Martin Gräßlin
bffbbce172
[scripting] Add dedicated logging category
11 years ago
Martin Gräßlin
a1a89d3d1e
Disable Activities support on Wayland
...
This is a temporary workaround for bug 349992 which causes freezes
during startup as kwin and kamd dead lock each other on DBus.
To workaround we don't call Activities::create and check in every
usage of Activities::self() whether the pointer is valid.
As a result kwin_wayland now starts pretty fast.
CCBUG: 349992
11 years ago
Martin Gräßlin
b01b03aa84
[scripting] Find scripts through KPackage
...
Another sycoca usage gone.
11 years ago
Martin Gräßlin
ca14073b54
Port scripted effect loading from KService to KPackage
...
Advantage: no more ksycoca cache for loading scripted effects.
11 years ago
Martin Gräßlin
11e0e75fb3
Add a signal Toplevel::windowHidden
...
Signal is connected in ScriptingModel together with windowShown.
11 years ago
Martin Gräßlin
034276af36
Move clientMaximizedStateChanged signal from Client to AbstractClient
11 years ago
Martin Gräßlin
b196ad7052
[scripting] Add support for ShellClients in ScriptingClientModel
11 years ago
Martin Gräßlin
c4c637db92
[scripting] ScriptingClientModel operates on AbstractClient
11 years ago
l10n daemon script
d07fd3a140
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
99237c9b3f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
11 years ago
Martin Gräßlin
51bb4cf2a1
[scripting] Register KWin::AbstractClient in declarative scripts
11 years ago
Martin Gräßlin
f55c086007
Change Workspace::clientRemoved to carry an AbstractClient
...
At the same time emit it when a ShellClient get's removed. This ensures
it gets removed from e.g. the FocusChain.
11 years ago
Martin Gräßlin
38b418887a
Move minimize implementation to AbstractClient
11 years ago
Martin Gräßlin
1bfba1765c
Signal desktopPresenceChanged carries AbstractClient as argument
11 years ago
Martin Gräßlin
16568804be
Demands Attention handling in Workspace operates on AbstractClient
...
Affects:
* list attention_chain
* clientAttentionChanged
* clientDemandsAttentionChanged
11 years ago
Martin Gräßlin
9457b362c1
Drop not needed dynamic cast in WorkspaceWrapper::setActiveClient
11 years ago
Martin Gräßlin
8cfe0a9316
Workspace::clientActivated signal changed to AbstractClient
...
connections changed to new connect syntax to ensure they are correct.
11 years ago
Martin Gräßlin
3ad117ac28
Workspace::activeClient returns an AbstractClient
...
Still a few casts in some areas as setting activeClient still takes
a Client.
11 years ago
Martin Gräßlin
4b41c33268
Workspace::movingClient changed to AbstractClient
...
In events.cpp it's casted to Client as it's X11 specific.
In InputRedirections it's kind of broken, but window movement is
anyway broken.
11 years ago
Martin Gräßlin
4eb9a98f1a
[scripting] actionsForUserActionMenu operates on AbstractClient
11 years ago
Thomas Lübking
83a42c55be
ScriptedEffect: gauss curve anim and ended signal
...
latter allows to chain actions in scripted effects
and former prevents the need to do that for a continuous
in/out animation
11 years ago
Thomas Lübking
060f3e9403
Remove AnimationData wrapper around metadata.
...
Instead allow to set metadata directly in animation
objects
REVIEW: 122679
11 years ago
Mika Allan Rauhala
2217c1038f
Add Quick Tile Window to the Top and Bottom shortcuts
...
This adds "Quick Tile Window to the Top" and "Quick Title Window to the Bottom" shortcuts. These are
useful for those using displays that are in portrait orientation.
CCBUG: 310005
REVIEW: 123153
11 years ago
Christophe Giboudeaux
bea55dc614
-Wmissing-include-dirs
11 years ago
l10n daemon script
bf7bf73464
SVN_SILENT made messages (.desktop file)
11 years ago
l10n daemon script
d173ff7412
SVN_SILENT made messages (.desktop file)
11 years ago
Martin Gräßlin
66df3eefdf
Cleanup: reduce usage of QDesktopWidget
11 years ago
Martin Gräßlin
b7a8bb4f52
Drop build option KWIN_BUILD_SCREENEDGES
...
The build option got introduced for Plasma Active back in a time
when we did not properly aim for convergence. In a Plasma 5 world
we want to have only one shell and one window manager which adjust
itself. This means we don't want a differently compiled kwin for
plasma active, but the same one. Thus the build option doesn't
make much sense any more. A KWin for touch interface needs to support
screenedges for the case that mouse is plugged in.
CCBUG: 340960
REVIEW: 121200
11 years ago
Martin Gräßlin
482f89b91f
Fix build without KF5Activities
...
BUG: 340961
FIXED-IN: 5.2.0
REVIEW: 121202
11 years ago
l10n daemon script
45b1af3165
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
91ff859d5f
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
fd8006c546
SVN_SILENT made messages (.desktop file)
12 years ago
Martin Gräßlin
c00c67bf29
[scripting] Drop qmlRegisterType for QQuickWindow
...
Not needed as one can just do:
import QtQuick.Window;
This fixes a build problem with Qt 5.4.
BUG: 338277
12 years ago
l10n daemon script
28c7f3c47d
SVN_SILENT made messages (.desktop file)
12 years ago
Martin Gräßlin
8aa8617ed4
Drop our custom KLocalizedTranslator
...
It's upstreamed to ki18n framework.
12 years ago
Martin Gräßlin
0c4aaaf4ad
[scripting] Support loading translations for UI loaded configs
...
Scripts and scripted effects can provide a ui file which gets loaded at
runtime. Obviously such a ui file is not translated. This introduces
quite a hack to load the translated strings.
In the metadata.desktop file the scripted component can provide a key
X-KWin-Config-TranslationDomain. The genericscriptedconfig tries to
locate the metadata.desktop file and reads this entry. If it is present
we extract all string properties of the loaded UI and pass them through
ki18nd.
REVIEW: 118585
12 years ago
l10n daemon script
e73f6b2278
SVN_SILENT made messages (.desktop file)
12 years ago
Martin Gräßlin
645e1cf775
[scripting] Reparent the created QML object
...
According to the documentation the ownership of a QObject created by
QQmlComponent::create is transferred to the caller.
This fixes a crash on KWin tear down.
REVIEW: 118345
12 years ago
Martin Gräßlin
c6da593dc9
Do not register dbus service org.kde.kwin.Scripting
...
Just use org.kde.KWin - there's object and interface to differentiate.
REVIEW: 118139
12 years ago
Martin Gräßlin
6e1df6ba62
Do not register dbus service org.kde.kwin.Effects
...
Let's use org.kde.KWin, we have Object and interface to differentiate.
12 years ago
Martin Gräßlin
21d2905ffb
Adjust genericscriptedconfig to new ki18n
...
Might need improvement to have the genericscripted in an own directory.
12 years ago
l10n daemon script
7553c411c2
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
2f28437e24
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
2838a9b606
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
15aa971aab
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
e1f418f4d0
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
f44575ddbf
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
69c3289c18
SVN_SILENT made messages (.desktop file)
12 years ago
l10n daemon script
e6db000065
SVN_SILENT made messages (.desktop file)
12 years ago