Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions lib/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
//

namespace Gala {
namespace ActionKeys {
public const string INTERACTIVE_SCREENSHOT_ACTION = "interactive-screenshot-action";
public const string OVERLAY_ACTION = "overlay-action";
public const string PANEL_MAIN_MENU_ACTION = "panel-main-menu-action";
public const string TOGGLE_RECORDING_ACTION = "toggle-recording-action";
}

public enum ActionType {
NONE = 0,
SHOW_MULTITASKING_VIEW,
Expand Down Expand Up @@ -171,5 +178,12 @@ namespace Gala {
* @param direction The direction in which to switch
*/
public abstract void switch_to_next_workspace (Meta.MotionDirection direction, uint32 timestamp);

/**
* Gets action command from gsettings and executes it.
*
* @param action_key The gsettings key of action. Available keys are stored in ActionKeys
*/
public abstract void launch_action (string action_key);
}
}
Loading