Skip to content

Commit

Permalink
Merge branch 'master' into leolost/workspace-switch-float-docks
Browse files Browse the repository at this point in the history
  • Loading branch information
zeebok authored Apr 15, 2024
2 parents c466566 + 5c68c1f commit b30c920
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- version: unstable
mutter_pkg: libmutter-10-dev
- version: development-target
mutter_pkg: libmutter-13-dev
mutter_pkg: libmutter-14-dev
container:
image: ghcr.io/elementary/docker:${{ matrix.version }}

Expand Down
2 changes: 0 additions & 2 deletions src/HotCorners/Barrier.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class Gala.Barrier : Meta.Barrier {
* the barrier to trigger again. Set to int.MAX to disallow retrigger.
*/
public Barrier (
Meta.Display display,
int x1,
int y1,
int x2,
Expand All @@ -38,7 +37,6 @@ public class Gala.Barrier : Meta.Barrier {
int retrigger_delay
) {
Object (
display: display,
x1: x1,
y1: y1,
x2: x2,
Expand Down
4 changes: 2 additions & 2 deletions src/HotCorners/HotCorner.vala
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ public class Gala.HotCorner : Object {
var hdir = get_barrier_direction (hot_corner_position, Clutter.Orientation.HORIZONTAL);

vertical_barrier = new Gala.Barrier (
display, vrect.x, vrect.y, vrect.x + vrect.width, vrect.y + vrect.height, vdir,
vrect.x, vrect.y, vrect.x + vrect.width, vrect.y + vrect.height, vdir,
TRIGGER_PRESSURE_THRESHOLD,
RELEASE_PRESSURE_THRESHOLD,
RETRIGGER_PRESSURE_THRESHOLD,
RETRIGGER_DELAY
);

horizontal_barrier = new Gala.Barrier (
display, hrect.x, hrect.y, hrect.x + hrect.width, hrect.y + hrect.height, hdir,
hrect.x, hrect.y, hrect.x + hrect.width, hrect.y + hrect.height, hdir,
TRIGGER_PRESSURE_THRESHOLD,
RELEASE_PRESSURE_THRESHOLD,
RETRIGGER_PRESSURE_THRESHOLD,
Expand Down

0 comments on commit b30c920

Please sign in to comment.