Commit Graph

1187 Commits

Author SHA1 Message Date
Peter Uithoven
395670ec3d Fixed saving screenshot to clipboard (#481)
Fixed: #474
2019-03-02 02:12:16 +01:00
Peter Uithoven
6da349e939 windowswitcher: Update scale factor when updating dock (#471) 2019-02-27 17:54:09 +01:00
Rico Tzschichholz
1a96644c6a po: Update translations 2019-02-09 22:24:15 +01:00
liamkinne
bedd70d621 pip: Change popup location to bottom right (#438) 2019-02-08 14:25:49 +01:00
Peter Uithoven
dca99e0c0b Tile switching fix for position only changes (#387)
Looks like the size_change isn't called when switching directly between
tile positions using the keyboard. Because the size isn't changed, but
position_changed is emitted.
2019-02-07 19:36:59 +01:00
Peter Uithoven
df0022c4b8 Allow to cancel screenshot when pressing ESC (#463) 2019-02-07 17:02:37 +01:00
Adam Bieńkowski
bbd5963da5 Do not block stage drawing when saving the screenshots (#460) 2019-02-07 09:24:25 +01:00
Rico Tzschichholz
9493139c78
screenshotmanager: Only create non-existing "Screenshots" subfolder in PICTURES (#462) 2019-02-06 13:47:17 +01:00
Peter Uithoven
74e7541c2b
Save screenshots to (self created) screenshots folder (#459)
* Save screenshots to (self created) screenshots folder

* Fallback to pictures folder

* Explicitly forwarding error
2019-02-06 01:15:02 +01:00
Adam Bieńkowski
6654145bb2 ScreenshotManager: implement flash_area and handle flash parameter (#147) 2019-01-28 02:17:58 -06:00
Corentin Noël
fe52fb1288 data: Add gala.css and texture.png to GResource 2019-01-23 21:58:01 +01:00
David Hewitt
7f1e392e03 Restore daemon watch (#429)
This was accidentally removed in #330 and is the major reason
why window menus aren't appearing.
2018-12-16 01:36:35 +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
Rico Tzschichholz
a2a4683b01 po: Update translation template 2018-11-14 16:44:10 +01:00
Corentin Noël
f44e95d8a9 Update travis to juno unstable 2018-11-09 08:40:48 +01:00
Rico Tzschichholz
c9c6338d0d Fix type-argument mismatches of GLib.(S)List variables found by newer valac 2018-11-08 14:26:35 +01:00
Allan Nordhøy
be16d4a0cb gschema.xml: remove trailing period from key description (#265) 2018-10-25 09:53:13 -07: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
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
Felipe Escoto
feffbf8a93 Fixed: closed windows being selectable with PIP (#355) 2018-10-04 00:23:10 +02:00
Daniel Foré
9747bd6173 Update multitasking-view icons to latest elementary palette (#336) 2018-09-17 16:54:34 -06:00
Daniel Foré
331404ebb4 Make close and resize buttons darker (#337) 2018-09-17 16:54:21 -06:00
David Hewitt
1970bac81e Use separate daemon to display GTK window menus (#179)
* Use separate process to create window menus

* Reduce line count with code style changes

* Fix some formatting

* Code style fixes

* Prevent menu closing instantly after open

* Resolve warnings in new code

* Remove GLib namespace prefix from exceptions

* Update main.vala

* Remove timeout by positioning the menu outside of the mouse pos

* daemon: Use lambda as popup callback

* io.elementary.gala -> org.pantheon.gala

* org.pantheon.gala.daemon -> gala-daemon

* Clean up

* Fix daemon object path

* Some cleaning
2018-09-10 16:16:52 -06:00
Adam Bieńkowski
2995cd6495 Implement org.gnome.SessionManager.EndSessionManager (#314)
... and forward DBus calls to the session indicator of wingpanel
2018-09-10 15:27:14 +02:00
Rico Tzschichholz
d38aed64e7 Silence a few valac warnings regarding error-handling of DBus methods 2018-09-10 14:45:42 +02:00
Julian Raschke
4ce4b83bce Adjust y position of wallpapers during workspace transition (#327) 2018-09-10 14:18:02 +02:00
David Hewitt
678e361896 Don't remove workspaces for sticky windows (#331) 2018-09-10 14:12:58 +02:00
Corentin Noël
15f722ac8f Render shadows using Gtk (#250)
* Render shadows using Gtk

* Do only apply shadow on fullscreen/maximized windows

* Add per-workspace style-class

* update shadow values

* Disconnect signals
2018-07-28 19:59:03 -06: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
Adam Bieńkowski
6bdc718832 multitaskingview: Fix adding last workspace animation (#281)
Fixes a weird animation when moving an app from one workspace
to the last one caused by initially not positioned new workspace
clone that's being added.
This is actually an easy fix that just tells that update_position
should not animate the position of the workspace when a workspace
is added.
2018-07-10 08:27:57 +02:00
JosephMcc
953c7ad58e windowlistener: Don't bail out of window_maximized_changed (#288)
The unmaximized_state_geometry is being reset when a window is
unmaximized. This causes the tile animation to break when it
follows a maximize/unmaximize because the old information is
being used.
2018-07-10 08:24:35 +02:00
Daniel Foré
8e142b9ef9 Update POT and PO files 2018-06-27 10:30:00 -07:00
Corentin Noël
985baa08bd Ensure that the correct workspaces are removed (#269) 2018-06-07 22:15:53 +02:00
Adam Bieńkowski
3661cbd77a Fix selection area appearing in screenshots (#214)
Waits for the stage to repaint before returning from SelectArea.
This makes the combination of methods like SelectArea and
ScreenshotArea work correctly, as previously the selection area
actor was removed from the stage but the caller
(org.gnome.SettingsDaemon.MediaKeys) called ScreenshotArea
immediately so the stage didn't have any time to redraw itself.
2018-06-03 10:21:06 +02:00
Allan Nordhøy
f20e8c4a89 Fix some grammar and spelling issues 2018-06-03 10:14:13 +02:00
Rico Tzschichholz
be1729d592 Add support for mutter 3.29 2018-06-03 10:02:59 +02:00
Rico Tzschichholz
ad11cbc29e vapi: Update mutter bindings to 3.28.2 2018-06-03 09:53:45 +02:00
David Hewitt
da1cd0efb7 Add HiDPI support for Workspace Switcher (#242)
Based on previous work of Adam Bieńkowski
2018-06-03 09:05:12 +02:00
Adam Bieńkowski
4d4c18f570 Expose keep-below windows (#162)
Creates a little animation when a bottom-stack window appears
on the stage: fades out all the windows except the keep-below
window, and animates it's scale to highlight it more.
2018-06-03 08:16:34 +02:00
Corentin Noël
96f7799533 Fix old maximize not being destroyed 2018-06-03 07:56:27 +02:00
Corentin Noël
48d63995b9 Prevent the use of a null current_window 2018-06-03 07:55:54 +02:00
Felipe Escoto
60478f3281 Fix switching workspaces and maximizing a window distorts it (#58)
Use the previously unused maximized and unmaximized lists to keep track
of which windows are being animated. Remove animations in
end_switch_workspace to prevent window breakage.

https://bugs.launchpad.net/gala/+bug/1602722
2018-05-16 07:58:01 +02:00
Adam Bieńkowski
f02b776d95 Provide action to switch to the last workspace (#229) 2018-05-01 19:59:11 +02:00
Adam Bieńkowski
f1a491753a Dont move single window from last workspace to a new one (#240)
Fix incorrect counting of windows when moving window to a new workspace.
2018-04-30 08:03:16 +02:00
Adam Bieńkowski
a15dc07379 Wait for Window.size_changed signal to fix maximize/minimize animations (#239)
The window's frame_rect, which we were using, was not updated yet.
2018-04-30 06:27:13 +02:00
Rico Tzschichholz
a71e8c137b lib: Add missing datarootdir in pkg-config file 2018-03-18 17:06:21 +01:00
Rico Tzschichholz
b4537f321a po: Patch 'decreseasing' typo 2018-03-18 16:25:29 +01:00
Rico Tzschichholz
568aa18ad7 po: Regenerated gala.pot 2018-03-18 16:25:29 +01:00
Rico Tzschichholz
a778c22503 meson: Add some gettext args to prettify generated pot 2018-03-18 16:25:29 +01:00