- 14 Sep, 2019 1 commit
-
-
Frederik Gladhorn authored
Summary: When trivial, replace iterators with the const version. Reviewers: #kwin, zzag Reviewed By: #kwin, zzag Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D23917
-
- 16 Jul, 2017 1 commit
-
-
Martin Flöser authored
Summary: This is a change inspired by https://bugreports.qt.io/browse/QTBUG-61930. When Qt closes a window due to a key press event it starts to repeat the event as KWayland does not send a keyboard leave event. Weston on the other hand does send out the keyboard leave. In my opinion it doesn't make much sense to send out the keyboard leave in this situation and in my opinion that is a client bug, but if it makes clients happy we can send them the keyboard leave. Similar this should be done for pointer, touch, etc. BUG: 382280 Test Plan: Run the example added to the Qt bug and it worked fine Reviewers: #frameworks, #plasma Subscribers: plasma-devel Tags: #plasma_on_wayland, #frameworks Differential Revision: https://phabricator.kde.org/D6683
-
- 28 Jun, 2016 2 commits
-
-
Martin Flöser authored
Not called from anywhere.
-
Martin Flöser authored
Summary: On client side the newer wl_keyboard_release is used which is a destructor call. On server side the shared destroy callback is used and it's ensured that KWayland doesn't crash if called into the KeyboardInterface between unbound and destroyed. Test Plan: Test case extended to cover the condition of an unbound KeyboardInterface. Reviewers: #plasma_on_wayland Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D2036
-
- 19 May, 2016 1 commit
-
-
Martin Flöser authored
Summary: So far the server component performed manual cleanup in some cases when a client disconnects. But this is not needed: the Wayland library calls the static unbind methods which do cleanup. If we cleanup ourselves this can result in double deletes in the worst case, so let's only use the Wayland functionality. Adjusted: * RegionInterface * SurfaceInterface * ShellSurfaceInterface (doesn't take a parent anymore) * DpmsInterface * QtSurfaceExtensionInterface * KeyboardInterface * PointerInterface * TouchInterface * DataOfferInterface * PlasmaShellSurfaceInterface For each adjusted case a test case is added to verify that the cleanup works. Exceptions are DpmsInterface as the actual Resource is not exposed at all in the Server component and DataOfferInterface as that is server side created. Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D1640
-
- 07 Apr, 2016 1 commit
-
-
Martin Flöser authored
If the focused pointer and keyboard surface is the same we use pointer clicks as a hint to which child surface should have keyboard focus. Keyboard focus handling for sub surfaces is rather limited overall. We just don't have a good model on how to determine which child surface should get the keyboard focus. When passing focus to a surface there is no way to know which of the sub-surfaces should get the focus. Ideally the client should handle this, but that's just not the case. The best we have is a reference through the pointer. But that's of course also limited. Keyboard focus passed to the surface for another reason (Alt+Tab) cannot select the proper sub-surface without interaction from another input device. Reviewers: #plasma Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1330
-
- 06 Apr, 2016 1 commit
-
-
Martin Flöser authored
-
- 09 Sep, 2015 1 commit
-
-
Martin Flöser authored
Doxygen doesn't like our callback listener at all. We need to hide it from doxygen, otherwise docu doesn't get generated.
-
- 02 Sep, 2015 2 commits
-
-
Martin Flöser authored
-
Martin Flöser authored
* Raises wl_seat supported version to 4 in both server and client * Raises wl_keyboard supported version to 4 in wl_keyboard * wl_pointer and wl_touch are still on version 3 * Raises minimum Wayland version to 1.6
-
- 26 May, 2015 1 commit
-
-
Martin Flöser authored
If a resource is null, because e.g. the surface got already destroyed, wayland will create an error while marshalling arguments causing the connected client to in worst case abort.
-
- 21 Apr, 2015 1 commit
-
-
Martin Flöser authored
Running real world applications (Xwayland) showed that it doesn't like at all that we do a dispatch when we are going to flush. This caused in a very reliable manner a "Connection closed" error in XWayland, taking down the client and in return the (xwayland-enabled) server.
-
- 12 Dec, 2014 1 commit
-
-
Martin Flöser authored
This software is not portable. We don't need krazy checks telling us that we should use Qt's portable types.
-
- 26 Nov, 2014 3 commits
-
-
Martin Flöser authored
-
Martin Flöser authored
The KeyboardInterface gets created per wl_resource. For this all more global information (e.g. key states) is moved into the SeatInterface.
-
Martin Flöser authored
-
- 25 Nov, 2014 2 commits
-
-
Martin Flöser authored
We can get it through the Global passed to PointerInterface and KeyboardInterface. No need to pass it further around.
-
Martin Flöser authored
-