Commit graph

16 commits

Author SHA1 Message Date
aa4103f72a Add null guards in QuickSettingsDelegate and convergentwindows
Check restrictedPermissions before opening the detail popup in
convergence mode. Guard against null output in the KWin script
window-setup handler to prevent TypeError when a window has no
assigned output yet.
2026-04-18 20:24:28 +02:00
6e48055b40 Clamp restored window below the dock
KWin restores geometry before the compositor re-commits the
exclusive zone, so the window can land partly behind the dock.
A deferred check clips the bottom edge once the round-trip
completes.
2026-04-18 13:20:13 +02:00
Devin Lin
57d29a7727 kwin/convergentwindows: Ignore case with undefined desktop
Otherwise the script keeps complaining in logs, if the window doesn't
have a desktop we should ignore it.
2024-11-15 17:58:33 +00:00
Micah Stanley
36f0d175fd kwin/convergentwindows: keep current window maximized bugfix
This fix maximizes the current window if it ever leaves a fullscreen or maximized state. This is to fix a bug where if a window exits fullscreen mode, it will not return back to a maximized state.
2024-11-14 01:47:32 +00:00
Devin Lin
eb9509ce68 Remove trailing whitespace 2024-07-26 23:47:44 -04:00
Devin Lin
be7cd5f6ba kwin/convergentwindows: Don't maximize xwaylandvideobridge ghost window 2024-03-08 15:11:49 +00:00
Devin Lin
a748ecda5b kwin/convergentwindows: Don't set maximize property for fullscreen windows
Followup to https://invent.kde.org/teams/plasma-mobile/issues/-/issues/256

Otherwise the positioning affects shell windows too
2024-03-04 14:30:37 -05:00
Devin Lin
b5e58a8db1 kwin/convergentwindows: Fix race condition causing windows to be maximized too large
See https://invent.kde.org/teams/plasma-mobile/issues/-/issues/256

We have a race condition between maximizing and disabling window decorations on a window (the calls aren't blocking).

Workaround this by having the window already be in maximized size before we disable window decorations.
2024-03-04 12:26:50 -05:00
Devin Lin
22e3e0bad0 kwin/convergentwindows: Fix script not loading
Fixes https://invent.kde.org/teams/plasma-mobile/issues/-/issues/247
2023-11-12 22:50:44 -08:00
Devin Lin
557c4d27e1 kwin: Fix warnings 2023-10-28 12:06:59 -07:00
Devin Lin
e5c80e5f38 kwin/convergentwindows: Fix property call 2023-09-30 09:27:58 -07:00
Devin Lin
203f21d97d kwin/convergentwindows: Port to kwin api changes 2023-09-27 20:04:30 -07:00
Devin Lin
731f4da780 kwin/convergentwindows: Update to latest kwin changes 2023-09-26 22:53:45 -07:00
Devin Lin
fc5b968534 quicksettings: Add docked/convergence quick setting 2023-03-29 19:41:10 -07:00
Devin Lin
fe8537c618 kwin/convergentwindows: Update to latest KWin changes, and remove KWin maximize mode
Disabled per-screen window decorations for now, since it seems KWin removed the screen property: 83c38b0907
2023-03-26 11:48:37 -07:00
Devin Lin
28a780a7d3 kwin/convergentwindows: Convert to declarative script 2023-03-25 23:07:18 -07:00