Commit Graph

64 Commits

Author SHA1 Message Date
Corentin Noël
5644c66724 Update Mutter 46 support
Update to the latest version on time.
2024-03-06 18:27:48 +01:00
Leo
0cd3f324c1
Rework close button (#1848) 2024-02-13 09:58:50 -08:00
Leo
82b60f140a
WorkspaceManager: count windows on primary monitor only (#1789) 2023-10-30 09:45:58 +01:00
Corentin Noël
151e5f0175 Add support for Mutter 45 2023-09-15 10:07:28 +02:00
David Hewitt
07f7c21482 lib: Deprecate get_ui_scaling_factor
Get the scaling factor for the monitor you are drawing to with
`Meta.Display.get_monitor_scale` instead.
2023-04-23 14:27:48 +02:00
David Hewitt
53da4ea072
Support floating point scale for resize button (#1630) 2023-04-07 14:40:20 +02:00
David Hewitt
e5ef835de1
IconGroup: Support floating scale factors (#1628) 2023-04-07 10:44:15 +02:00
David Hewitt
a630015b89
Utils: Remove bell (#1621) 2023-04-05 16:49:12 +02:00
David Hewitt
37f65895f2
maskcorners: Scale corner masks per-monitor (#1620) 2023-04-05 16:29:23 +02:00
Leo
b3e5d7af28
Cleanup after #1557 (#1559) 2023-02-22 05:09:04 +00:00
Leo
4e00b82dd7
Remove some deprecations and fix compile warnings (#1544) 2023-02-21 19:05:43 +00:00
Leo
d0abb9c0e7
Fix window maximize and unmaximize animations (#1557) 2023-02-21 10:57:33 -08:00
Leo
e212898742
Always use private keyword (#1543)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-02-18 17:32:32 +00:00
Corentin Noël
c74298b49c Bump Mutter to 3.36 2021-01-04 13:33:03 -08:00
Corentin Noël
57c3608c51 Bump Mutter to 3.30 2021-01-04 13:33:03 -08:00
David Hewitt
3755df80b3
Replace BAMF for icon loading (#939)
* Initial work to replace window matching and icon loading

* Support file icons

* Start caching desktop file info, support StartupWMClass

* Remove bamf vapi

* Listen for changes to desktop files

* Rate limit cache updates

* Remove bamf from README

* Pixbuf caching and gapp matching

* Also cache unknown icons

* Get windows from group

* Add a fallback for failing to load icon

* Check sandbox prefixes

* Switch icon cache class to struct
2020-10-27 12:15:57 -06:00
Daniel Foré
9897f02702
Utils: Remove unused scale (#841) 2020-06-16 14:47:08 +01:00
Javier Goday
05b445f0ca
fix Gala.Utils.create_close_button and Gala.Utils.create_refresh_button (texture.set_size) (#784) 2020-04-26 15:13:54 +02:00
David Hewitt
2732d81c22
Mutter 3.36 support (#751) 2020-03-12 23:38:28 +01:00
Daniel Foré
cdd3bdcfb0
Utils: Remove unused get_next_window and get_icon_for_window (#691) 2020-01-14 09:58:52 -08:00
Daniel Foré
7a76ae3028
Use one true brace style in src (#685) 2020-01-09 12:29:01 -08:00
Corentin Noël
2c22f2de80 Make Mutter 3.28 the minimum libmutter version (#640) 2019-11-20 09:10:51 -08:00
Corentin Noël
0f0724c97a Adapt to mutter 3.33 (#566) 2019-10-31 22:22:38 +01:00
Keli Grubb
49d1d8ffab 👕 Lint lib directory with vala-lint (#607) 2019-09-05 22:18:43 +02:00
Peter Uithoven
dd98e0069f Only use cached buttons when height matches, fixing dpi switch issue (#480) 2019-06-25 02:22:19 +02:00
Corentin Noël
fe52fb1288 data: Add gala.css and texture.png to GResource 2019-01-23 21:58:01 +01:00
Peter Uithoven
cf8d4556d0 pip: Adjust button size and margin for screen dpi scale (#396)
Add reusable Util.get_ui_scaling_factor()

Fixes: #395
2018-11-22 00:24:47 +01:00
Felipe Escoto
fe9f48ae09 Fix Multimonitor windows preventing workspaces from closing (#357)
Use on_all_workspaces instead of is_always_on_all_workspaces()
2018-10-17 16:56:41 +02:00
Corentin Noël
985baa08bd Ensure that the correct workspaces are removed (#269) 2018-06-07 22:15:53 +02:00
Corentin Noël
42e7617554 meson: Add support for valadoc 2018-03-11 19:26:03 +01:00
David Hewitt
e39e5591da Make window-switcher compatible with HiDPI (#154) 2018-02-14 21:17:31 +01:00
Corentin Noël
9b68c4b664 notify: Make notifications to be HiDPI compatible 2017-09-28 16:47:02 +02:00
Rico Tzschichholz
b839b2f356 lib: Add GResource support and load close/resize button images from it 2017-07-18 19:13:47 +02:00
Rico Tzschichholz
80f2ac39de utils: Add resize button methods and make use of them in pip 2017-07-18 19:13:47 +02:00
Rico Tzschichholz
12788ef9ce Drop support for plank < 0.11.0 2017-07-18 19:06:46 +02:00
Corentin Noël
9665ae90d6 data: Replace png with svg files 2016-12-31 09:08:58 +01:00
Rico Tzschichholz
9469155b44 Add support for mutter 3.22
Replace clutter-gtk-1.0 with native clutter-1.0 API and use mutter's
internal clutter/cogl libraries if needed.
2016-11-15 17:13:39 +01:00
Rico Tzschichholz
2fe0fbadf7 Drop support for mutter < 3.14.4 2015-11-11 20:56:40 +01:00
Rico Tzschichholz
4e50b6639e Add support for plank 0.11 api 2015-11-03 16:26:40 +01:00
Tom Beckmann
1b4ec92676 no assignment in if 2015-03-11 14:43:19 +01:00
Tom Beckmann
27b43cc32c improve flash prevent code, bump snap-duration to 250ms, actor-snapshot can be NULL 2015-03-11 14:23:10 +01:00
Tom Beckmann
481da2cc71 implement smooth (un)maximize, may have some small offsets currently 2015-01-05 16:46:27 +01:00
Rico Tzschichholz
3fc7213841 utils: No error to catch here 2015-03-04 12:07:09 +01:00
Rico Tzschichholz
d588328a03 Refactoring to avoid nested classes and multi-class files
Additionally don't expose plank in libgala
2015-03-04 09:36:08 +01:00
Tom Beckmann
3e417dcfa8 update windowswitcher to use the latest functionality provided in mutter, improve its startup and code structure, add destroy-on-unmanaged properties to WindowIcon and SafeWindowClone 2014-07-19 00:42:06 +02:00
Tom Beckmann
d62757998e remove Gee as a depedency for libgala, use GVariant instead of GValue for ActivatableComponent.open 2014-08-24 20:34:00 +02:00
Tom Beckmann
894d81f7a3 lib-utils: fix build by making cache cleaning public again 2014-07-18 10:23:38 +02:00
Tom Beckmann
78ecba40bd lib-utils: add docs, drop css utility, make pixbuf cache methods internal 2014-07-18 10:07:12 +02:00
Tom Beckmann
56688c04cf lib: drop unused symbol, update regions after freeze_track is disabled, don't expose X or Bamf to the API 2014-07-18 09:44:04 +02:00
Rico Tzschichholz
8e24266c28 Some minor clean up 2014-07-18 07:37:33 +02:00