- 19 May, 2022 8 commits
-
-
Vlad Zahorodnii authored
Window View effect requires OpenGL compositing.
-
Jonathan Esk-Riddell authored
GIT_SILENT
-
For some reason with legacy the cursor gets an offset when changing the image. In order to work around this, directly issue a cursor move with the corrected position when changing the buffer
-
Jonathan Esk-Riddell authored
GIT_SILENT
-
As we don't provide any ability for the user to configure the gestures yet, the gesture for the desktop grid should stay as it was in the last release. This commit swaps the gestures for desktopgrid and overview to achieve that.
-
Vlad Zahorodnii authored
At the moment, the data offer initializes supported and preferred action to "none". But if the target doesn't accept anything the source provides, the compositor may still need to send action events with "none" This change makes data offer and data source provide dnd actions wrapped in std::optional in order to indicate if they have been set explicitly.
-
SeatInterface emits dragEnded when the drag is dropped. The target may want to interact with the data source after the drop happened, for example only fetching data after the drop and not during the drag. (Note that the Wayland protocol has the same Xvisits are now not deleted prematurely but only when they are really finished. (Note that the Wayland protocol has the same distinction between dropped and finished so it maps nicely). For storing previous visits the same code pattern as in the rest of the XWayland DND code is used. The SelectionSource is reset when the next Drag/Drop operation involving a X window is started (see startDrag and doHandleXfixesNotify) or when the Wayland source is about to be deleted. BUG:450460 FIXED-in:5.25.0
-
Arguments for clientMaximizedStateChanged were incorrect in window.cpp. They are correct in xdgshellclient.cpp and window.h BUG: 380836
-
- 18 May, 2022 13 commits
-
-
Xaver Hugl authored
This reverts commits 67181d5d and d03e352d. BUG: 454014
-
-
This popup cleanup code can be useful also on wayland.
-
Xaver Hugl authored
If progress goes out of the [0, 1] range, effects misbehave
-
Xaver Hugl authored
-
Xaver Hugl authored
-
Allow internal uses of KWindowSystem to support activating other clients. BUG: 453748 BUG: 453785
-
David Redondo authored
BUG:451279 FIXED-IN:5.25.0
-
Xaver Hugl authored
Otherwise the cursor won't be shown, as its buffer and layer got destroyed BUG: 453823
-
The current mode may be nullptr
-
Vlad Zahorodnii authored
Gesture recognition code doesn't handle correctly cancelling a touch sequence. testTouchPoint in one of its tests simulates pressing the screen with three fingers and cancelling the touch sequence.
-
Vlad Zahorodnii authored
Emitting the Workspace::windowAdded() signal before actually adding the window to the Workspace is counter-intuitive and it can a source of potential bugs as relevant window lists in Workspace don't contain the window yet.
-
Xaver Hugl authored
-
- 17 May, 2022 6 commits
-
-
Nate Graham authored
The features that this KCM lets you trigger barely work on X11 and really only work properly on Wayland. Unfortunately we don't have the ability to have separate settings between X11 and Wayland, and for this reason we removed a default left touch edge in 3df79855 a year and a half ago because it was too buggy on X11. This commit takes the next step and hides the KCM entirely on X11, so you can only use it on Wayland where it actually works properly. One potential downside is be that any users who are actually using it on X11 will lose the ability to use a GUI to configure these features unless they go to the Wayland session to do it. However the number of such users is likely small given how the feature does not really work on X11. However the upside is that Wayland users who can see the KCM can actually use the features that it lets you configure because they work properly there.
-
Xaver Hugl authored
-
Vlad Zahorodnii authored
I believe this is a relic from the past when we used not to destroy the ShellClient when the associated surface is unmapped.
-
Vlad Zahorodnii authored
As it turns out, it's needed to ensure that the Workspace emits the stackingOrder changed signal when a new window is added. It's also implicitly needed to make sure that Window::stackingOrder() is updated.
-
Aleix Pol Gonzalez authored
Use QWidget::screen instead of having own code to fetch the screen. It works better this way before the window is initialised.
-
Script Kiddy authored
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"
-
- 16 May, 2022 8 commits
-
-
Vlad Zahorodnii authored
Currently we guess the supported and preferred dnd actions in data offer for version >= 3. This can create problems because kwin may not send the right action events when the supported dnd actions actually change.
-
Vlad Zahorodnii authored
Currently, the cursor size check ignores the cursor bitmap's size, so the hardware cursor is used even though the bitmap size exceeds cursor limits.
-
Vlad Zahorodnii authored
With this only the main and the libinput threads will use realtime scheduling, so it will be harder to leak realtime scheduling to somebody else. The only caveat is that kwin would need to keep CAP_SYS_NICE around, however on the other hand, it's needed to ensure that kwin_wayland is able to get high priority EGL contexts with some drivers, e.g. intel.
-
It is guarded elsewhere but not here. Signed-off-by:
Victoria Fischer <victoria.fischer@mbition.io>
-
QX11Info is used in `platform.cpp`, which is used by both kwin_x11 and kwin_wayland. The latter only gets it implicitly through KGlobalAccelPrivate. Ideally, platform.cpp was split to not require QX11Info in kwin_wayland in the first place. Signed-off-by:
Victoria Fischer <victoria.fischer@mbition.io>
-
Kai Uwe Broulik authored
There's no QObject anymore which causes a MOC warning Signed-off-by:
Victoria Fischer <victoria.fischer@mbition.io>
-
Vlad Zahorodnii authored
As a wayland compositor kwin can hold many open file descriptors and therefore it's easier for it to hit the soft file descriptor limit. This change makes kwin_wayland bump the soft file descriptor limit to the hard limit. With systemd, it's usually 500K. In order to prevent causing mess in child processes, pthread_atfork() is used to register a handler which will be invoked in the child process after fork() in order to restore RLIMIT_NOFILE to its original value.
-
Script Kiddy authored
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"
-
- 15 May, 2022 2 commits
-
-
Vlad Zahorodnii authored
-
Script Kiddy authored
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"
-
- 14 May, 2022 1 commit
-
-
Otherwise the build fails for me with the following error: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] Upstream does not appear willing to fix this issue, so we have to add a define to avoid usage of this useless keyword. See https://github.com/mm2/Little-CMS/issues/190 and https://github.com/mm2/Little-CMS/issues/243.
-
- 13 May, 2022 2 commits
-
-
Nate Graham authored
Overview is quite polished now, enough that we have a default touchpad gesture that opens it by default. It's time to move it out of public beta and enable it by default, and this commit does that. BUG: 446753 FIXED-IN: 5.25
-
Vlad Zahorodnii authored
It appears that importing gbm_bo's using eglCreateImageKHR() doesn't work on nvidia. Another issue is that Platform::createDmaBufTexture() uses gbm_bo_create(). The nvidia driver doesn't like that, it's preferred to use gbm_bo_create_with_modifiers(). In order to address those issues, this change refactors how gbm_bo objects are imported and how gbm_bo's are allocated for dmabuf textures, so the same code can be reused in EglGbmBackend::textureForOutput() and Platform::createDmaBufTexture().
-