- 27 Jul, 2022 9 commits
-
-
ivan tkachenko authored
ScreenView.qml:202:17: Unable to assign QQuickItem to QQuickAnchorLine
-
Vlad Zahorodnii authored
-
Vlad Zahorodnii authored
At the moment, a platform should provide two output lists - one that lists all available outputs, and the other one that contains only enabled outputs. In general, this amounts to some boilerplate code and forces backends to be implemented in some certain way, which sometimes is inconvenient, e.g. if an output is disabled or enabled, it will be simpler if we only change Output::isEnabled(), otherwise we need to start accounting for corner cases such as the order in which Output::isEnabled() and Platform::enabledOutputs() are changed, etc.
-
Vlad Zahorodnii authored
This can be used to make our backends more multi-purpose. At the moment, new outputs are enabled by default, but it makes sense to do otherwise. For example, if an output is disabled by default, it would be possible to delegate initial output configuration to layer above, to kwin. In long term, the drm backend would need to scan connectors, create an Output for every one of them, kwin sees new outputs and tries to apply the initial output configuration, which includes the enabled status.
-
ivan tkachenko authored
Since we don't have any means of getting notified by _NET_WM when a windowType changes, and since KWin would handle that quite poorly, AND since no one does that in real-world applications anyway, we might as well mark those getters as CONSTANT, so that QML engine would stop complaining about depending on non-NOTIFYable properties. According to the specification, the window type should be decided before a window gets mapped.
-
In X11 when a window is maximised if the client is unable to fufill the space provided we centre align the window. With the new floating point geometry behaviour of centreing changes. Instead of a 1 pixel gap at the top, we get a 0.5 pixel gap either side. When we get into the codepath to "fix" the window in `closeHeight` we only move the top, giving us an invalid buffer size. We don't really want to change the logic here; on xwayland with the scaling opt-out path it's feasible for a floating sized logical size to still be representable. This code rounds to the native unit after all the logic has taken effect.
-
Contributes to: teams/plasma-mobile/issues#172
-
Vlad Zahorodnii authored
OutputMode provides a more robust way to refer to outputs. A mode can have flags and things as such that are not taken into account with mode + refresh rate.
-
Vlad Zahorodnii authored
Code such as "screenRect.bottom() - windowGeo.bottom()" assumes that both screenRect and windowGeo have the same type. At the moment, it's not the case, screenRect has QRect type and windowGeo has QRectF type, so the calculated offset will be off by one.
-
- 26 Jul, 2022 10 commits
-
-
Xaver Hugl authored
-
Xaver Hugl authored
Instead of checking for properties needing a modeset, do atomic tests with ALLOW_MODESET where it makes sense, and do a second atomic test afterwards without ALLOW_MODESET to check if the modeset can be skipped. This should ensure that KWin always does a modeset when it needs to do one, and not do a modeset when it's not necessary. Doing this also allows reducing the complexity of the drm backend a bit.
-
Alexander Lohnau authored
-
Vlad Zahorodnii authored
The DrmOutput synchronizes the enabled state with the active state, which makes sense on one hand, but on the other hand, that's not good. The drm backend makes a decision that should be ideally made by either kscreen (turn on outputs before applying an output config), user, or kwin itself. This would also allow kwin to control the allocation of crtcs for non-desktop outputs, which is a minor thing, but it might be useful in the future.
-
David Redondo authored
GIT_SILENT BUG:457152
-
David Redondo authored
BUG:457152
-
Xaver Hugl authored
They just add more code and more potential problems, and the difference in VRAM usage is very minimal
-
Xaver Hugl authored
Non-desktop outputs must be ignored
-
-
-
- 25 Jul, 2022 5 commits
-
-
It's important for tablet devices to be able to specify to which section of the display we'll be fitting the tablet. This setting allows to specify this by providing some options that will do so relative to the output size. CCBUG: 433045
-
This adds window filtering to the Overview effect. This satisfies both Overview users' needs and the workflow of Windowview: When the user starts typing, windows are filtered by default. If there is no matching window, then the Milou UI is shown, including the option for opening a new app is shown--the same one that currently gets shown when the user starts typing. This leads to a very seamless experience, where the user can type any app name and they will get it, no matter if it's already opened or not.
-
-
Vlad Zahorodnii authored
-
Vlad Zahorodnii authored
infiniteRegion() is useful not only to effects but also other kwin components, so move it to kwinglobals.h in order to make backends stop depending on libkwineffects
-
- 24 Jul, 2022 16 commits
-
-
Vlad Zahorodnii authored
This fixes the drm backend adding hotplugged gpus that belong to other seats and makes the udev helper depend on less stuff from the layer above backends.
-
Vlad Zahorodnii authored
The Session can be useful not only to the platform backend but also input backends and for things such as vt switching, etc. Therefore it's better to have the Application own the Session.
-
Vlad Zahorodnii authored
The API will be more clear about what the libinput backend needs.
-
This is not needed anymore. Task: https://phabricator.kde.org/T14483
-
Systemsettings and Plasma-Settings use the embedded json metadata instead of the KPackage one Task: https://phabricator.kde.org/T14983
-
This de-duplicates the translations needed for the KCMs. Task: https://phabricator.kde.org/T15609
-
Vlad Zahorodnii authored
This is a too niche feature. It also doesn't have to be implemented in the compositor. The kernel provides a way to overwrite the edid blob, which is not specific to the running compositor.
-
Vlad Zahorodnii authored
We add connectors to m_allObjects but never remove them. CCBUG: 457002
-
Vlad Zahorodnii authored
When the output is removed, there are legit cases when the connector can be still accessed. CCBUG: 457002
-
Xaver Hugl authored
-
Xaver Hugl authored
-
Xaver Hugl authored
-
Xaver Hugl authored
-
Xaver Hugl authored
-
Xaver Hugl authored
-
Xaver Hugl authored
-