Skip to content

Commit

Permalink
Merge branch 'main' into leolost/force-kill-with-control
Browse files Browse the repository at this point in the history
  • Loading branch information
zeebok committed Aug 18, 2024
2 parents 5c8c3db + 7b54a78 commit 0233ac2
Show file tree
Hide file tree
Showing 238 changed files with 7,211 additions and 11,593 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Gettext Updates

on:
push:
branches: [master]
branches: [main]

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Release

on:
pull_request:
branches: [master]
branches: [main]
types: [closed]

jobs:
release:
runs-on: ubuntu-22.04
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ A window & compositing manager based on libmutter and designed by elementary for
## Building, Testing, and Installation

You'll need the following dependencies:
* meson
* gettext (>= 0.19.6)
* gsettings-desktop-schemas-dev
* libcanberra-dev
* libclutter-1.0-dev (>= 1.12.0)
* libgee-0.8-dev
* libglib2.0-dev (>= 2.44)
* libglib2.0-dev (>= 2.74)
* libgnome-desktop-3-dev
* libgranite-dev (>= 5.4.0)
* libgtk-3-dev (>= 3.10.0)
* libmutter-10-dev (>= 42.0) | libmutter-dev (>= 3.18.3)
* libxml2-utils
* meson (>= 0.59.0)
* valac (>= 0.46.0)

Run `meson build` to configure the build environment. Change to the build directory and run `ninja` to build
Expand Down
19 changes: 0 additions & 19 deletions build-aux/meson/post_install.py

This file was deleted.

165 changes: 0 additions & 165 deletions data/gala.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
<value nick="switch-to-workspace-next" value="9" />
<value nick="switch-to-workspace-last" value="10" />
</enum>
<enum id="GalaWindowOverviewType">
<value nick='grid' value='0'/>
<value nick='natural' value='1'/>
</enum>

<schema path="/io/elementary/desktop/screensaver/" id="io.elementary.desktop.screensaver">
<key type="b" name="lock-on-suspend">
Expand All @@ -40,11 +36,6 @@
<summary>Action for the top left corner</summary>
<description></description>
</key>
<key enum="GalaWindowOverviewType" name="window-overview-type">
<default>'grid'</default>
<summary>Algorithm for window overview layout</summary>
<description>Choose the algorithm used for exposing the windows.</description>
</key>
<key enum="GalaActionType" name="hotcorner-topright">
<default>"none"</default>
<summary>Action for the top right corner</summary>
Expand All @@ -70,16 +61,6 @@
followed by a ':' and then the command. ';;' is used as delimiter between command definitions.
</description>
</key>
<key type="b" name="edge-tiling">
<default>true</default>
<summary>Enable edge tiling when dropping windows on screen edges</summary>
<description>If enabled, dropping windows on vertical screen edges maximizes them vertically and resizes them horizontally to cover half of the available area. Dropping windows on the top screen edge maximizes them completely.</description>
</key>
<key type="b" name="use-new-notifications">
<default>true</default>
<summary>If new notifications should be used</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="s" name="panel-main-menu-action">
<default>''</default>
<summary>Panel main menu action</summary>
Expand All @@ -95,16 +76,6 @@
<summary></summary>
<description></description>
</key>
<key type="b" name="dynamic-workspaces">
<default>true</default>
<summary>Enable dynamic workspace instead of static ones</summary>
<description>Use a dynamically increasing or decreasing number, as needed, of workspaces instead of a static, fixed number.</description>
</key>
<key type="as" name="dock-names">
<default><![CDATA[['docky', 'Docky', 'plank']]]></default>
<summary>Names that are recognized as dock windows for the window switcher</summary>
<description>When launching the window-switcher, Gala iterates over this list and attempts to find a window matching the names. If it does, it will hide this window and fade it back in, once the the switcher is closed.</description>
</key>
<key type="b" name="move-maximized-workspace">
<default>false</default>
<summary>Automatically move maximized windows to a new workspace</summary>
Expand Down Expand Up @@ -155,11 +126,6 @@
<default><![CDATA[['<Super>minus', '<Super>KP_Subtract']]]></default>
<summary>Zoom out</summary>
</key>
<key type="as" name="expose-windows">
<default><![CDATA[['']]]></default>
<summary>DEPRECATED: This key is deprecated and ignored</summary>
<description></description>
</key>
<key type="as" name="expose-all-windows">
<default><![CDATA[['<Super>a']]]></default>
<summary>Shortcut to open the window overview for all windows</summary>
Expand Down Expand Up @@ -218,143 +184,12 @@
</key>
</schema>

