Xaver Hugl
c43eb6ec42
backends/drm: extract dmabuf feedback into its own class
...
This should reduce code duplication with overlay planes
2022-04-18 17:34:04 +02:00
Xaver Hugl
5df65e4be5
backends/drm: refactor egl/gbm render surface into its own class
...
This allows sharing most code with overlay plane layers
2022-04-18 17:34:04 +02:00
Xaver Hugl
c30339cc82
backends/drm: move texture creation for gbm buffers into GbmBuffer
2022-04-18 17:34:04 +02:00
Vlad Zahorodnii
3d038b715f
Remove duplicate AbstractClient properties
...
Some Toplevel properties were redefined in the AbstractClient class to
allow property mutability.
Now, since both classes were merged, those properties can be defined
only once.
2022-04-18 12:33:53 +00:00
Vlad Zahorodnii
2540e80277
Make AbstractClient::layoutDecorationRects() virtual
...
This fixes closed windows losing decorations.
2022-04-18 12:08:46 +00:00
Vlad Zahorodnii
328f51ce10
Remove some AbstractClient plumbing casts in input.cpp
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
507bad4843
Remove AbstractClient plumbing casts in WaylandServer
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
817656cb0b
Remove AbstractClient plumbing casts in AbstractClient
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
a429739f98
Remove AbstractClient plumbing casts in DbusInterface
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
348e20e20f
Remove AbstractClient plumbing casts in Workspace
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
31d1d13de5
Remove AbstractClient plumbing casts in TouchInputRedirection
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
6cf490c9cc
Remove AbstractClient plumbing casts in PointerInputRedirection
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
f7d913af91
Remove AbstractClient plumbing casts in TabBox
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
506863f97e
Remove AbstractClient plumbing casts in src/layers.cpp
2022-04-18 11:47:56 +03:00
Vlad Zahorodnii
e5561b194a
Remove AbstractClient plumbing casts in WindowItem
2022-04-18 11:47:54 +03:00
Vlad Zahorodnii
76a3a31f42
Remove AbstractClient plumbing casts in EffectsHandlerImpl
2022-04-18 11:10:29 +03:00
Vlad Zahorodnii
9157b1303e
Remove AbstractClient plumbing casts in PopupInputFilter
2022-04-18 11:04:18 +03:00
Vlad Zahorodnii
94bbe14f4c
Remove AbstractClient plumbing casts in Placement
2022-04-18 11:01:51 +03:00
Vlad Zahorodnii
85be7c2b48
Remove AbstractClient plumbing casts in ScreencastManager
2022-04-18 10:59:45 +03:00
Vlad Zahorodnii
e5fe1ebd20
Remove AbstractClient plumbing casts in Shadow
2022-04-18 10:58:53 +03:00
Vlad Zahorodnii
3c69b08e49
Fix up some AbstractClient dynamic_cast<>()s
...
Originally, they were to check whether the given window is managed.
2022-04-18 10:42:53 +03:00
Nils Fenner
aaa429ee0a
Merge Toplevel into AbstractClient
...
References issue #81
2022-04-18 07:42:11 +00:00
l10n daemon script
5acf8aa792
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-04-18 01:40:14 +00:00
Ismael Asensio
d320756206
kcm/rules: Add Exclusive and SelectAll types to options model
...
A "Select All" option has the value of all the rest of the options
combined. Used for the Window Types property.
An Exclusive option cannot be check as the same time as any other
options, but uses its own value. Used for "All Activities" and
"All Virtual Desktops" properties.
Co-Authored-By: Fushan Wen <qydwhotmail@gmail.com>
2022-04-17 12:28:56 +02:00
Ismael Asensio
bb7bc3359a
kcm/rules: Refactor OptionsModel
...
Provide `allOptionsMask`, `bitMask`and `useFlags` as properties
and roles from OptionsModel in C++ side, to simplify the QML part
and improve the treatment of flag-based properties in `OptionsComboBox`.
2022-04-17 12:28:56 +02:00
l10n daemon script
e21972fa71
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-04-17 01:48:39 +00:00
Xaver Hugl
3d556bba83
backends/drm: drop DrmGpu test mode
...
It's unused
2022-04-16 21:23:57 +00:00
Xaver Hugl
8cb8d2f627
backends/drm: drop DrmPipeline format helpers
2022-04-16 21:23:57 +00:00
Ismael Asensio
75d71a1c1a
AbstractClient: Re-check screen rules on screen enabled
...
BUG: 409979
FIXED-IN: 5.25
2022-04-16 16:02:12 +00:00
l10n daemon script
a518a4d53b
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-04-16 01:46:47 +00:00
Vlad Zahorodnii
e6f08665fe
Drop Output::updateTransform()
...
If the backend needs to apply custom logic when changing the transform,
it should override Platform::applyOutputChanges(); otherwise just update
the Output's internal transform state.
2022-04-15 19:22:41 +03:00
Vlad Zahorodnii
8e7a8c5a11
Rename AbstractOutput to Output
...
AbstractOutput is not so Abstract and it's common to avoid the word
"Abstract" in class names as it doesn't contribute any new information.
It also significantly reduces the line width in some places.
2022-04-15 17:49:49 +03:00
Vlad Zahorodnii
09782bcf11
autotests: Use more fully qualified KWayland::Client types
...
This is needed to make "Output" identifier less ambiguous.
2022-04-15 17:49:49 +03:00
Vlad Zahorodnii
b376865f52
Rename WaylandOutputConfig to OutputConfiguration
2022-04-15 14:49:02 +00:00
Vlad Zahorodnii
d43dac8f8d
Merge AbstractWaylandOutput with AbstractOutput
2022-04-15 14:49:02 +00:00
Vlad Zahorodnii
ca7927e3b6
Run clang-format yet another time
2022-04-15 15:23:44 +03:00
Nils Fenner
1466836ba7
Inherit "Delete" and "Unmanaged" from AbstractClient
...
Depends on !2224 , !2232
Further changes are blocked until the above MR's are merged.
2022-04-15 07:15:59 +00:00
l10n daemon script
34c1231d60
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-04-15 01:50:12 +00:00
Eric Edlund
c09871917b
Make VirtualDesktopManager update grid dimentions when only 1 desktop
...
This is a patch to get the last two commits to work.
A larger problem to fix is that when the desktop grid size is changed in
the KCM by removing desktops, the internal grid dimensions are not
updated until system restart.
2022-04-15 00:09:52 +00:00
Eric Edlund
003c820e00
rework of slide effect internals
...
Fixed a bunch of bugs and polished the slide effect.
Plugged the slide effect into the new VirtualDesktopManager interface desktopChanging() to allow for mac os style desktop switching.
BUG: 448419 BUG: 401479
2022-04-15 00:09:52 +00:00
Eric Edlund
26a4f75944
Implement desktopSwitching() interface for realtime animations
...
Added this interface to the VirtualDesktopManager. Realtime touchpad gestures update the interface to allow for mac os style desktop switching.
Also makes gestured switching use natural direction.
BUG: 185710
2022-04-15 00:09:52 +00:00
Nils Fenner
31ec0ceb24
Use Toplevel::isDeleted() to resolve Deleted type.
...
Prepares #81 (part 2)
Note that the `Unmanaged` type is not explicitly checked - implies `(t->isDeleted() || t->isClient()) == false`.
2022-04-14 19:36:34 +00:00
Xaver Hugl
e48a5c0535
toplevel: set valid output in the constructor
...
This makes it less easy to cause crashes and fixes some segfaults.
BUG: 452433
2022-04-14 17:56:50 +00:00
Vlad Zahorodnii
3534b6afee
Remove input processing functions in Platform
...
Input event flow has been refactored so all input events originate from
input devices.
The X11 backend uses InputRedirection so make it forward events to
relevant input device handlers.
2022-04-14 17:29:51 +03:00
Nils Fenner
d146a3d1dd
Use Toplevel::isClient() to resolve AbstractClient type.
2022-04-14 13:50:12 +00:00
Vlad Zahorodnii
4790408423
Run clang-format again
...
Some people either don't have clang-format installed or disable the
commit hook.
2022-04-14 13:58:03 +03:00
Vlad Zahorodnii
2c1d36e8c5
kcms/rules: Remove unused cpp files from build dependencies
2022-04-14 09:53:05 +00:00
Vlad Zahorodnii
45dc423638
Make RuleBook::setUpdatesDisabled() work with AbstractClient
2022-04-14 09:53:05 +00:00
Fushan Wen
7f39bb1b33
scene: Check waylandServer()
is nullptr in filterAcceptsWindow
...
This fixes compositing on X11.
2022-04-14 14:29:38 +08:00
l10n daemon script
16b7f5729a
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-04-14 01:45:53 +00:00