WindowOverview: Use button_release_event (#1593)

This commit is contained in:
Leo 2023-03-29 16:22:36 +09:00 committed by GitHub
parent e9d53701af
commit 726bf097be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ public class Gala.WindowOverview : Clutter.Actor, ActivatableComponent {
}
}
public override bool button_press_event (Clutter.ButtonEvent event) {
public override bool button_release_event (Clutter.ButtonEvent event) {
if (event.button == Gdk.BUTTON_PRIMARY) {
close ();
}