José Expósito
f74d8fdad5
Granite drawing removals ( #1428 )
...
* Drawing: Migrate functions removed from Granite 7
Some drawing utilities used by Gala were removed from Granite 7:
https://github.com/elementary/granite/pull/603
Add them to Gala.
* Drawing: Use drawings functions from Gala instead of Granite
2022-05-22 18:02:45 +00:00
Corentin Noël
9641704ec7
Use Clutter.Grab with Mutter 42 ( #1407 )
2022-04-21 15:33:24 -07:00
Corentin Noël
cdcb87afcb
Update bindings to latest Mutter
...
Update to mutter 42.beta
2022-03-10 11:20:47 +00:00
luzpaz
faac78782c
Fix various typos ( #1310 )
...
* Fix various typos
Found via `codespell -q 3 -S *.po`
* Fix deamon->daemon
Co-authored-by: Jeremy Wootten <jeremy@elementaryos.org>
2021-11-20 16:56:53 +00:00
José Expósito
c99a1d00e7
pip: Place the window in screen on click
...
Show the PiP window when is off screen and the users clicks on it.
2021-08-25 16:31:52 -06:00
José Expósito
143eb26d20
pip: Add multi-monitor support to off screen window
...
Avoid placing the window off screen when it is actually in a different
monitor.
2021-08-25 16:31:52 -06:00
José Expósito
89e13c03d9
pip: Allow to place the window off screen
...
Place the window off screen when the 50% of the window width and/or
height (OFF_SCREEN_VISIBLE_PIXELS) so only OFF_SCREEN_VISIBLE_PIXELS
of the window are visible.
2021-08-25 16:31:52 -06:00
José Expósito
c0ab5dd437
pip: Refactor update_screen_position
...
Move the logic to place the PiP window in a position that is 100%
visible to its own method (place_window_in_screen).
Refactor, no functional changes.
2021-08-25 16:31:52 -06:00
Corentin Noël
4aec79ae0d
Reduce the number of warnings
...
No functional change.
2021-08-18 05:49:00 +00:00
Corentin Noël
87d51c50fb
Add initial support for Mutter 40 ( #980 )
2021-08-16 16:23:46 -06:00
José Expósito
628a47709d
pip: Hide close and resize badges after dragging
...
DragDropAction changes the "reactive" property of the actors it handles.
Make the window reactive when drag & drop finishes.
Fix #1035
2021-07-13 14:23:37 -06:00
José Expósito
7747261b15
Revert "pip: Hide close and resize badges after dragging"
...
This reverts commit 3c47d9dc54
.
2021-07-13 14:23:37 -06:00
José Expósito
3c47d9dc54
pip: Hide close and resize badges after dragging
...
DragDropAction changes the "reactive" property of the actors it handles.
Add the DragDropAction to the PiP window so it keeps being reactive.
Fix #1035
2021-07-10 14:26:40 -06:00
JoseExposito
854059f44c
Move the zoom plugin to the core code
2021-04-02 10:04:00 -07:00
JoseExposito
c617f2e374
Remove old code
2021-03-01 10:25:46 -08:00
Daniel Foré
eb63133eda
Plugins/MaskCorners: Code style cleanups ( #1055 )
2021-02-17 23:16:07 -08:00
Daniel Foré
1aaa95740c
MaskCorners: Use GLib.Settings ( #1046 )
2021-02-10 15:46:05 -07:00
José Expósito
1b152c1d1b
Multi-touch gestures aren't pixel-precise at low speeds + D-Bus ( #1017 )
2021-02-02 12:05:50 -08:00
José Expósito
49d35796d0
#989 : Multi-touch gestures have no upper speed limit ( #1006 )
...
* Initial test
* #989 : Add maximum velocity to gesture update
* Simplify the GestureAnimationDirector moving the min/max times to the constructor
* Fix merge conflict
* Revert change
2021-01-06 14:15:06 -08: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
José Expósito
933ca7bf7f
Multi-touch support ( #983 )
2020-12-16 13:04:52 -08:00
David Hewitt
ebd064f9c8
pip: Remove deprecated Clutter.DragAction ( #968 )
2020-11-16 16:53:06 +01:00
David Hewitt
dd21895437
pip: Use DragDropAction for move ( #959 )
2020-11-09 10:15:00 +01:00
Marius Meisenzahl
e8801734d5
Add feedback if zooming out is not possible ( #884 )
...
* Add feedback if zooming out is not possible
* Main: Cuddle else
Co-authored-by: Daniel Foré <daniel@elementary.io>
2020-07-22 10:07:14 -07:00
Marius Meisenzahl
203e93c4e2
Increase maximum for zoom plugin ( #877 )
2020-07-21 19:50:03 +00:00
Cassidy James Blaede
7573fa7d00
Add editorconfig; fix whitespace ( #881 )
2020-07-20 22:06:57 +02:00
Corentin Noël
a30aeb10df
maskcorners: Do not multiply the same variale again and again. ( #875 )
2020-07-17 10:20:06 -07:00
Felix Andreas
945ea7a8fb
use Gdk.Seat instead of Gdk.DeviceManager ( #872 )
...
Co-authored-by: Daniel Foré <daniel@elementary.io>
2020-07-12 10:56:23 -07:00
Daniel Foré
266bc587e9
MaskCorners: Remove radius setting ( #859 )
2020-06-27 11:17:42 +02:00
Daniel Foré
41d7ab1383
Remove old Notify plugin ( #814 )
...
* Remove old Notify plugin
* missed a spot
2020-05-25 14:23:07 -07:00
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