mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 03:44:16 +00:00
Process the new CloseApp event from laf
This commit is contained in:
parent
a1e013f4a7
commit
017a7320f9
2
laf
2
laf
@ -1 +1 @@
|
||||
Subproject commit 39ff91256cc64808bcf735c6d755a1746f841b3a
|
||||
Subproject commit 858e39c5eee871d940bba47edaf81c19b5976474
|
@ -377,6 +377,14 @@ void Manager::generateMessagesFromOSEvents()
|
||||
|
||||
switch (osEvent.type()) {
|
||||
|
||||
case os::Event::CloseApp: {
|
||||
Message* msg = new Message(kCloseDisplayMessage);
|
||||
msg->setRecipient(this);
|
||||
msg->setPropagateToChildren(true);
|
||||
enqueueMessage(msg);
|
||||
break;
|
||||
}
|
||||
|
||||
case os::Event::CloseDisplay: {
|
||||
Message* msg = new Message(kCloseDisplayMessage);
|
||||
msg->setRecipient(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user