Commit 166556f4 authored by Po Lu's avatar Po Lu
Browse files

Improve menu drag tracking on Haiku

* src/haikuterm.c (haiku_read_socket): Ignore all button events
when popup_activated_p.
parent b616e14c
Pipeline #15680 passed with stages
in 60 minutes and 13 seconds
......@@ -2844,7 +2844,7 @@ haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
int tab_bar_p = 0, tool_bar_p = 0;
bool up_okay_p = false;
if (!f)
if (popup_activated_p || !f)
continue;
struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f);
......@@ -3324,6 +3324,7 @@ haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
flush_dirty_back_buffers ();
unblock_input ();
return message_count;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment