[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d392ad7c5c: Fix non-XI2 build
From: |
Po Lu |
Subject: |
master d392ad7c5c: Fix non-XI2 build |
Date: |
Sat, 25 Jun 2022 02:39:16 -0400 (EDT) |
branch: master
commit d392ad7c5c914db7edc59b86bfe00c4fe0a7e3a5
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix non-XI2 build
* src/xterm.c (handle_one_xevent): Don't make `event' const when
passing it to RandR functions. Also, update out of date
comment.
---
src/xterm.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index d03b9a6d61..7f43e21e88 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -16806,9 +16806,9 @@ handle_one_xevent (struct x_display_info *dpyinfo,
SELECTION_EVENT_PROPERTY (&inev.sie) = eventp->property;
SELECTION_EVENT_TIME (&inev.sie) = eventp->time;
- /* If drag-and-drop is in progress, handle SelectionRequest
- events immediately, by setting hold_quit to the input
- event. */
+ /* If drag-and-drop or another modal dialog/menu is in
+ progress, handle SelectionRequest events immediately, by
+ pushing it onto the selecction queue. */
if (x_use_pending_selection_requests)
{
@@ -22064,7 +22064,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
if (event->type == (dpyinfo->xrandr_event_base
+ RRScreenChangeNotify))
- XRRUpdateConfiguration (event);
+ XRRUpdateConfiguration ((XEvent *) event);
if (event->type == (dpyinfo->xrandr_event_base
+ RRScreenChangeNotify))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d392ad7c5c: Fix non-XI2 build,
Po Lu <=