- 15 Jan, 2018 1 commit
-
-
Fabian Vogt authored
Summary: As kwin_wayland can have the CAP_SYS_NICE capability, libxkbcommon does not read environment variables (see secure_getenv). So process them here, in the same way xkb_context_sanitize_rule_names would. BUG: 388249 Test Plan: kwin_wayland has the capability set, keyboard layout is applied correctly. Reviewers: #plasma, graesslin Subscribers: kwin, plasma-devel, #kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9873
-
- 14 Jan, 2018 3 commits
-
-
Martin Flöser authored
Summary: This adds support for those set rules in ShellClient. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9866
-
Martin Flöser authored
Summary: There's a call to a virtual doSetSkipPager for performing this call and Client implements it with the code which now is removed. This fixes a crash when using setSkipPager for a Wayland window. Test Plan: Crash which happens with a new test case (see dependent phab request) is fixed. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9865
-
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 Jan, 2018 2 commits
-
-
Martin Flöser authored
Once again KActivities causes a delay in the startup of KWin. This is not the first time it happens, that has been a problem since the start of the Wayland project. In the past we added a compile time switch due to that and added a runtime switch once it stoped freezing (20a9a2a2). And now it broke again, so let's disable again. KActivities doesn't make sense on Wayland anyway as there is no activity support for Wayland windows. Once KActivities is able to be used without freezing KWin on startup and being able to ensure that it won't break again we can reenable. But I expect guarantees about that. This must be ensured by proper autotest support to verify that in future usage of KActivities in the display manager doesn't freeze it. This is maintainer decision, due to that no pre-commit review. CCMAIL: plasma-devel@kde.org BUG: 388628
-
Martin Flöser authored
-
- 12 Jan, 2018 2 commits
-
-
Fabian Vogt authored
Summary: The renderer string does not contain "Gallium 0.4 on" anymore, instead it directly contains the gallium driver's name. So assume that every unknown renderer is a gallium driver. Test Plan: Added a testcase, it succeeds only with this patch. Reviewers: #plasma, graesslin Subscribers: kwin, plasma-devel, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D9495
-
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 Jan, 2018 1 commit
-
-
Marco Martin authored
Summary: depends from D9521 listens to switch events and updates the tablet mode status which is exposed to dbus in the org.kde.KWin.TabletModeManager interface Test Plan: as hardware support is limited, testing of clients so far is done by the setter in the dbus property, which should be removed from the final version. It has been tested to successfully work on a Thinkpad. Reviewers: #plasma, #kwin, graesslin Reviewed By: #plasma, #kwin, graesslin Subscribers: graesslin, davidedmundson, plasma-devel, kwin, #kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9764
-
- 10 Jan, 2018 3 commits
-
-
Martin Flöser authored
Summary: So far a not-active fullscreen X11 window was kept in the active layer if the newly activated window is in the same group (that is same client leader). For example a fullscreen X11 kwrite window is in the active layer if another kwrite window is active. The two kwrite windows obviously don't have anything to do with each other, but are in the same group. This creates problems as it's not possible to raise other windows above the active not-fullscreen kwrite window. E.g. the panel is stacked below. The idea behind the check makes sense: if a fullscreen window opens another window (e.g. a configuration dialog) it should not be put back to normal layer. Thus the check is adjusted whether the new active window is a transient to the fullscreen window. Thus the intention is still the same, but does not cause the problems. As the code now does not need to differentiate between X11 and Wayland windows (group only on X11) the Client specific implementation is removed and the method unvirtual'ed. BUG: 388310 FIXED-IN: 5.12.0 Test Plan: Test passes Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9699
-
Martin Flöser authored
Summary: This ensures that using KDE Connect to control input properly inhibits idle timeouts. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9555
-
David Edmundson authored
Summary: x and y are always relative to the parent, adding parent.width to calculate the position doesn't make sense. Original author meant just "x: parent.width-1" But we may as well just use anchors. Programatically it comes out the same. Test Plan: No more weird vertical lines in the KCM when view is slightly less than 2 previews wide. Modded colour to hardcoded "red" for easier visualisation, checked it looked ok when set as a real deco. Reviewers: #plasma Subscribers: plasma-devel, kwin, #kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9776
-
- 09 Jan, 2018 2 commits
-
-
Martin Flöser authored
Summary: This change introduces a new SwitchEvent and passes it through the InputEventSpy and InputEventFilter. The DebugConsoleFilter implements it so that the events can be monitored in the debug console. Test Plan: Untested as my only device with such switches has too old libinput Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9521
-
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"
-
- 08 Jan, 2018 1 commit
-
-
Kai Uwe Broulik authored
When I'm explicitly cycling through the windows of an application it makes no sense to show the "global" desktop window. BUG: 378662 FIXED-IN: 5.12.0 Differential Revision: https://phabricator.kde.org/D9661
-
- 07 Jan, 2018 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"
-
- 06 Jan, 2018 2 commits
-
-
Martin Flöser authored
When an X11 window is raised to fullscreen it gets set to active layer. When another window gets activated then it goes back to normal layer. But when a window of the same group gets activated the fullscreen window stays in the active layer. Due to that it is not possible to raise other windows above the fullscreen window. This just adds a test case exposing the problematic area. CCBUG: 388310
-
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"
-
- 05 Jan, 2018 5 commits
-
-
Nerdopolis Turfwalker authored
Summary: This will allow other parts of kwin to get the current logind seat that this instance is running under Reviewers: #kwin, graesslin Reviewed By: #kwin, graesslin Subscribers: graesslin, anthonyfieroni, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D9551
-
Bhushan Shah authored
VERSION_GREATER_EQUAL is not available for cmake version we depend on
-
Laurent Montel authored
-
Laurent Montel 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"
-
- 04 Jan, 2018 3 commits
-
-
David Edmundson authored
Summary: To replace the deprecated/broken qt extended surface BUG: 385214 Test Plan: Ran test in plasma-integration Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D9660
-
Martin Flöser authored
Summary: This change adds support for the switch devices introduces with libinput 1.7 (lid) and 1.9 (tablet mode). So far it's not yet used internally in KWin, but only exposed through the Device and Events. As KWin currently only requires libinput 1.5 and we are rather late in the release cycle the new functionality is ifdef'ed. The requirement will be raised once master is 5.13. It is already available on build.kde.org, but e.g. Neon only has 1.6. The switch events are interesting as they report whether the lid is closed (might be interesting for e.g. powerdevil) and whether a convertible is in tablet mode (supported for e.g. Lenovo Yogas with recent kernel). This can be used by KWin internally to enable/disable the virtual keyboard. And can be exposed globally to switch to Plasma Mobile shell in future. Test Plan: Only through test case as my Lenovo Yoga uses Neon which has a too old libinput Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9516
-
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 Jan, 2018 3 commits
-
-
Martin Flöser authored
Summary: The idea is to be output only, so also ignore for pointer and touch. This is similar to the previous commit for keyboard events. BUG: 386954 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9647
-
Martin Flöser authored
Summary: PlasmaCore.Dialog has a property outputOnly. This is for example used in KWin's OnScreenNotification. If that property is set KWin should not send any key events to it, just like for windows with _q_showWithoutActivating. BUG: 388112 Test Plan: Not yet Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9618
-
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"
-
- 02 Jan, 2018 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"
-
- 01 Jan, 2018 2 commits
-
-
Vlad Zahorodnii authored
Summary: Currently, slide effect doesn't handle a case when there is a moving client. This results in having window jumps. This commit fixes it by fixing position of the moving client during switching to another desktop. Test Plan: * send window one desktop to the left/right using shortcuts Reviewers: #kwin, #plasma, graesslin Reviewed By: #kwin, #plasma, graesslin Subscribers: graesslin, plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9487
-
Vlad Zahorodnii authored
Summary: At the moment, there is no way to tweak duration of the slide animation. This change adds a configuration module so it is possible to change the duration. Test Plan: * enable virtual desktops * go to `System Settings > Desktop Behaviour > Desktop Effects` and select Slide effect under "Virtual Desktop Switching Animation" * click settings/options button and change duration Reviewers: #kwin, #plasma, graesslin Reviewed By: #kwin, #plasma, graesslin Subscribers: graesslin, plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D9382
-
- 31 Dec, 2017 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"
-
- 30 Dec, 2017 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"
-
- 29 Dec, 2017 1 commit
-
-
Nathaniel Graham authored
Summary: BUG: 386571 BUG: 386574 BUG: 386576 Implemented some of @abetts' string change and UI suggestions in the above bugs. Test Plan: Tested in KDE Neon: {F5540279} {F5540277} {F5540278} Reviewers: abetts, #vdg, #kwin, davidedmundson, graesslin, apol Reviewed By: abetts, #vdg, davidedmundson, apol Subscribers: apol, jriddell, luebking, graesslin, kwin, abetts Tags: #kwin Differential Revision: https://phabricator.kde.org/D8682
-
- 28 Dec, 2017 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"
-
- 27 Dec, 2017 1 commit
-
-
Martin Flöser authored
Fix build.
-
- 26 Dec, 2017 1 commit
-
-
Martin Flöser authored
Summary: The initial state for user enabled is now read from config. In addition a DBus interface is provided exporting this property. This allows KScreen to determine whether automatic screen rotation is available and whether the user has it enabled or not. Furthermore KScreen can change the property and this gets stored into the configuration. Thus KScreen can offer a user interface to enable/disable automatic screen rotation as well as enabling/disabling the manual rotation based on the current user settings. Test Plan: Not yet tested, coded on the system which doesn't have an orientation sensor Reviewers: #kwin, #plasma, sebas, davidedmundson Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8738
-
- 25 Dec, 2017 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"
-
- 24 Dec, 2017 1 commit
-
-
Martin Flöser authored
We had a compile failure on openSuse on build.kde.org. This is a try to fix the failure with adding the include.
-