Skip to content

Commit 2a70107

Browse files
authored
Merge branch 'main' into lenemter/screenshot-manager
2 parents b6ff10b + 968de64 commit 2a70107

File tree

9 files changed

+40
-638
lines changed

9 files changed

+40
-638
lines changed

daemon/DBus.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
public enum Gala.ActionType {
77
NONE = 0,
8-
SHOW_WORKSPACE_VIEW,
8+
SHOW_MULTITASKING_VIEW,
99
MAXIMIZE_CURRENT,
1010
HIDE_CURRENT,
1111
OPEN_LAUNCHER,

lib/Plugin.vala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ namespace Gala {
1919
public enum PluginFunction {
2020
ADDITION,
2121
WINDOW_SWITCHER,
22-
WORKSPACE_VIEW,
2322
WINDOW_OVERVIEW
2423
}
2524

lib/WindowManager.vala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Gala {
2525

2626
public enum ActionType {
2727
NONE = 0,
28-
SHOW_WORKSPACE_VIEW,
28+
SHOW_MULTITASKING_VIEW,
2929
MAXIMIZE_CURRENT,
3030
HIDE_CURRENT,
3131
OPEN_LAUNCHER,
@@ -125,11 +125,6 @@ namespace Gala {
125125
*/
126126
public abstract Meta.BackgroundGroup background_group { get; protected set; }
127127

128-
/**
129-
* View that allows to see and manage all your windows and desktops.
130-
*/
131-
public abstract Gala.ActivatableComponent workspace_view { get; protected set; }
132-
133128
/**
134129
* Enters the modal mode, which means that all events are directed to the stage instead
135130
* of the windows. This is the only way to receive keyboard events besides shortcut listeners.

src/Gestures/GestureBackend.vala

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright 2025 elementary, Inc. (https://elementary.io)
3+
* SPDX-License-Identifier: GPL-3.0-or-later
4+
*
5+
* Authored by: Leonhard Kargl <[email protected]>
6+
*/
7+
8+
public interface Gala.GestureBackend : Object {
9+
public signal bool on_gesture_detected (Gesture gesture, uint32 timestamp);
10+
public signal void on_begin (double delta, uint64 time);
11+
public signal void on_update (double delta, uint64 time);
12+
public signal void on_end (double delta, uint64 time);
13+
14+
public virtual void prepare_gesture_handling () { }
15+
16+
/**
17+
* The gesture should be cancelled. The implementation should stop emitting
18+
* signals and reset any internal state. In particular it should not emit on_end.
19+
* The implementation has to make sure that any further events from the same gesture will
20+
* will be ignored. Once the gesture ends a new gesture should be treated as usual.
21+
*/
22+
public virtual void cancel_gesture () { }
23+
}

src/Gestures/GesturePropertyTransition.vala

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)