Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
budgie-desktop: Fix regressions from 10.9 (#1876)
**Summary** - Fix Budgie Run Dialog appearing in the tasklist - Fix window icons not switching workspace when clicked in the workspace switcher Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net> **Test Plan** I've been running Budgie Desktop with these patches for a few weeks now. **Checklist** - [x] Package was built and tested against unstable
- Loading branch information
Showing
4 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
packages/b/budgie-desktop/files/fix-run-dialog-in-tasklist.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 3bcd2fff2e2e78349c1629ef9a4fd28d8296b834 Mon Sep 17 00:00:00 2001 | ||
From: Joshua Strobl <me@joshuastrobl.com> | ||
Date: Tue, 6 Feb 2024 22:34:06 +0200 | ||
Subject: [PATCH] fix: set budgie run dialog to skip pager and taskbar | ||
|
||
fixes #529 | ||
--- | ||
src/dialogs/run/RunDialog.vala | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/src/dialogs/run/RunDialog.vala b/src/dialogs/run/RunDialog.vala | ||
index 5138e50a5..faa3be5c0 100644 | ||
--- a/src/dialogs/run/RunDialog.vala | ||
+++ b/src/dialogs/run/RunDialog.vala | ||
@@ -44,6 +44,8 @@ namespace Budgie { | ||
construct { | ||
set_keep_above(true); | ||
set_position(Gtk.WindowPosition.CENTER); | ||
+ set_skip_pager_hint(true); | ||
+ set_skip_taskbar_hint(true); | ||
Gdk.Visual? visual = screen.get_rgba_visual(); | ||
if (visual != null) { | ||
this.set_visual(visual); |
33 changes: 33 additions & 0 deletions
33
packages/b/budgie-desktop/files/workspace-switcher-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
From 8b4430b6877d2c86acba7d60222875879e3d36a4 Mon Sep 17 00:00:00 2001 | ||
From: Joshua Strobl <me@joshuastrobl.com> | ||
Date: Sat, 3 Feb 2024 21:04:14 +0200 | ||
Subject: [PATCH] fix: workspace applet window icon click not performing | ||
workspace switch | ||
|
||
--- | ||
src/panel/applets/workspaces/WindowIcon.vala | 12 ++++-------- | ||
1 file changed, 4 insertions(+), 8 deletions(-) | ||
|
||
diff --git a/src/panel/applets/workspaces/WindowIcon.vala b/src/panel/applets/workspaces/WindowIcon.vala | ||
index 8995be1ba..a9efc0232 100644 | ||
--- a/src/panel/applets/workspaces/WindowIcon.vala | ||
+++ b/src/panel/applets/workspaces/WindowIcon.vala | ||
@@ -55,14 +55,10 @@ namespace Workspaces { | ||
public override bool button_release_event(Gdk.EventButton event) { | ||
if (event.button != 1) return Gdk.EVENT_STOP; | ||
|
||
- var workspace = WorkspacesApplet.workspace_group.get_active_workspace(); | ||
- if (workspace != null && workspace == window.get_workspace()) { | ||
- try { | ||
- window.activate(event.time); | ||
- } catch (Error e) { | ||
- warning("Failed to activate window: %s", e.message); | ||
- } | ||
- return Gdk.EVENT_STOP; | ||
+ try { | ||
+ window.activate(event.time); | ||
+ } catch (Error e) { | ||
+ warning("Failed to activate window: %s", e.message); | ||
} | ||
return Gdk.EVENT_STOP; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters