mirror of
https://github.com/elementary/gala.git
synced 2024-10-05 19:27:25 +03:00
Fixed moving windows between workspace, added temporary shortcut for workspace view
This commit is contained in:
parent
3fc7c5d689
commit
a911b03e3d
@ -81,6 +81,10 @@ namespace Gala
|
||||
} catch (Error e) { warning (e.message); }
|
||||
});
|
||||
|
||||
KeyBinding.set_custom_handler ("show-desktop", () => {
|
||||
workspace_view.show ();
|
||||
});
|
||||
|
||||
KeyBinding.set_custom_handler ("switch-windows", winswitcher.handle_switch_windows);
|
||||
KeyBinding.set_custom_handler ("switch-windows-backward", winswitcher.handle_switch_windows);
|
||||
|
||||
@ -89,10 +93,10 @@ namespace Gala
|
||||
KeyBinding.set_custom_handler ("switch-to-workspace-left", wswitcher.handle_switch_to_workspace);
|
||||
KeyBinding.set_custom_handler ("switch-to-workspace-right", wswitcher.handle_switch_to_workspace);
|
||||
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-left", () => {});
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-right", () => {});
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-up", (d, s, w) => move_window (w, true) );
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-down", (d, s, w) => move_window (w, false) );
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-up", () => {});
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-down", () => {});
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-left", (d, s, w) => move_window (w, true) );
|
||||
KeyBinding.set_custom_handler ("move-to-workspace-right", (d, s, w) => move_window (w, false) );
|
||||
|
||||
/*shadows*/
|
||||
ShadowFactory.get_default ().set_params ("normal", true, {30, -1, 0, 35, 120});
|
||||
|
@ -20,7 +20,7 @@ namespace Gala
|
||||
public class Settings : Granite.Services.Settings
|
||||
{
|
||||
public bool attach_modal_dialogs { get; set; }
|
||||
public string[] button_layout { get; set; }
|
||||
public string button_layout { get; set; }
|
||||
public bool edge_tiling { get; set; }
|
||||
public bool enable_animations { get; set; }
|
||||
public string panel_main_menu_action { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user