Commit Graph

136 Commits

Author SHA1 Message Date
David Hewitt
2732d81c22
Mutter 3.36 support (#751) 2020-03-12 23:38:28 +01:00
Corentin Noël
568151d9cf pip: Avoid to keep the Rect as a property
This property is only used internally and can be retreived using the proper accessor.
2020-03-12 11:16:10 +01:00
Corentin Noël
2aa417cdb1 notify: Make it build with Mutter >= 3.30 (#708)
The previous modification didn't took the API changes from 3.30, this commit resolves this issue.
2020-01-15 10:44:25 -08:00
Keli Grubb
346e9f0b96 lint brackets in plugins directory (#699) 2020-01-14 16:44:21 -08:00
Cassidy James Blaede
a127d09a22 Optionally support native notification windows (#552) 2020-01-14 13:59:01 -08:00
Daniel Foré
97cb42fb2d
Convert all tabs to spaces (#684) 2020-01-09 11:26:30 -08:00
Corentin Noël
309d594a16 Use the .metadata to regenerate the .vapi files (#642) 2019-11-21 12:00:52 -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
Peter Uithoven
4a07494ad6 Fix notifications position after DPI switch (#564) 2019-10-30 00:09:21 +01:00
Adam Bieńkowski
3ae100da4b Fix app notification schema not being found (#524) 2019-05-14 14:33:28 +02:00
Peter Uithoven
903bc6c5a1 More usage of Utils.get_ui_scaling_factor() (#477) 2019-05-14 11:20:50 +02:00
Rico Tzschichholz
e50b064254 Constructors of abstract classes should not be public 2019-03-18 14:42:58 +01:00
liamkinne
bedd70d621 pip: Change popup location to bottom right (#438) 2019-02-08 14:25:49 +01:00
Corentin Noël
fe52fb1288 data: Add gala.css and texture.png to GResource 2019-01-23 21:58:01 +01:00
Adam Bieńkowski
66a95e05b6 pip: Don't try to show for destroyed actor (#427)
Fixes a glitch where the appears_focused property would change before the window
got unmanaged and therefore show the PiP window for a split second before closing it. 
We now check if the window actor is still shown and if not, we don't do anything.

Fixes #422
2018-12-05 10:44:19 +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
Julian Raschke
a1bad2672b Nvidia drivers: Refresh background and screen corners (#21) (#330)
* Nvidia drivers: Refresh background and screen corners (#21)

* Fix merge artifacts

* Remove unused GL_VENDOR constant

* Remove unused logind constants

* Cleanup: Turn refresh_backgrounds method into a closure
2018-10-20 10:02:04 -06:00
Felipe Escoto
feffbf8a93 Fixed: closed windows being selectable with PIP (#355) 2018-10-04 00:23:10 +02:00
Rico Tzschichholz
d38aed64e7 Silence a few valac warnings regarding error-handling of DBus methods 2018-09-10 14:45:42 +02:00
JosephMcc
9502677835 PiP: Fix wrong size close button on HiDPI (#294)
Don't resize the button returned by create_close_button ().
2018-07-15 02:00:58 +02:00
Rico Tzschichholz
95aa47d8f4 Drop autotools buildsystem 2018-03-18 16:11:11 +01:00
Rico Tzschichholz
ffcde2a31a meson: Use install_rpath as needed (#200) 2018-03-14 02:46:38 -05:00
Rico Tzschichholz
ded8fd9345 Initial meson support 2018-03-11 19:26:03 +01:00
Adam Bieńkowski
0d291a7b73 pip: only update focus changes when switching from a normal window (#170)
Do not update PiP window visibility when switching from a non-normal
window, that is docks, desktop windows etc. This prevents hiding the
PiP window when e.g: showing a popover from wingpanel.
2018-02-14 21:26:44 +01:00
Adam Bieńkowski
c0eb426f81 pip: Hide the preview when the target window is focused (#166) 2018-01-30 14:59:30 +01:00
Daniel Foré
981eff8442 notify: Fix stroke width and border radius on HiDPI (#92) 2017-10-01 15:47:09 +02:00
Daniel Foré
1e29ce3487 maskcorners: Fix size of radius in HiDPI (#93) 2017-10-01 13:59:36 +02:00
Corentin Noël
9b68c4b664 notify: Make notifications to be HiDPI compatible 2017-09-28 16:47:02 +02:00
donadigo
bb686ff27b pip: Check cursor's coords against window's frame-rect 2017-09-24 10:22:25 +02:00
Adam Bieńkowski
fb8364ca0c pip: Don't include shadows by using window's frame-rect (#74) 2017-09-17 13:07:54 +02:00
Rico Tzschichholz
bcff07504a notify: Avoid ambiguous reference to GLib.Settings 2017-07-22 07:01:39 +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
donadigo
b7bfe3e5de pip: Fix ShadowEffect namespace 2017-07-18 09:25:51 +02:00
Adam Bieńkowski
52678172d3 pip: Add Picture In Picture plugin (#32) 2017-07-16 22:00:23 +02:00
Felipe Escoto
112a261ba3 notify: Check array-length before accessing it 2017-02-20 11:19:06 +01:00
Rico Tzschichholz
0c5b1307bb maskcorners: Add missing license header 2017-01-05 15:03:38 +01: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
e3d683809c notify: Check type of "desktop-entry" hint before retrieving it 2016-08-21 15:43:54 +02:00
Rico Tzschichholz
f136229957 Drop obsolete VALA_0_26 conditionals 2016-08-04 22:00:06 +02:00
Rico Tzschichholz
cf82dd5ca9 Guard usage of actors retrieved from Meta.Compositor.get_window_actors()
Ignore an actor if is_destroyed() is true to avoid using them in an
unstable state.
2016-08-04 09:37:29 +02:00
Adam Bieńkowski
246dead5dc notify: freeze track of notifications area only when a notification animation is happening 2016-07-29 00:19:16 +02:00
felescoto95@hotmail.com
b8e1a694c1 NotifyServer: use app_id as key for notification settings with gala-other as the fallback
The included .desktop file allows switchboard-plug-notifications to control notifications from applications using the outdated method for sending them
2016-07-14 15:04:44 -05:00
Rico Tzschichholz
5dfa702811 Use clutter methods instead of properties if useful 2015-11-12 09:25:27 +01:00
Daniel Foré
35f39f8a5e notify: don't force symbolic icons 2015-11-16 11:48:30 -08:00
Rico Tzschichholz
2fe0fbadf7 Drop support for mutter < 3.14.4 2015-11-11 20:56:40 +01:00
Rico Tzschichholz
64ce43d990 Use built-in Clutter methods. 2015-10-22 16:57:27 +02:00
Corentin Noël
28b34f62c4 Removed deprecation warnings. 2015-10-18 23:56:40 +02:00
LemonBoy
c7bc6df28f notify: Color the symbolic icons using the text foreground color. 2015-10-09 18:39:15 +02:00