[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5129e713b0: Disable auto-lowering and raising on Haiku when a pop
From: |
Po Lu |
Subject: |
master 5129e713b0: Disable auto-lowering and raising on Haiku when a popup is active |
Date: |
Tue, 15 Feb 2022 02:23:06 -0500 (EST) |
branch: master
commit 5129e713b09d401caa9d7b626ccb528f598e72c4
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Disable auto-lowering and raising on Haiku when a popup is active
* src/haikuterm.c (haiku_new_focus_frame):
(haiku_read_socket): Don't raise or lower if popup is activated.
---
src/haikuterm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/haikuterm.c b/src/haikuterm.c
index 4547380783..f4e2452a6c 100644
--- a/src/haikuterm.c
+++ b/src/haikuterm.c
@@ -406,7 +406,7 @@ haiku_new_focus_frame (struct frame *frame)
x_display_list->focused_frame = frame;
- if (frame && frame->auto_raise)
+ if (frame && frame->auto_raise && !popup_activated_p)
haiku_frame_raise_lower (frame, 1);
}
unblock_input ();
@@ -2775,7 +2775,7 @@ haiku_read_socket (struct terminal *terminal, struct
input_event *hold_quit)
need_flush = 1;
}
- if (f->auto_lower)
+ if (f->auto_lower && !popup_activated_p)
haiku_frame_raise_lower (f, 0);
haiku_new_focus_frame (x_display_list->focused_frame);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5129e713b0: Disable auto-lowering and raising on Haiku when a popup is active,
Po Lu <=