Commit Graph

1766 Commits

Author SHA1 Message Date
Florian Müllner d7a824f35f workspace-indicator: Use overlap to determine preview visibility
In order to better reflect the actual workspace, show any preview
that is at least partially located on the monitor, not only those
that have the major part on that monitor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 50d3ee5703)
2020-12-03 00:09:21 +01:00
Florian Müllner 0d8e412220 window-list: Use overlap to determine preview visibility
In order to better reflect the actual workspace, show any preview
that is at least partially located on the monitor, not only those
that have the major part on that monitor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 08dfb78815)
2020-12-03 00:09:19 +01:00
Florian Müllner 991f6ef508 workspace-indicator: Account for monitor offset in window previews
Windows' frame rects are in screen coordinates, while the workspace
thumbnails are based on the monitor work area. Unless we account
for the difference, previews end up mispositioned in multi-monitor
setups.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 6949a5d075)
2020-12-03 00:09:16 +01:00
Florian Müllner 37f03f5e2e window-list: Account for monitor offset in window previews
Windows' frame rects are in screen coordinates, while the workspace
thumbnails are based on the monitor work area. Unless we account
for the difference, previews end up mispositioned in multi-monitor
setups.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 893d3b0473)
2020-12-03 00:09:12 +01:00
Florian Müllner b4a4ff0a06 workspace-indicator: Round calculated preview sizes
While not strictly necessary, there's no reason to differ from the
copy in the window-list extension ...

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit f5128e13f2)
2020-12-03 00:09:09 +01:00
Ray Strode de8876bd5e window-list: Stop monitoring drag operation if window list is destroyed
If a user is in the middle of a drag in the window list and the
window list associated with the drag gets destroyed, the drag
monitor gets leaked.

Later when the drag motion is processed, spew goes to the log:

clutter_actor_contains: assertion 'CLUTTER_IS_ACTOR (self)' failed

Examples of triggers for this bug:

- The monitor topology changes
- The screen gets locked during the drag

This commit fixes the spew and the leak by ensuring any pending
drag monitoring is disabled when the window lists are destroyed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/145>

(cherry picked from commit 8318ea919f)
2020-12-03 00:08:57 +01:00
Thun Pin 5ad272e628 window-navigator: Adjust to 3.38 overview changes
gnome-shell's overview code changed significantly in 3.38,
adjust the extension to work without the separate overlay.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/259

(cherry picked from commit 737c897624)
2020-12-03 00:08:30 +01:00
Florian Müllner 3b22582752 auto-move-windows: Exclude sticky windows from empty-check
We modify gnome-shell's workspace tracker to only remove empty
workspaces from the end. However we currently don't take into
account that sticky windows appear on all workspaces, so those
are preventing any workspace from getting removed at the moment.

Exclude them when determining whether a workspace is empty to
get the expected behavior.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/135

(cherry picked from commit 61cf679b8c)
2020-12-03 00:08:07 +01:00
Florian Müllner e734fcbd21 window-list: Adjust to overview changes
Window DND in the overview is now based on the metaWindow,
not the window actor (misnamed as "real window").

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/133
2020-11-19 04:54:07 +01:00
Florian Müllner 435879c121 workspace-indicator: Adjust to overview changes
Window DND in the overview is now based on the metaWindow,
not the window actor (misnamed as "real window").

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/133
2020-11-19 04:54:07 +01:00
Florian Müllner ed81650f55 window-list: Use custom layout manager for thumbnails
The current code positions window previews explicitly using a fixed
layout manager. For that it relies on a valid parent allocation,
which is error-prone and frequently results in warnings.

Address this by moving the positioning code into a custom layout
manager, and only update the visibility from the window preview.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/260
2020-10-21 13:44:44 +02:00
Florian Müllner 1276a880de workspace-indicator: Use custom layout manager for thumbnails
The current code positions window previews explicitly using a fixed
layout manager. For that it relies on a valid parent allocation,
which is error-prone and frequently results in warnings.

Address this by moving the positioning code into a custom layout
manager, and only update the visibility from the window preview.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/260
2020-10-21 13:44:44 +02:00
Sergio Costas 584016c291 window-list: Honor changes in skip-taskbar property
Although window-list checks the 'skip-taskbar' property when a
window is added to the desktop to decide wether it should be
shown in the bar or not, it doesn't honor that when the property
is changed after a window has already been added. Since the new
WaylandClient API allows to change this property for already
mapped windows, supporting this is a good idea.

