mirror of
https://github.com/elementary/gala.git
synced 2024-12-19 07:11:56 +03:00
MultitaskingView: Allow making screenshots of the screen (#1644)
This commit is contained in:
parent
ffe31be93d
commit
4ca08a2b45
@ -68,11 +68,11 @@ namespace Gala {
|
|||||||
flash_actor.set_background_color (Clutter.Color.get_static (Clutter.StaticColor.WHITE));
|
flash_actor.set_background_color (Clutter.Color.get_static (Clutter.StaticColor.WHITE));
|
||||||
flash_actor.set_opacity (0);
|
flash_actor.set_opacity (0);
|
||||||
flash_actor.transitions_completed.connect ((actor) => {
|
flash_actor.transitions_completed.connect ((actor) => {
|
||||||
wm.top_window_group.remove_child (actor);
|
wm.ui_group.remove_child (actor);
|
||||||
actor.destroy ();
|
actor.destroy ();
|
||||||
});
|
});
|
||||||
|
|
||||||
wm.top_window_group.add_child (flash_actor);
|
wm.ui_group.add_child (flash_actor);
|
||||||
flash_actor.add_transition ("flash", transition);
|
flash_actor.add_transition ("flash", transition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -835,6 +835,8 @@ namespace Gala {
|
|||||||
case "switch-to-workspace-last":
|
case "switch-to-workspace-last":
|
||||||
case "zoom-in":
|
case "zoom-in":
|
||||||
case "zoom-out":
|
case "zoom-out":
|
||||||
|
case "screenshot":
|
||||||
|
case "screenshot-clip":
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user