mirror of
https://github.com/elementary/gala.git
synced 2024-12-01 03:34:04 +03:00
windowthumb: use button-release-event instead of button-press-event to catch problems with unintentional clicks that happen after the modal mode is exited and the release happens
This commit is contained in:
parent
cfbef3f2b3
commit
3135b6fdfd
@ -131,7 +131,7 @@ namespace Gala
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool button_press_event (ButtonEvent event)
|
||||
public override bool button_release_event (ButtonEvent event)
|
||||
{
|
||||
switch (event.button) {
|
||||
case 1:
|
||||
|
Loading…
Reference in New Issue
Block a user