mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 23:02:14 +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_opacity (0);
|
||||
flash_actor.transitions_completed.connect ((actor) => {
|
||||
wm.top_window_group.remove_child (actor);
|
||||
wm.ui_group.remove_child (actor);
|
||||
actor.destroy ();
|
||||
});
|
||||
|
||||
wm.top_window_group.add_child (flash_actor);
|
||||
wm.ui_group.add_child (flash_actor);
|
||||
flash_actor.add_transition ("flash", transition);
|
||||
}
|
||||
|
||||
|
@ -835,6 +835,8 @@ namespace Gala {
|
||||
case "switch-to-workspace-last":
|
||||
case "zoom-in":
|
||||
case "zoom-out":
|
||||
case "screenshot":
|
||||
case "screenshot-clip":
|
||||
return false;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user