This patch fixes this.

Fix https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/130


(cherry picked from commit b65f362f0d)
2020-10-08 21:50:07 +00:00
Florian Müllner 9e976f06b4 Bump version to 3.38.1
Update NEWS.
3.38.1
2020-10-05 20:43:21 +02:00
Florian Müllner 369801dbeb Update sass submodule 2020-10-05 20:42:16 +02:00
Yosef Or Boczko 2c3c7e8a73 Update Hebrew translation 2020-09-28 19:05:19 +00:00
Stas Solovey bb8f34de83 Update Russian translation 2020-09-22 19:52:00 +00:00
Cheng-Chia Tseng 6c98658fe1 Update Chinese (Taiwan) translation 2020-09-22 15:07:44 +00:00
Yacine Bouklif 3f06c2bc04 Add Kabyle translation 2020-09-19 11:51:36 +00:00
Florian Müllner 9e38b091a9 Bump version to 3.38.0
Update NEWS.
3.38.0
2020-09-14 22:52:43 +02:00
Rūdolfs Mazurs 62d7b883f0 Update Latvian translation 2020-09-12 09:06:28 +00:00
Milo Casagrande e56a9c5681 Update Italian translation 2020-09-10 08:12:04 +00:00
Tim Sabsch 03aa180472 Update German translation 2020-09-09 06:04:41 +00:00
Juliano Camargo bbb0775e1a Update Portuguese translation 2020-09-08 20:08:29 +00:00
Alan Mortensen c41d285131 Updated Danish translation 2020-09-07 19:58:09 +02:00
Balázs Meskó cc63876b7e Update Hungarian translation 2020-09-06 21:06:21 +00:00
Florian Müllner 08769ec0b6 Bump version to 3.37.92
Update NEWS.
3.37.92
2020-09-06 01:06:49 +02:00
Dušan Kazik 5615c21797 Update Slovak translation 2020-09-02 12:02:31 +00:00
Changwoo Ryu 48d2b4c902 Update Korean translation 2020-08-30 07:46:02 +00:00
Marek Černocký a43db7233d Updated Czech translation 2020-08-28 22:21:25 +02:00
Aurimas Černius 25143c92f4 Updated Lithuanian translation 2020-08-26 22:34:38 +03:00
Zander Brown c4ab7e9bbf Update British English translation 2020-08-26 12:25:53 +00:00
Nathan Follens 1d082fc026 Update Dutch translation 2020-08-25 15:38:07 +00:00
Florian Müllner 75919911f5 Bump version to 3.37.91
Update NEWS.
3.37.91
2020-08-24 18:09:27 +02:00
Florian Müllner bf1f129854 Update sass submodule 2020-08-24 18:07:44 +02:00
Goran Vidović 59bcc0a6a7 Update Croatian translation 2020-08-19 22:39:08 +00:00
Goran Vidović 61a54add2e Update Croatian translation 2020-08-19 22:38:38 +00:00
Марко Костић 17d07239c1 Update Serbian translation 2020-08-19 05:21:54 +00:00
Jiri Grönroos bf8a31a6c8 Update Finnish translation 2020-08-16 15:17:57 +00:00
Rafael Fontenelle 1d2fdf5c19 Update Brazilian Portuguese translation 2020-08-16 10:30:03 +00:00
Piotr Drąg f6ada58f5f Update Polish translation 2020-08-15 11:39:47 +02:00
Kukuh Syafaat ebfbc397be Update Indonesian translation 2020-08-13 12:19:05 +00:00
Akarshan Biswas 02290e8bba Update Bengali (India) translation 2020-08-13 04:36:03 +00:00
Fran Dieguez 1537ac39d4 Update Galician translation 2020-08-12 23:02:45 +00:00
Florian Müllner e39c3b4561 Bump version to 3.37.90
Update NEWS.
3.37.90
2020-08-11 17:32:17 +02:00
Florian Müllner 80030687d9 Update sass submodule 2020-08-11 17:30:02 +02:00
Alexandre Franke 3859c09318 Update French translation 2020-08-10 10:50:40 +00:00
Asier Sarasua Garmendia a41cd3c19a Update Basque translation 2020-08-10 07:06:33 +00:00
Anders Jonsson fcbdeba8c5 Update Swedish translation 2020-08-01 23:10:54 +00:00
Piotr Drąg 116f074e3b Update POTFILES.in
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/128
2020-08-01 14:38:05 +02:00