l10n daemon script
3ae8e8fa6d
GIT_SILENT Sync po/docbooks with svn
2022-11-04 02:05:55 +00:00
Vlad Zahorodnii
432d1f9d31
Remove unused include
2022-11-03 20:30:06 +02:00
Vlad Zahorodnii
af0d39c118
Remove some commented out code
2022-11-03 17:55:46 +00:00
Aleix Pol
fee348d147
buttonrebindsfilter: Add bracesbuttonrebindsfilter: Add braces
2022-11-03 16:41:44 +01:00
Aleix Pol
baac63ca13
buttonrebinds: Fix infinite loops with RebindScope
...
This way it's possible to assign A to B and B to A (i.e. swap buttons)
without getting it crash in your face.
2022-11-03 16:41:44 +01:00
Aleix Pol
6bcedf3aad
buttonrebinds: Allow sending tablet tool button events
...
Makes it possible to trigger button events from your tablet tool.
2022-11-03 16:41:44 +01:00
Aleix Pol
609065528e
buttonrebinds: Allow configuring tablet tool rebinds
...
Makes it possible to assign an action to one of the tablet tool buttons.
2022-11-03 16:39:53 +01:00
Aleix Pol
d0da1cf751
buttonrebinds: Allow binding mouse button actions
...
Makes it possible to assign a pointer button event as the trigger to a
button rebind. This would make it possible to make a mouse click the
outcome of such actions.
2022-11-03 16:39:53 +01:00
Vlad Zahorodnii
d257da0a00
Use StrutRects to represent restricted areas
...
This saves us some StrutRects -> QRegion conversions and it might be
useful for floating point struts.
2022-11-03 13:53:41 +00:00
Vlad Zahorodnii
78ed1e2add
Move OpenGL safe point handling to Compositor/CompositorX11
...
It's not something that output backends care about, so move it to
Compositor.
2022-11-03 12:09:16 +00:00
Vlad Zahorodnii
364c2f3a14
Drop Platform::requiresCompositing()
...
It doesn't seem to be used elsewhere other than
Options::isUseCompositing(), which is quite X11-specific.
2022-11-03 12:09:16 +00:00
Vlad Zahorodnii
632c3508a7
build: Move libkwineffects specific ecm_setup_qtplugin_macro_names to src/libkwineffects
2022-11-03 11:46:41 +00:00
Vlad Zahorodnii
c76563b174
core: Drop Platform::warpPointer()
...
It's odd to manipulate host cursor position and it's not highly
important, for example we haven't had a need to warp the cursor on
wayland.
The main motivation behind this change is to slim down the Platform to
make it more output oriented.
2022-11-03 10:35:30 +00:00
Vlad Zahorodnii
f20ed67ba0
ci: Require tests to pass on FreeBSD too
...
With isolated XDG_RUNTIME_DIR, tests should be more robust now, so we
can try enforcing a requirement that tests must pass on FreeBSD too.
2022-11-03 10:34:04 +02:00
l10n daemon script
c10c116822
GIT_SILENT Sync po/docbooks with svn
2022-11-03 02:11:16 +00:00
l10n daemon script
0c1f5c20e0
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"
2022-11-03 01:54:29 +00:00
Aleix Pol
6ab6d3124a
screencasting: Make sure we are reporting properly scaled damage values
...
It should be in stream pixels rather than logical
2022-11-02 20:18:27 +01:00
Aleix Pol
ea4741cbcc
screencasting: Polish region case
...
- By scaling: make sure we are scaling by the feed size rather than the
output size, which is irrelevant in this case.
- By positioning: properly position the outputs on the feed if the feed
scale is != 1
2022-11-02 20:18:27 +01:00
Aleix Pol
eb7f93002c
screencasting: No need to keep calculating the textureSize
2022-11-02 20:18:27 +01:00
Xaver Hugl
d5a2c639a0
window: fix checkWorkspacePosition moveRight/Bottom
...
With QRectF, moveRight and moveBottom have an effective offset of 1 vs QRect
2022-11-02 17:58:29 +00:00
Xaver Hugl
3d9618316b
autotests/integration: add more cases to OutputChangesTest
2022-11-02 17:58:29 +00:00
Xaver Hugl
264ecf40f8
placementtracker: fix some windows not being restored
...
If a window was moved by the user, it got effectively blacklisted from being
ever restored again. Instead of only tracking the last restore point, compare the
current window state with the state it had when the output configuration was last
seen. If either that or the last restore point match the window, restore the old
window state.
2022-11-02 17:58:29 +00:00
Xaver Hugl
84635c71ec
plugins/screencast: centralize format querying into the RenderBackend
...
BUG: 460563
2022-11-02 17:10:10 +01:00
Vlad Zahorodnii
e73fedf2ae
x11: Use moveResizeGeometry() instead of frameGeometry() where appropriate
2022-11-02 11:00:03 +00:00
Vlad Zahorodnii
a235cd6d26
build: Hardcode kwin name
...
We use KWIN_NAME, KWIN_INTERNAL_NAME_X11 and KWIN_INTERNAL_WAYLAND
properly only in a few places. In other, we use hardcoded names.
Let's not bother and hardcode kwin names everywhere rather than have one
foot in and one foot out, it's simpler.
2022-11-02 10:21:23 +00:00
Vlad Zahorodnii
1801421080
Forward declare Xkb in keyboard_input.h
2022-11-02 09:21:55 +00:00
Vlad Zahorodnii
391c777936
Remove unused keyboard_input.h include
2022-11-02 09:21:55 +00:00
l10n daemon script
02d55586d4
GIT_SILENT Sync po/docbooks with svn
2022-11-02 02:23:09 +00:00
l10n daemon script
33825b2e0a
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"
2022-11-02 02:00:07 +00:00
Nicolas Fella
3eb9106466
Expose enabledByDefault of input device to DBus
2022-11-01 18:21:42 +00:00
Vlad Zahorodnii
89607dfebd
qAsConst -> std::as_const
...
We started using std::as_const() in some parts of kwin, so let's use it
everywhere for the code consistency sake.
2022-11-01 16:52:01 +02:00
l10n daemon script
5f996c0529
GIT_SILENT Sync po/docbooks with svn
2022-11-01 02:08:36 +00:00
l10n daemon script
2f7c77af18
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"
2022-11-01 01:53:35 +00:00
Weng Xuetian
fda53d8253
Fix blur/contrast for X11 window if Xwayland is not scaled.
...
X property from X11 window contains X native coordinates. Need to
apply transform to use them in the effects like blur/contrast.
BUG:461021
2022-10-31 22:42:10 +00:00
Vlad Zahorodnii
b0d04895cc
build: Link testOpenGLContextAttributeBuilder with epoxy::epoxy
2022-10-31 21:27:30 +00:00
Vlad Zahorodnii
432a5ab575
build: Remove include_directories(XKB)
2022-10-31 21:27:30 +00:00
Xaver Hugl
9fd260c3c9
backends/drm: add logging for adding GPUs
...
We already log when a GPU gets removed, it only makes sense to also log
when it got added
2022-10-31 20:46:51 +00:00
Vlad Zahorodnii
569dc29ba4
build: Remove duplicate "REQUIRED"
...
Packages are already marked as REQUIRED using set_package_properties()
2022-10-31 20:18:46 +00:00
Vlad Zahorodnii
993c4e2d05
build: Mark KDecoration2 REQUIRED using set_package_properties()
...
This way there will be a more complete list of missing dependencies in
the feature summary.
2022-10-31 20:18:46 +00:00
Vlad Zahorodnii
fe86eea311
build: Avoid mixing add_definitions() with find_package()
2022-10-31 20:18:46 +00:00
Vlad Zahorodnii
a5db2e732b
build: Group CMAKE_{C,CXX}_STANDARD
2022-10-31 20:18:46 +00:00
Vlad Zahorodnii
44ad8e9b9b
build: Group include()s in CMakeLists.txt
2022-10-31 20:18:46 +00:00
Nicolas Fella
251e211c5b
[effects/windowview] Don't allow setting non-global shortcuts
...
Only global shotcuts make sense here
2022-10-31 19:46:15 +00:00
Vlad Zahorodnii
29188eb7b2
Move InputDevice::{outputName,setOutputName} implementation to cpp file
...
Removes the need for Q_UNUSED macro.
2022-10-31 19:07:30 +00:00
Xaver Hugl
b5873ef792
backends/drm: fixes for bitmask drm properties
2022-10-31 17:05:26 +00:00
Xaver Hugl
420358709a
backends/drm: don't test hardware rotation if not supported by the driver
2022-10-31 17:05:26 +00:00
Vlad Zahorodnii
d7b710a9a1
Fix -Wunused-variable warnings
2022-10-31 15:50:37 +00:00
Vlad Zahorodnii
7fffe99328
build: Add -Wno-unused-parameter compiler option
...
Due to being a compositor, kwin has to conform to some certain
interfaces. It means a lot of virtual functions and function tables to
integrate with C APIs. Naturally, we not always want to use every
argument in such functions.
Since we get -Wunused-parameter from -Wall, we have to plumb those
unused arguments in order to suppress compiler warnings at the moment.
However, I don't think that extra work is worth it. We cannot change or
alter prototypes in any way to fix the warning the desired way. Q_UNUSED
and similar macros are not good indicators of whether an argument is
used too, we tend to overlook putting or removing those macros. I've
also noticed that Q_UNUSED are not used to guide us with the removal no
longer needed parameters.
Therefore, I think it's worth adding -Wno-unused-parameter compiler
option to stop the compiler producing warnings about unused parameters.
It changes nothing except that we don't need to put Q_UNUSED anymore,
which can be really cumbersome sometimes. Note that it doesn't affect
unused variables, you'll still get a -Wunused-variable compiler warning
if a variable is unused.
2022-10-31 15:50:37 +00:00
Xaver Hugl
c308a262be
kcmkwin/compositing: remove tearing prevention and scaling options
...
The option are confusing and noone should ever need to touch them.
BUG: 450279
2022-10-31 14:43:54 +00:00
Nicolas Fella
378006cc73
[effects/overview] Don't allow setting non-global shortcuts
...
Only global shotcuts make sense here
2022-10-31 13:28:15 +00:00