- 14 Jun, 2022 8 commits
-
-
Vlad Zahorodnii authored
Don't crash if a script has provided bad screen or desktop id to clientArea(). CCBUG: 449957
-
Xaver Hugl authored
-
Introduced a new setting for the task switcher - OrderMinimizedMode - and implemented the tabbox logic for it
-
-
-
-
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"
-
- 13 Jun, 2022 11 commits
-
-
ivan tkachenko authored
It's deprecated and always 1
-
ivan tkachenko authored
-
ivan tkachenko authored
-
Vlad Zahorodnii authored
Currently, if the screen edge is blocked and the cursor is inside its approach geometry, kwin is going to paint screen edge glow. It doesn't look good and it can have some performance penalties with fullscreen video games because the direct scanout path will be blocked. BUG: 454503
-
Aleix Pol Gonzalez authored
-
Vlad Zahorodnii authored
-
Vlad Zahorodnii authored
-
Vlad Zahorodnii authored
At the moment, dmabuf importing is scattered all over the place in kwin. It would be great if we had one function that takes dma-buf attributes and returns an EGLImage if successful. As the first step, make linux-dmabuf-v1 implementation provide dmabuf attrs compatible with KWin::DmaBufAttributes.
-
Vlad Zahorodnii authored
QSize() will construct an invalid size. An invalid size has width and height set to -1. In other words, QSize() != QSize(0, 0). This can create issues when computing the bounding rect of a surface that has invisible subsurfaces. For example, if the subsurface rect is QRect(0,0 -1x-1), the top-left corner of the bounding rect will be affected. In order to make computation of the bounding rect robust, initialize the surface size to 0 explicitly. BUG: 454535
-
Vlad Zahorodnii authored
Originally, DeformEffect was meant to be used in effect that deform windows, but its usage has become wider than anticipated. This change renames the DeformEffect to OffscreenEffect to accommodate for that.
-
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"
-
- 12 Jun, 2022 1 commit
-
-
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"
-
- 11 Jun, 2022 2 commits
-
-
In Gtk's text-input-v3 implementation it expect done to update the client serial after every commit. Though it is unclear whether this is a protocol requirements, do the same thing like mutter for more compatiblity, especially Gtk3 is in EOL not likely to be patched any time soon. To do so, we will need to keep track of the last active preedit, otherwise only send_done() will clear the preedit.
-
-
- 10 Jun, 2022 4 commits
-
-
Aleix Pol Gonzalez authored
-
David Edmundson authored
Behaviour was fixed in c3f5f8ce. If an item starts at 0,0 and is 100 pixels wide in normal geometry the 100th pixel is not inside the rectangle. SubSurface::testSurfaceAt was adjusted correctly but this was missed as we test the same thing twice!
-
Alexander Lohnau authored
BUG: 455015
-
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"
-
- 09 Jun, 2022 3 commits
-
-
Xaver Hugl authored
It was missing for lease outputs, which causes all atomic tests to fail BUG: 454961
-
David Edmundson authored
QRectF::contains includes all edges. If two subsurfaces are next to each other ::contains will treat it as having a singularity where a value is on 2 subsurfaces rather than either one of the other, which isn't what we want for our purposes. The unit test is extended but also featured some wrong values, the biggest clue that it was wrong was that we used different test co-ordiantes for surfaceContains and inputContains.
-
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"
-
- 07 Jun, 2022 3 commits
-
-
David Edmundson authored
Anything in xcb_ structs are always in X local, all member variables aside from buffers are in kwin local space. This patch ignores a few paths that are not relevant on wayland.
-
David Edmundson authored
This allows for compositor managed different co-ordinate space between kwin's logical co-ordinate space and a client's logical co-ordinate space. When combined with a modified !1959 this allows us to set a DPI in xrdb and mark all xwayland windows as being 2x (or other) and avoid upscales for xwayland clients in a way that doesn't impact other wayland clients or require third-party changes. Any use of fractional values is in layers we control instead of over the wire. kwayland-server is the right place for this abstraction as we need Outputs to differ on a per resource basis. Something we can't control from within kwin. Right now only protocols used by Xwayland are covered. If we covered remaining protocols we can offer user-control on all remaining clients which could open up other possibilities such as a user controlled dynamic resizing, or adapt to possible future protocol changes with wayland scaling.
-
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"
-
- 06 Jun, 2022 3 commits
-
-
Otherwise launching firefox, which in turn leads to launching of xdg-desktop-portal-kde, disables auto-rotation.
-
Marco Martin authored
Allow dragging windows between screens, using a placeholder thumbnail item to render part of the thumbnail on the other screen. BUG: 283333 BUG: 453996 BUG: 448566
-
Marco Martin authored
we should drop the window on the desktop under the cursor, not under the center of the thumbnail BUG:454584
-
- 04 Jun, 2022 2 commits
-
-
Xaver Hugl authored
There are a few benefits to using smart pointers from the standard library: - std::unique_ptr has move semantics. With move semantics, transfer of ownership can be properly expressed - std::shared_ptr is more efficient than QSharedPointer - more developers are used to them, making contributions for newcomers easier We're also already using a mix of both; because Qt shared pointers provide no benefits, porting to standard smart pointers improves consistency in the code base. Because of that, this commit ports most of the uses of QSharedPointer to std::shared_ptr, and some uses of QScopedPointer to std::unique_ptr
-
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"
-
- 03 Jun, 2022 1 commit
-
-
Nate Graham authored
This got lost in the QML port. BUG: 451848
-
- 02 Jun, 2022 2 commits
-
-
Nate Graham authored
The current shortcuts could conceivably override app shortcuts, since they don't use the Meta key. The following changes are made: Switch keyboard layout: Ctrl+Alt+K -> Meta+Alt+K Activate window that wants attention: Ctrl+Alt+A -> Meta+Ctrl+A Kill Window: Ctrl+Alt+Esc -> Meta+Ctrl+Esc These are safe to change in the code rather than adding new ones and keeping the old ones around for compatibility's sake because KGlobalAccel::setDefaultShortcuts by default preserves old shortcuts when they are changed, and we aren't overriding that behavior here. So only new installs will get the new shortcuts and existing user installs will be untouched.
-
Aleix Pol Gonzalez authored
We don't get one per plane, but one per allocation.
-