<schema path="/org/pantheon/desktop/gala/appearance/" id="org.pantheon.desktop.gala.appearance">
<key type="b" name="attach-modal-dialogs">
<default>false</default>
<summary>Attach modal dialogs</summary>
<description>When true, instead of having independent titlebars, modal dialogs appear attached to the titlebar of the parent window and are moved together with the parent window.</description>
</key>
<key type="s" name="button-layout">
<default>'close:maximize'</default>
<summary>Arrangement of buttons on the titlebar</summary>
<description>Arrangement of buttons on the titlebar. The value should be a string, such as "menu:minimize,maximize,spacer,close"; the colon separates the left corner of the window from the right corner, and the button names are comma-separated. Duplicate buttons are not allowed. Unknown button names are silently ignored so that buttons can be added in future metacity versions without breaking older versions. A special spacer tag can be used to insert some space between two adjacent buttons.</description>
</key>
<key type="d" name="alt-tab-window-opacity">
<range min="0.0" max="1.0"/>
<default>0.0</default>
<summary>The opacity of windows behind the window switcher.</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="s" name="workspace-switcher-background">
<default>''</default>
<summary>DEPRECATED: This key is deprecated and ignored.</summary>
</key>
</schema>

<schema path="/org/pantheon/desktop/gala/animations/" id="org.pantheon.desktop.gala.animations">
<key type="b" name="enable-animations">
<default>true</default>
<summary>Enable Animations</summary>
<description>Whether animations should be displayed. Note: This is a global key, it changes the behaviour of the window manager, the panel etc.</description>
</key>
<key type="i" name="open-duration">
<default>350</default>
<summary>Duration of the open animation</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="i" name="snap-duration">
<default>250</default>
<summary>Duration of the snap animation as used by maximize/unmaximize</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="i" name="close-duration">
<default>195</default>
<summary>Duration of the close animation</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="i" name="minimize-duration">
<default>200</default>
<summary>Duration of the minimize animation</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="i" name="workspace-switch-duration">
<default>300</default>
<summary>Duration of the workspace switch animation</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="i" name="menu-duration">
<default>150</default>
<summary>Duration of the menu mapping animation</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
</schema>

<schema path="/org/pantheon/desktop/gala/shadows/" id="org.pantheon.desktop.gala.shadows">
<key type="as" name="normal-focused">
<default>['20', '-1', '0', '15', '100']</default>
<summary>Defines the shadow of normal focused windows</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="as" name="normal-unfocused">
<default>['6', '-1', '0', '4', '80']</default>
<summary>Defines the shadow of a normal unfocused window</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="as" name="menu">
<default>['6', '-1', '0', '4', '80']</default>
<summary>Defines the shadow of a menu</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="as" name="dialog-focused">
<default>['12', '-1', '0', '4', '100']</default>
<summary>Defines the shadow of a focused dialog</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="as" name="dialog-unfocused">
<default>['6', '-1', '0', '4', '80']</default>
<summary>Defines the shadow of an unfocused dialog</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
</schema>

<schema path="/org/pantheon/desktop/gala/notifications/" id="org.pantheon.desktop.gala.notifications">
<key type="b" name="do-not-disturb">
<default>false</default>
<summary>Disable all notifications</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<child name="applications" schema="org.pantheon.desktop.gala.notifications.application" />
</schema>

<schema id="org.pantheon.desktop.gala.notifications.application">
<key type="b" name="bubbles">
<default>true</default>
<summary>Enable bubbles</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="b" name="sounds">
<default>true</default>
<summary>Enable sounds</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
<key type="b" name="remember">
<default>true</default>
<summary>Show missed notifications in notification center</summary>
<description>DEPRECATED: This key is deprecated and ignored.</description>
</key>
</schema>

<schema path="/org/pantheon/desktop/gala/mask-corners/" id="org.pantheon.desktop.gala.mask-corners">
<key type="b" name="enable">
<default>true</default>
<summary>Enable rounded corner mask</summary>
<description>DEPRECATED: This setting is no longer used</description>
</key>
<key type="i" name="corner-radius">
<default>4</default>
<range min="1" max="32"/>
<summary>Corner radius</summary>
<description>DEPRECATED: This setting is no longer used</description>
</key>
<key type="b" name="disable-on-fullscreen">
<default>true</default>
<summary>Disable corner mask on fullscreen</summary>
<description>DEPRECATED: This setting is no longer used</description></key>
<key type="b" name="only-on-primary">
<default>false</default>
<summary>Only show corner masks on primary monitor</summary>
<description>DEPRECATED: This setting is no longer used</description>
</key>
</schema>

<enum id="GesturePinch">
Expand Down
60 changes: 39 additions & 21 deletions data/gala.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,45 @@
<update_contact>contact_at_elementary.io</update_contact>

