- 10 Feb, 2022 1 commit
-
-
- 27 Jan, 2022 1 commit
-
-
Arjen Hiemstra authored
When dragging from one window to another, we may end up in a data_device that didn't get "data_device_start_drag". In that case, the internal touch point serial will be incorrect and we need to update it to the serial from the seat. The serial stored in the seat is changed to std::optional so we can properly check if it is set.
-
- 25 Jan, 2022 1 commit
-
-
Vlad Zahorodnii authored
The SeatInterface cleans up currentSelection and currentPrimarySelection when the AbstractDataSource::aboutToBeDestroyed() signal is emitted, but since the data source and primary data source have parent objects, they can be potentially destroyed without emitting the aboutToBeDestroyed() signal and thus leaving dangling pointers in SeatInterface. CCBUG: 449101
-
- 14 Jan, 2022 1 commit
-
-
Xaver Hugl authored
DRM_FORMAT_MOD_INVALID is now explicitly included in KWin where needed
-
- 13 Jan, 2022 3 commits
-
-
Heiko Becker authored
...to reflect reality. It already needs kde-primary-output-v1.xml, which appeared in 1.6.0.
-
Jonathan Esk-Riddell authored
GIT_SILENT
-
Jonathan Esk-Riddell authored
GIT_SILENT
-
- 12 Jan, 2022 1 commit
-
-
Vlad Zahorodnii authored
It's more typesafe.
-
- 10 Jan, 2022 1 commit
-
-
Vlad Zahorodnii authored
The SurfaceInterface can get destroyed and TabletCursorV2 may return a dangling pointer. BUG: 446255
-
- 08 Jan, 2022 1 commit
-
-
Vlad Zahorodnii authored
If the source rectangle is not set, we need to use the surface size given by the attached buffer. It's computed as buffer size / scale, but the buffer can also be transformed. In other words, we need to compute the natural surface size as follows - buffer size / scale and transpose the result if the buffer is rotated 90 or 270 degrees.
-
- 04 Jan, 2022 2 commits
-
-
Xuetian Weng authored
Put EnableEmitter in the anonymous namespace to avoid it to be linked to the wrong implementation.
-
Xaver Hugl authored
Only the first one was getting sent
-
- 29 Dec, 2021 1 commit
-
-
Usually, a client will only use text input v2/v3. Do not return the focused surface for text input if it has no relevant text input resource. If text-input object is created after surface get the focus, send enter to this text input object. Ensure sendEnter and sendLeave always appear in pair. Also, use the same technique in text-input-v2 for text-input-v3 to handle per resource's enable/disable state, and only send update to enabled text-input-v3 object.
-
- 23 Dec, 2021 1 commit
-
-
- 19 Dec, 2021 1 commit
-
-
Xuetian Weng authored
-
- 17 Dec, 2021 3 commits
-
-
Vlad Zahorodnii authored
Currently drag-and-drop doesn't work on FreeBSD because relevant input parts of kwayland-server are not compiled there. HAVE_LINUX_INPUT_H is set to 0 on FreeBSD because linux/input.h is in /usr/local/include and check_include_file() doesn't look there. Regardless of that, as FreeBSD developers pointed out, including linux/input.h is the recommended way to get input event codes so let's make it a hard dependency.
-
Vlad Zahorodnii authored
They belong in KWayland::Client.
-
-
- 13 Dec, 2021 1 commit
-
-
Xuetian Weng authored
-
- 08 Dec, 2021 2 commits
-
-
Vlad Zahorodnii authored
This change adds the preferred decoration mode similar to what XdgToplevelDecorationV1Interface has. It's needed to clean up some kwin code.
-
Vlad Zahorodnii authored
This is intended for borderless maximized windows. They should be neither client-side nor server-side decorated.
-
- 05 Dec, 2021 1 commit
-
-
Xaver Hugl authored
BUG: 446502
-
- 30 Nov, 2021 1 commit
-
-
Xaver Hugl authored
dmabuf-feedback allows the compositor to give the client feedback on what formats and modifiers are best to use, and for which devices it needs to allocate its buffers, which improves performance and efficiency.
-
- 28 Nov, 2021 1 commit
-
-
Xaver Hugl authored
The cpp file is getting too long and unwieldy
-
- 17 Nov, 2021 3 commits
-
-
Arjen Hiemstra authored
Reusing the pointer transformation causes drag with touch to send completely incorrect coordinates. So implement the "TODO" item about surface transformation for touch, so we send correct drag events for touch.
-
Arjen Hiemstra authored
It used to send the pointer position, which may be somewhere completely different when we're using touch.
-
Arjen Hiemstra authored
This exposes "globalTouch.focus.firstTouchPos" so other things can use it in place of "pointerPos" when touch is being used.
-
- 16 Nov, 2021 2 commits
-
-
Xaver Hugl authored
They're unnecessary
-
Vlad Zahorodnii authored
Currently, if a wp_viewport upscales the surface but doesn't set the source rectangle, the surface-to-buffer matrix will be calculated incorrectly. If the source rect is not set, we need to calculate the source size based on the buffer size and compare it with the destination size. If the two are not the same, add a scale transform. BUG: 445346
-
- 15 Nov, 2021 2 commits
-
-
Xaver Hugl authored
-
Xaver Hugl authored
They're unused and unnecessary
-
- 10 Nov, 2021 2 commits
-
-
Vlad Zahorodnii authored
With the EGLStreams support gone, we can restore the correct type check for wl_drm client buffers. The spec suggests to query the EGL_TEXTURE_FORMAT attribute to determine whether the specified wl_buffer is a wl_drm buffer.
-
Xaver Hugl authored
As KWin will no longer use EglStreams it is now unnecessary
-
- 08 Nov, 2021 2 commits
-
-
Aleix Pol Gonzalez authored
Adds support for kde-primary-output. Ports to changes in kde-output-management-v2.
-
Vlad Zahorodnii authored
Some double buffered state, e.g. min and max size, should be applied when the initial state is committed.
-
- 03 Nov, 2021 1 commit
-
-
Aleix Pol Gonzalez authored
When binding we just need to be talking to the one client to make sure it's set up. This saves us from waking up every other process only to realise that nothing happened.
-
- 31 Oct, 2021 1 commit
-
-
Vlad Zahorodnii authored
Similar to other interfaces, the lifetime of the SlideInterface should be bound to the associated resource.
-
- 27 Oct, 2021 2 commits
-
-
Vlad Zahorodnii authored
In some cases, kwin may decide not to forward input events to the seat.
-
Vlad Zahorodnii authored
With some apps, firefox specifically, it's possible to enter a dnd positive feedback loop, e.g. * kwin sends wl_data_offer::action event * the app reacts to it and calls wl_data_offer::set_actions() with the same actions * kwin re-sends the wl_data_offer::action event because DataOfferInterface::dragAndDropActionsChanged() has been emitted * the app calls wl_data_offer::set_actions() again, and so on... This should make D&D in Firefox more responsive.
-
- 25 Oct, 2021 1 commit
-
-
Vlad Zahorodnii authored
It makes the test fail and there's little point for having it.
-