- 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
-
- 15 Nov, 2018 1 commit
-
-
David Edmundson authored
Summary: VirtualDesktops with the new plurality was added PlasmaWindowManagement, but PlasmaWindowModel was left unchanged. In behavioural changes, setting a window to be on all running desktops should not mark it as being set on all desktops, they are 2 distinct pieces of information. Test Plan: Relevant unit test Reviewers: #kwin, mart Reviewed By: #kwin, mart Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D16883
-
- 01 Nov, 2018 1 commit
-
-
Marco Martin authored
Summary: Implement the virtual desktop protocol discussed in T4457 xml protocol, client and server part. The PlasmaVirtualDesktopManagement interface manages the desktops instantiation and layout, each desktop is a PlasmaVirtualDesktop instance which contains unique id, name and position. PlasmaWindow has new events: plasmaVirtualDesktopEntered and plasmaVirtualDesktopLeft when a window enters or leaves a desktop, and desktops as the list of desktops is in. A window can be on any subset of desktops, if the list is empty, it's considered on all desktops. Test Plan: Autotest Reviewers: #kwin, #plasma, graesslin, hein, davidedmundson Reviewed By: #kwin, #plasma, davidedmundson Subscribers: davidedmundson, zzag, bshah, romangg, kde-frameworks-devel Tags: #frameworks Maniphest Tasks: T4457 Differential Revision: https://phabricator.kde.org/D12820
-
- 22 May, 2018 1 commit
-
-
Scott Harvey authored
Summary: Adding "SkipSwitcher" to API, as a result of discussion in BUG 375921 Depends on / related to D11924 and D11926. Reviewers: hein, graesslin Reviewed By: graesslin Subscribers: kde-frameworks-devel, lbeltrame, rikmills, davidedmundson, #plasma, graesslin Tags: #frameworks Differential Revision: https://phabricator.kde.org/D11925
-
- 18 Aug, 2017 1 commit
-
-
David Edmundson authored
Summary: Nested classes inherit the visibility of their outer class, so all the KClass::Private symbols have also been exported if the ones of KClass were. See also https://phabricator.kde.org/D7279 Test Plan: Ran nm -DC to list symbols Only changed visibility of classes defined in .cpp files, so no client code should be affected. Reviewers: #plasma, dfaure Reviewed By: dfaure Subscribers: plasma-devel, #frameworks Tags: #plasma_on_wayland, #frameworks Differential Revision: https://phabricator.kde.org/D7304
-
- 24 May, 2017 1 commit
-
-
Marco Martin authored
Summary: client requests to toggle those states, to be used by libtaskmanager Test Plan: setting keep above from the taskbar works Reviewers: #plasma, hein, graesslin, #plasma_on_wayland Reviewed By: #plasma, hein Subscribers: graesslin, hein, plasma-devel, #frameworks Tags: #frameworks, #plasma Differential Revision: https://phabricator.kde.org/D5757
-
- 16 May, 2017 2 commits
-
-
David Edmundson authored
Summary: QIcon::fromTheme is not thread safe, we can't have it done in the future watcher. We can solve this by returning null in the watcher, and doing fromTheme in the main thread when the watcher finishes if we don't have an icon. Test Plan: Current unit tests still pass Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: graesslin, plasma-devel, #frameworks Tags: #frameworks, #plasma Differential Revision: https://phabricator.kde.org/D5889
-
David Edmundson authored
Summary: Verified it it send before the initial_state and adjust tests and docs accordingly Test Plan: All unit tests pass Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: graesslin, plasma-devel, #frameworks Tags: #plasma_on_wayland, #frameworks Differential Revision: https://phabricator.kde.org/D5887
-
- 13 May, 2017 1 commit
-
-
Sebastian Kügler authored
Summary: This patch adds a pid event to the plasma window management protocol. It allows the compositor to tell allow a mapping between windows and processes. Bumps the version number of the interface to 8 to indicate this. Test Plan: autotest added, passed Reviewers: #plasma, hein, graesslin Reviewed By: #plasma, hein, graesslin Subscribers: apol, davidedmundson, plasma-devel, #frameworks Tags: #frameworks, #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D5747
-
- 07 Nov, 2016 1 commit
-
-
Tobias C. Berner authored
Summary: /wrkdirs/usr/ports/x11/kf5-kwayland/work/kwayland-5.28.0/src/client/plasmawindowmanagement.cpp:489:25: error: use of undeclared identifier 'errno' if (n == -1 && (errno == EAGAIN) && ++retryCount < 1000) { ^ /wrkdirs/usr/ports/x11/kf5-kwayland/work/kwayland-5.28.0/src/client/plasmawindowmanagement.cpp:489:34: error: use of undeclared identifier 'EAGAIN' if (n == -1 && (errno == EAGAIN) && ++retryCount < 1000) { ^ Reviewers: graesslin, bshah Reviewed By: bshah Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D3289
-
- 17 Oct, 2016 1 commit
-
-
Martin Flöser authored
Summary: Especially for Xwayland windows the compositor might not have a themed icon name. Resulting in a task manager not having dedicated icons for Xwayland windows. This change deprecates the way how a compositor is supposed to set the window icon. Instead of passing the themed icon name, it is now supposed to pass the QIcon. In case it's a themed icon the existing way to pass to the client is used. Otherwise a new event is used to inform the client that there is an icon - no data is transmitted at this point. The client can then create a file descriptor and pass it to the compositor. The compositor serializes the icon into the file descriptor and the client can read from it. This all happens transparently on client side there is no api change at all. The writing and reading of the icon is done in a thread. Due to that Qt5::Concurrent is now a required dependency instead of an optional dependency. Reviewers: #plasma_on_wayland, hein Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D3049
-
- 15 Jul, 2016 1 commit
-
-
Martin Flöser authored
Summary: This allows the compositor to expose the absolute window geometry to processes which need it. Reviewers: #plasma_on_wayland Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D2183
-
- 29 Jun, 2016 1 commit
-
-
Martin Flöser authored
Summary: This change adds a parent_window event to Plasma Window. From server side it's possible to specify that a window is a transient for another window - that is it has a parent window. On client side this is exposed respectively with a new change signal. Reviewers: #plasma_on_wayland, hein Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D1779
-
- 06 Jun, 2016 2 commits
-
-
Martin Flöser authored
The checks for version are new in Wayland 1.10. We don't have that as a dependency yet on build.kde.org and I don't want to needless raise the requirement anyway. The version check was only needed to support the theoretical use case of a server having an older version. As the only user of PlasmaWindow right now are also KWayland based it's nothing we need to check for. So the check is just removed.
-
Martin Flöser authored
Summary: The event is sent to the client once all initial state is transmitted. This means the client is able to see the PlasmaWindow completely created and not in the intermediate state with further updates being pushed after being created. The client side API is adjusted to emit the windowCreated signal after the initial state event is received. In addition if the window is already unmapped, the signal will never be emitted which means the not valid windows are not exposed to the client at all. The tests are adjusted to reflect the new reality, which in most cases just means removing the comment that this needs to be improved. There is one kind of unrelated change included: when an empty icon is set, the client side now creates a QIcon() instead of going through QIcon::fromTheme. This wrong behavior was exposed now by the auto tests. Reviewers: #plasma, hein Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D1773
-
- 17 May, 2016 1 commit
-
-
Martin Flöser authored
Summary: So far when the active PlasmaWindow got unmapped or destroyed, the PlasmaWindowManagement didn't update the activeWindow. This means it could expose a deleted object through it's API which could result in a crash. This change addresses the problem by updating the active window when a window gets unmapped or destroyed. Test Plan: Tests added which exposed the problem Reviewers: #plasma, hein Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D1621
-
- 02 May, 2016 1 commit
-
-
Allen Winter authored
REVIEW: 127810
-
- 19 Apr, 2016 3 commits
-
-
Eike Hein authored
Summary: Analogous to NET::ActionChangeDesktop. KWindowInfo::actionSupported(NET::ActionChangeDesktop) is hardcoded to return true in kwin, but that's not how it should be; as this will be fixed later the Wayland protocol needs this state bit as well for parity. Test Plan: PlasmaWindowModel test is extended. Reviewers: graesslin Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1448
-
Eike Hein authored
Summary: Adds states and request methods to determine whether a window can be put into move or resize modes, and request move and resize modes, respectively. request* naming pre-discussed with Martin. I chose to add *Mode to be more explicit as well as avoid namespace conflicts with possible other Move/Resize methods in the future. Since these are not toggleable states, there is no requestToggle* methods. Protocol version is not bumped (also pre-discussed with Martin) since we have pending changes already bumping to 3. Depends on D1417. Test Plan: PlasmaWindowModel test extended. Reviewers: graesslin Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1432
-
Eike Hein authored
-
- 15 Apr, 2016 1 commit
-
-
Eike Hein authored
Summary: This adds support for 'shadable' and 'shaded' states to the protocol and to the client and server classes, as well as the window model. Test Plan: The PlasmaWindowModel test has been extended to test the new states. Reviewers: graesslin Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1417
-
- 04 Nov, 2015 1 commit
-
-
Marco Martin authored
this exposes the geometry of taskbar entries in plasma-windowmanagement, in order to make the minimize effects possible. unlike on X11, it takes relative positions and it has one geometry per panel, making possible to have multiple taskbars working. REVIEW:125871
-
- 28 Oct, 2015 1 commit
-
-
Marco Martin authored
add a method to toggle minimize and maximize windows from the plasma-window-management protocol. REVIEW:125841
-
- 30 Sep, 2015 1 commit
-
-
Marco Martin authored
support the skipTaskbar property in the window model that property is set client side by PlasmaShell::setSkipTaskbar REVIEW:125453
-
- 08 Jul, 2015 1 commit
-
-
Martin Flöser authored
-
- 29 Jun, 2015 1 commit
-
-
Martin Flöser authored
Sending a new PlasmaWindow as an event is quite problematic. The main problem here is that it sends an id of 0 and this doesn't make sense when the interface gets bound and all existing windows are send to the client. This changes the interaction to have the client create the resource for the PlasmaWindow instead of the server creating it. The server generates "window ids" and sends those to the client. The client now binds a PlasmaWindow with the "window id" in the normal way. In case the server doesn't know the id any more, it directly sends an unmapped and destroyes the newly created resource again. It is not a protocol error as that can happen (common example: file open dialog of Qt 5 applications on Xwayland).
-
- 25 Jun, 2015 1 commit
-
-
Martin Flöser authored
Delegate the callback into the thread PlasmaWindowManagement instance lives in.
-
- 24 Jun, 2015 2 commits
- 20 Jun, 2015 1 commit
-
-
Martin Flöser authored
Server can set a themed icon name, client gets it directly turned into a QIcon. That only works with QGuiApplications as can be seen in the adjusted paneltest.
-
- 19 Jun, 2015 1 commit
-
-
Martin Flöser authored
-
- 18 Jun, 2015 3 commits
-
-
Martin Flöser authored
-
Martin Flöser authored
Changes whenever a new PlasmaWindow reports to be active.
-
Martin Flöser authored
Allows to pass all on/off states from compositor to the PlasmaWindow.
-
- 17 Jun, 2015 1 commit
-
-
Martin Flöser authored
The client has done it's part, let's clean up.
-
- 16 Jun, 2015 1 commit
-
-
Martin Flöser authored
-
- 12 Jun, 2015 1 commit
-
-
Martin Flöser authored
Basic wrapper so far only supporting showing desktop.
-