projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf0cdc
)
repeat baf0cdcbef1 but for BaseUI, thus covering all control protocols
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 5 Jan 2020 18:40:59 +0000
(11:40 -0700)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 5 Jan 2020 18:40:59 +0000
(11:40 -0700)
libs/pbd/base_ui.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/base_ui.cc
b/libs/pbd/base_ui.cc
index 1ea3fdc993dee62014f957712411efe9fc37a560..2ea27a0652bdb3055edd1afc934afb94042cc3d2 100644
(file)
--- a/
libs/pbd/base_ui.cc
+++ b/
libs/pbd/base_ui.cc
@@
-136,10
+136,6
@@
BaseUI::request_handler (Glib::IOCondition ioc)
{
/* check the request pipe */
- if (ioc & ~IO_IN) {
- _main_loop->quit ();
- }
-
if (ioc & IO_IN) {
request_channel.drain ();
@@
-153,6
+149,10
@@
BaseUI::request_handler (Glib::IOCondition ioc)
handle_ui_requests ();
}
+ if (ioc & ~(IO_IN|IO_PRI)) {
+ _main_loop->quit ();
+ }
+
return true;
}