<releases>
<release version="8.0.0" date="2024-07-18" urgency="medium">
<description>
<p>Improvements:</p>
<ul>
<li>Improve keyboard navigation in Multitasking View</li>
<li>Change panel color at the same time as wallpaper transition</li>
<li>Updated translations</li>
</ul>
</description>
<issues>
<issue url="https://github.com/elementary/gala/issues/6">Can't navigate open windows with keyboard when doing Super+A</issue>
<issue url="https://github.com/elementary/gala/issues/297">Add an API to remember window position</issue>
<issue url="https://github.com/elementary/gala/issues/348">UX: It's too easy to trigger the action "Close All Windows in Workspace" when switching between workspaces with mouse</issue>
<issue url="https://github.com/elementary/gala/issues/765">The notifications appear on the right side, they should be in Arabic on the left</issue>
<issue url="https://github.com/elementary/gala/issues/927">Workspace bump animation on non-primary display</issue>
<issue url="https://github.com/elementary/gala/issues/979">Add gesture to switch between windows on a touchpad</issue>
<issue url="https://github.com/elementary/gala/issues/1287">Visual artifacts when swiping workspaces with touchpad</issue>
<issue url="https://github.com/elementary/gala/issues/1317">Add a Gesture option to scroll and switch between open windows, similar to Alt Tab</issue>
<issue url="https://github.com/elementary/gala/issues/1377">API for launching or switching a particular app ID</issue>
<issue url="https://github.com/elementary/gala/issues/1545">Draw rounded corners on workspaces in multitasking view</issue>
<issue url="https://github.com/elementary/gala/issues/1648">Option to Disable/Enable Hot Corners</issue>
<issue url="https://github.com/elementary/gala/issues/1657">Window switcher mouse interaction issue</issue>
<issue url="https://github.com/elementary/gala/issues/1727">opening multitasking view can crash gala</issue>
<issue url="https://github.com/elementary/gala/issues/1796">Blur wallpaper behind multitasking view</issue>
<issue url="https://github.com/elementary/gala/issues/1799">Last gap in the rightmost workspace has it size doubled when revealed using gestures</issue>
<issue url="https://github.com/elementary/gala/issues/1813">Primary monitor grey background</issue>
<issue url="https://github.com/elementary/gala/issues/1815">Grey lines on primary monitor top and bottom</issue>
<issue url="https://github.com/elementary/gala/issues/1823">API for display labels</issue>
<issue url="https://github.com/elementary/gala/issues/1824">add support for libmutter-14</issue>
<issue url="https://github.com/elementary/gala/issues/1826">Missing gala-daemon systemd service</issue>
<issue url="https://github.com/elementary/gala/issues/1834">WindowSwitcher doesn't use accent color anymore</issue>
<issue url="https://github.com/elementary/gala/issues/1841">Changing wallpaper makes the background go grey</issue>
<issue url="https://github.com/elementary/gala/issues/1965">Launch Dock on X11</issue>
<issue url="https://github.com/elementary/gala/issues/1978">Bounce window when focusing an already focused window</issue>
<issue url="https://github.com/elementary/gala/issues/2011">Meta.Window.begin_grab_op is broken</issue>
<issue url="https://github.com/elementary/gala/issues/2014">Taking screenshots is completely broken</issue>
</issues>
</release>

<release version="7.1.3" date="2023-11-09" urgency="medium">
<description>
<p>Improvements:</p>
Expand Down Expand Up @@ -96,18 +135,6 @@
</release>

<release version="7.0.3" date="2023-05-01" urgency="medium">
<description>
<p>Improvements:</p>
<ul>
<li>Set the keyboard layout correctly at startup so that the indicator matches the selected layout</li>
<li>Fix screenshot keyboard shortcuts while in Multitasking View</li>
<li>Correctly set the active workspace highlight when entering Multitasking View and animate 1:1 with multitouch gestures</li>
<li>Update panel color after dimming the wallpaper</li>
<li>Scale rounded corners per-display</li>
<li>Support fractional scaling</li>
<li>Updated translations</li>
</ul>
</description>
<issues>
<issue url="https://github.com/elementary/gala/issues/124">Navigate with arrow keys while holding ALT+TAB</issue>
<issue url="https://github.com/elementary/gala/issues/508">Multitasking View open/close doesn't respect animations key</issue>
Expand All @@ -121,15 +148,6 @@
</release>

<release version="7.0.2" date="2023-04-03" urgency="medium">
<description>
<p>Improvements:</p>
<ul>
<li>Performance improvements</li>
<li>Remove texture from Multitasking View</li>
<li>Avoid accidentally selecting windows in the window switcher</li>
<li>Updated translations</li>
</ul>
</description>
<issues>
<issue url="https://github.com/elementary/gala/issues/705">Notification windows don't appear in multitasking</issue>
<issue url="https://github.com/elementary/gala/issues/743">Keyboard media controls do not work when in "Show all windows" view</issue>
Expand Down
2 changes: 1 addition & 1 deletion data/io.elementary.desktop.wm.shell
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ launch-on-x=true
args=io.elementary.wingpanel

[io.elementary.dock]
launch-on-x=false
launch-on-x=true
args=io.elementary.dock
10 changes: 0 additions & 10 deletions lib/Utils.vala
Original file line number Diff line number Diff line change
Expand Up @@ -400,15 +400,5 @@ namespace Gala {

return texture;
}

private static Gtk.CssProvider gala_css = null;
public static unowned Gtk.CssProvider? get_gala_css () {
if (gala_css == null) {
gala_css = new Gtk.CssProvider ();
gala_css.load_from_resource ("/io/elementary/desktop/gala/gala.css");
}

return gala_css;
}
}
}
Loading

0 comments on commit 0233ac2

Please sign in to comment.