Thomas Lübking
7a7d79a168
break desktopshowing state from cover & flipswitch
...
REVIEW: 123550
CCBUG: 346837
2015-05-15 21:58:30 +02:00
l10n daemon script
f0e0568b37
SVN_SILENT made messages (.desktop file)
2015-05-15 12:12:44 +00:00
l10n daemon script
cea4b7faeb
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"
2015-05-15 10:25:45 +00:00
Sergio Martins
e283bda8e5
Fix unintentional no-op, unite() doesn't change the object
...
REVIEW: 123618
2015-05-03 22:31:23 +01:00
l10n daemon script
88a15d10ae
SVN_SILENT made messages (.desktop file)
2015-04-27 12:17:37 +00:00
l10n daemon script
dc19c0ed02
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"
2015-04-27 10:23:00 +00:00
l10n daemon script
3b93e2e826
SVN_SILENT made messages (.desktop file)
2015-04-25 11:59:16 +00:00
l10n daemon script
f4e2e0e2e9
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"
2015-04-25 10:26:32 +00:00
l10n daemon script
5aeedeb8e9
SVN_SILENT made messages (.desktop file)
2015-04-24 11:33:58 +00:00
l10n daemon script
7c747e1591
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"
2015-04-24 09:53:59 +00:00
l10n daemon script
e8a070ac30
SVN_SILENT made messages (.desktop file)
2015-04-23 11:53:06 +00:00
l10n daemon script
7037327ec4
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"
2015-04-23 10:15:53 +00:00
l10n daemon script
d4af45da2d
SVN_SILENT made messages (.desktop file)
2015-04-21 14:57:25 +00:00
l10n daemon script
a00f1f3ad4
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"
2015-04-21 13:24:50 +00:00
l10n daemon script
0a6668c53b
SVN_SILENT made messages (.desktop file)
2015-04-18 11:59:40 +00:00
l10n daemon script
5cd7658930
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"
2015-04-18 10:28:01 +00:00
l10n daemon script
d18b931f55
SVN_SILENT made messages (.desktop file)
2015-04-17 13:13:21 +00:00
Lasse Liehu
5f9a6278d0
Add disambiguation context
...
REVIEW: 123396
2015-04-17 15:56:58 +03:00
l10n daemon script
ef748afe63
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"
2015-04-17 11:43:23 +00:00
l10n daemon script
5a093d134c
SVN_SILENT made messages (.desktop file)
2015-04-14 15:25:55 +00:00
l10n daemon script
53392ea009
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"
2015-04-14 13:53:56 +00:00
l10n daemon script
8b1f42314c
SVN_SILENT made messages (.desktop file)
2015-04-12 12:16:24 +00:00
l10n daemon script
63a0b4133e
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"
2015-04-12 10:31:39 +00:00
l10n daemon script
1a1a6cd8bf
SVN_SILENT made messages (.desktop file)
2015-04-11 12:07:56 +00:00
l10n daemon script
cb08f61786
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"
2015-04-11 10:29:16 +00:00
l10n daemon script
c05e355003
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"
2015-04-10 10:24:56 +00:00
l10n daemon script
c8de289e6f
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"
2015-04-09 10:02:17 +00:00
Thomas Lübking
fb39fafc71
add eye On Screen effect for showing desktop
...
resembles the homescreen effect on "eye" OS
REVIEW: 122679
2015-04-07 23:59:18 +02:00
Thomas Lübking
0103b0fee6
Add Window Aperture effect for showing the desktop
...
It moves windows to nearest corners
2015-04-07 23:59:18 +02:00
Thomas Lübking
0b6a804701
break showingDesktop w/ tabbox/PW/DG
...
This is now crucial, because while before
(the minimized) windows were conditionally
shown, but are now always behind the desktop.
Also, it makes the tabbox more consistent.
BUG: 344083
REVIEW: 122679
2015-04-07 23:59:17 +02:00
l10n daemon script
262da1b7c9
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"
2015-04-07 13:20:00 +00:00
Mika Allan Rauhala
e1e437135b
Fix Background Contrast during Present Windows
...
We already set WindowForceBlurRole for docks during Present Windows. This also sets
WindowForceBackgroundContrastRole.
REVIEW: 122904
BUG: 341926
2015-04-01 16:48:22 +02:00
Nick Shaforostoff
da5328953a
fix memleak in mouseclick effect
...
REVIEW: 123114
2015-03-25 00:02:24 +00:00
Thomas Lübking
d1063b2507
Merge branch 'Plasma/5.2'
2015-03-21 01:26:53 +01:00
Thomas Lübking
e26a3db030
Fix closeview hiding: move it outside rootgeometry
...
The closeview is not hidden because that causes
invalid textures (apparently QML related) and
deleting/recreating causes massive I/O overhead
on effect invocation.
As last resort, the window is "hidden" by moving
it out of the root window geometry.
Jonathan, please RESPIN kwin - sorry for the trouble
... again.
BUG: 345159
REVIEW: 123035
CC: riddell@gmail.com
2015-03-21 01:22:36 +01:00
Martin Gräßlin
7c3197b1eb
Use new ctors for KXMessages and KSelectionOwner
...
Allows to pass the connection and rootWindow and doesn't depend on
QX11Info.
2015-03-17 10:20:19 +01:00
Hrvoje Senjan
3b1f345f4d
Merge remote-tracking branch 'origin/Plasma/5.2'
2015-03-13 15:52:24 +01:00
Thomas Lübking
ac3aef8dfc
do not delete and recreate close button
...
loading the QML/view is not very efficient
BUG: 344676
FIXED-IN: 5.2.2
2015-03-09 00:40:31 +01:00
Alex Richardson
b275daa576
Fix FreeBSD build: std::tan() requires #include <cmath> instead of <math.h>
2015-03-06 03:41:04 +00:00
l10n daemon script
a59a89d36c
SVN_SILENT made messages (.desktop file)
2015-02-22 11:32:22 +00:00
l10n daemon script
a14e62dadc
SVN_SILENT made messages (.desktop file)
2015-02-22 10:26:29 +00:00
Martin Gräßlin
e96c86e045
Remove unused #include <KWindowSystem>
2015-02-17 13:35:30 +01:00
Thomas Lübking
0927c506f6
use ShaderTrait for zoom cursor
...
fixes opengl cursor painting in zoom mode
REVIEW: 122468
2015-02-10 21:42:19 +01:00
Thomas Lübking
8d2cd20c19
track cursorshape changes in zoom effect
...
BUG: 322088
FIXED-IN: 5.3
REVIEW: 122468
2015-02-10 21:42:06 +01:00
Thomas Lübking
9f3656c917
Cover+Flip, multiscreen: fix matrix manipulation
...
Moves calculation of projection and modelview matrix
(aligned to new scene_opengl code) to effect start,
caches the matrices in private members and sets them
on WindowPaintData
BUG: 343509
REVIEW: 122355
FIXED-IN: 5.3
2015-02-05 21:37:34 +01:00
Martin Gräßlin
36b6fc4776
Merge branch 'Plasma/5.2'
2015-02-02 09:01:00 +01:00
Martin Gräßlin
658ff303fe
[effects] Support building the effect_builtins without need to link the lib
...
This change allows to include the effect_builtins.cpp into the build of
e.g. a kcm without having to link against all effects.
The use case for this is when one needs to resolve just the name of an
effect without wanting to hard code the name.
2015-01-29 11:44:47 +01:00
Thomas Lübking
04724a15b6
do not query GLPlatform if not GL compositing
...
BUG: 342982
REVIEW: 122120
2015-01-24 22:20:37 +01:00
Thomas Lübking
55d29bd310
invalidate iterator on removing pointed element
...
BUG: 342983
REVIEW: 122117
2015-01-24 22:20:21 +01:00
Elias Probst
d00d3ea83c
Deprecate kservice_desktop_to_json(), use kcoreaddons_desktop_to_json() instead.
...
Get rid of deprecation warnings in effects KCM.
REVIEW: 121957
2015-01-16 22:52:26 +01:00
l10n daemon script
bf7bf73464
SVN_SILENT made messages (.desktop file)
2015-01-15 09:02:26 +00:00
l10n daemon script
d173ff7412
SVN_SILENT made messages (.desktop file)
2015-01-13 12:47:17 +00:00
Martin Gräßlin
5e47d41f7b
[effects/startupfeedback] Use dedicated shader for bouncing cursor
...
BUG: 342203
REVIEW: 121941
2015-01-13 08:46:11 +01:00
Martin Gräßlin
ca1354e8af
[effects/blur] Disable cached blur for deleted windows
...
This is a kind of workaround for the flicker of fading out windows.
When a window is faded out it is a deleted and can by that be used
as a sufficient solution to work around the problem.
BUG: 307112
FIXED-IN: 5.2.0
REVIEW: 121909
2015-01-08 09:07:21 +01:00
Fredrik Höglund
4d738b86ea
Add an internalFormat parameter to the GLTexture ctor
...
This parameter is ignored on GLES.
2014-12-30 21:19:49 +01:00
Fredrik Höglund
450be6a378
Add a levels parameter to the GLTexture ctor
...
Prior to this commit we didn't know if mipmaps were going to be used
when we created the GL texture, which meant that we couldn't tell the
driver whether to allocate storage for mipmaps or not.
This resulted in one of two things happening depending on the driver;
either it would allocate storage for mipmaps that in most cases would
never be used, or it wouldn't and would later be forced to reallocate
the texture when mipmaps were added.
By adding this parameter we can now explicitly tell the driver how
many mipmap levels will be used.
The parameter is only added to the non-image constructor for now. The
image constructor is changed to only allocate a single level, which
matches how textures created from images are used in kwin. This may
need to be revisited in the future.
2014-12-14 18:33:52 +01:00
Fredrik Höglund
aefadfaa6a
Don't generate mipmaps in GLTexture::bind()
...
This code is broken in a number of different ways; firstly by assuming
that the mipmaps need to be regenerated when the texture filter has
changed. Secondly by preventing mipmaps from being specified by other
means.
This commit removes the code from bind() and adds a generateMipmaps()
method instead.
2014-12-14 18:33:52 +01:00
Hugo Pereira Da Costa
97de9856ea
Fixed data type for _KDE_NET_WM_BLUR_BEHIND_REGION
...
REVIEW: 121459
2014-12-12 17:02:38 +01:00
Shayantan Pal
745bb18d7b
Fix warnings in kwin/effects/glide/glide_config.ui
...
Change done as part of Google Code In.
REVIEW: 121353
2014-12-05 20:07:37 +01:00
Fredrik Höglund
4394219cd6
cube: Always set the shader in WindowPaintData
...
The cube effect was relying on paintWindow() using the generic shader
without explicitly telling it to do so. This makes the cube effect
work with dynamic shaders.
2014-12-04 19:19:30 +01:00
Fredrik Höglund
ef5b1c7f59
cube: Remove some checks that are always true
...
These are leftovers from the OpenGL 1.x backend.
2014-12-04 19:19:30 +01:00
Fredrik Höglund
e30b1212b6
screenshot: Use the new matrix API
...
This makes the screenshot effect work when the scene is using
dynamically generated shaders.
2014-12-04 19:19:30 +01:00
Thomas Lübking
50cbe810f5
don't access array to check whether ptr is nullptr
...
Also unify with the below check whether array[0] is 0
(Was same condition and same branch)
BUG: 341010
2014-11-27 20:01:10 +01:00
Martin Gräßlin
bf4ba54647
Remove displayWidth and displayHeight from the compositor
...
Instead of getting size from displayWidth() and displayHeight() use
the information we have from Screens. This means there is only one
place to have the information and by that we can ensure that all
components use the same data to rely on. displayWidth/displayHeight
seem to provide the wrong information when unplugging an output
without disabling the output. This results in rendering artefacts.
But KWin::Screens has the correct information available.
2014-11-27 09:00:19 +01:00
Fredrik Höglund
6ac7371113
Remove most calls to checkGLError()
...
...and rely on KHR_debug/GL_ARB_debug_output instead.
2014-11-25 21:57:57 +01:00
Fredrik Höglund
edb0751cba
Remove the NPOT texture support checks
...
We require OpenGL 2.0 which always supports NPOT textures.
2014-11-22 15:53:15 +01:00
l10n daemon script
45b1af3165
SVN_SILENT made messages (.desktop file)
2014-10-29 08:42:18 +00:00
Martin Gräßlin
f750fef8b7
Merge branch 'Plasma/5.1'
...
Conflicts:
CMakeLists.txt
kcmkwin/kwincompositing/kcmkwineffects.desktop
kcmkwin/kwincompositing/kwincompositing.desktop
kcmkwin/kwindecoration/kwindecoration.desktop
kcmkwin/kwindesktop/desktop.desktop
kcmkwin/kwinoptions/kwinactions.desktop
kcmkwin/kwinoptions/kwinadvanced.desktop
kcmkwin/kwinoptions/kwinfocus.desktop
kcmkwin/kwinoptions/kwinmoving.desktop
kcmkwin/kwinoptions/kwinoptions.desktop
kcmkwin/kwinrules/kwinrules.desktop
kcmkwin/kwinscreenedges/kwinscreenedges.desktop
kcmkwin/kwintabbox/kwintabbox.desktop
scripts/enforcedeco/metadata.desktop
2014-10-28 15:03:15 +01:00
l10n daemon script
dcff2f9e6a
SVN_SILENT made messages (.desktop file)
2014-10-25 09:39:36 +00:00
l10n daemon script
2798acbf18
SVN_SILENT made messages (.desktop file)
2014-10-25 08:58:29 +00:00
Martin Gräßlin
075422fc5e
[effects] Add type property to StartupFeedback Effect
...
Allows to read the configured type in support information.
2014-10-20 14:50:41 +02:00
l10n daemon script
dbdcb9938c
SVN_SILENT made messages (.desktop file)
2014-10-18 09:33:15 +00:00
l10n daemon script
67c2ba63be
SVN_SILENT made messages (.desktop file)
2014-09-28 15:11:49 +00:00
l10n daemon script
6dcd8f4a01
SVN_SILENT made messages (.desktop file)
2014-09-28 14:28:25 +00:00
Volker Krause
5db2d5a556
Make constants const, saves a few symbols in the .data section.
2014-09-27 20:30:49 +02:00
l10n daemon script
91ff859d5f
SVN_SILENT made messages (.desktop file)
2014-09-27 09:33:56 +00:00
l10n daemon script
e340d1ba05
SVN_SILENT made messages (.desktop file)
2014-09-19 09:03:02 +00:00
l10n daemon script
baf37deacd
SVN_SILENT made messages (.desktop file)
2014-09-01 08:42:05 +00:00
Fredrik Höglund
0aff9830df
Remove the decoration opacity property
...
It has been broken since cross-fading was introduced, and no one has
filed any bug reports about it.
2014-08-25 17:25:04 +02:00
l10n daemon script
36b404057d
SVN_SILENT made messages (.desktop file)
2014-08-15 09:08:57 +00:00
Kai Uwe Broulik
f0deec9ccb
Don't hardcode Present Windows close button size
...
REVIEW: 119646
2014-08-11 12:27:21 +02:00
l10n daemon script
cbc401414f
SVN_SILENT made messages (after extraction)
2014-08-08 09:24:13 +00:00
l10n daemon script
f2b0481707
SVN_SILENT made messages (after extraction)
2014-08-07 08:45:26 +00:00
Martin Gräßlin
5185fe81cf
make trackmouse FX account paintdata scale/trans
...
REVIEW: 118537
CCBUG: 333012
cherry-picked from kde-workspace
e9919695e57612055acfc685707210c00a42ce00.
Original author: luebking
2014-07-10 13:36:44 +02:00
l10n daemon script
28c7f3c47d
SVN_SILENT made messages (.desktop file)
2014-06-29 08:41:34 +00:00
Martin Gräßlin
27ac23ba19
[effects] Rename text of ToggleMouseClick action
...
"Toggle Effect" is too generic as it's used in the steal shortcut dialog.
REVIEW: 118912
2014-06-24 09:40:13 +02:00
Martin Gräßlin
634de251c3
[effects/presentwindows] Trigger using LaunchA button
...
On MacBooks the "Exposé" button is on XF86LaunchA. Let's use it
for activating Present Windows (ALL) as an alternative shortcut.
For non-macbook users this doesn't hurt, for MacBook users it's a
nice touch to have the key working as indicated by the pictogram.
Yes, it's realy Key_LaunchC:
"On X11 this key is mapped to XF86XK_LaunchA key for legacy reasons."
REVIEW: 118721
2014-06-20 09:26:28 +02:00
Martin Gräßlin
8919cd5f54
[effects] Simplify supported check in blur and backgroundcontrast
...
GLSL is always required nowadays on GL compositor.
REVIEW: 118642
2014-06-11 14:50:01 +02:00
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
2014-06-10 15:49:19 +02:00
l10n daemon script
e73f6b2278
SVN_SILENT made messages (.desktop file)
2014-06-10 10:37:36 +00:00
Thomas Lübking
17ca566154
setup desktopgrid for screencount change
...
prevents segfaults..
CCBUG: 326032
Forward port of 4fe7460e03f5cd4f64d85d20a6d85ce3a66f4ae8 from kde-workspace
2014-06-04 16:30:29 +02:00
Thomas Lübking
eb9671b0b6
allow full range blur strength config in the GUI
...
CCBUG: 334391
Forward port of faec381d9ffa51e4b3630e7fcac9eeed8bfa3ae8 from kde-workspace
2014-06-04 16:30:29 +02:00
Thomas Lübking
dec218a444
store geometry trail & use the correct oldGeometry
...
geometryChanged is always executed before maximizeChanged, so we
store the last changed geometry (through regular resize - the current
geometry) and the second last one (used exclusively so far) which is
the old geometry we want to use if the geometry change was caused
by the maximize change
CCBUG: 335023
Forward port of 3c8506992d3a05daa3f0752cc0f5e844acf2a8e2 from kde-workspace
2014-06-04 16:30:29 +02:00
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.
2014-05-15 10:55:29 +02:00
Martin Gräßlin
5e7d1d586c
Adjust effects_builtins for new ki18n
...
* Use ki18n_wrap_ui for ui files
* define TRANSLATION_DOMAIN in CMakeLists.txt
2014-05-05 08:03:54 +02:00
l10n daemon script
7553c411c2
SVN_SILENT made messages (.desktop file)
2014-05-03 08:32:58 +00:00
l10n daemon script
2f28437e24
SVN_SILENT made messages (.desktop file)
2014-05-02 08:51:14 +00:00
l10n daemon script
2838a9b606
SVN_SILENT made messages (.desktop file)
2014-04-29 10:12:33 +00:00
Martin Gräßlin
b18c672e36
Fix compilation with gcc-4.9
...
Looks like one needs to include <functional> if one uses std::function.
Compilation verified with:
* gcc-4.8
* gcc-4.9
* clang-3.2
2014-04-29 07:49:54 +02:00
l10n daemon script
15aa971aab
SVN_SILENT made messages (.desktop file)
2014-04-29 04:54:44 +00:00