Fix panel not flushing yutani queue
This commit is contained in:
parent
d02eda3e06
commit
12cc4bac7e
@ -942,8 +942,8 @@ int main (int argc, char ** argv) {
|
|||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
/* Respond to Yutani events */
|
/* Respond to Yutani events */
|
||||||
yutani_msg_t * m = yutani_poll(yctx);
|
yutani_msg_t * m = yutani_poll(yctx);
|
||||||
menu_process_event(yctx, m);
|
while (m) {
|
||||||
if (m) {
|
menu_process_event(yctx, m);
|
||||||
switch (m->type) {
|
switch (m->type) {
|
||||||
/* New window information is available */
|
/* New window information is available */
|
||||||
case YUTANI_MSG_NOTIFY:
|
case YUTANI_MSG_NOTIFY:
|
||||||
@ -974,6 +974,7 @@ int main (int argc, char ** argv) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
free(m);
|
free(m);
|
||||||
|
m = yutani_poll_async(yctx);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
|
Loading…
Reference in New Issue
Block a user