Go to file
robert f6cb3d9097 Fix mousereport
This patch replaces the previous one I sent.

The following changes are made in this patch:
 - Fix tracking of pressed buttons. Previously, pressing two buttons and
   then releasing one would make st think no buttons are pressed, which
   in particular broke MODE_MOUSEMOTION.
 - Always send the lowest-numbered pressed button on motion events; when
   no button is pressed for a motion event in MODE_MOUSEMANY, then send
   a release. This matches the behaviour of xterm. (Previously, st sent
   the most recently pressed button in the motion report.)
 - Remove UB (?) access to potentially inactive struct member
   e->xbutton.button of XEvent union.
 - Fix (unlikely) possibility of overflow for large button numbers.

The one discrepancy I found between st and xterm is that xterm sometimes
encodes buttons with large numbers (>5) strangely. E.g., xterm reports
presses of buttons 8 and 9 as releases, whereas st properly (?) encodes
them as presses.
2022-02-04 19:20:04 -03:00
patches Added anysize, font2, newterm (orphan) patches 2021-08-19 17:33:28 -03:00
.gitignore Change emoji font 2021-10-25 14:24:33 -03:00
FAQ FAQ: fix a typo, patch -> path 2022-02-04 19:19:51 -03:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE LICENSE: bump years 2020-06-17 23:49:40 +02:00
Makefile Minor changes 2021-02-28 23:12:19 -03:00
README Changed README 2020-11-19 15:09:42 -03:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h don't modify argv, use a counter 2018-03-20 21:22:27 +01:00
config.def.h Add support for OSC color sequences 2022-02-04 19:18:48 -03:00
config.mk bump version to 0.8.5 2022-02-04 19:19:58 -03:00
st.1 Add support for scroll(1) 2020-04-11 15:23:20 +02:00
st.c Fix overtyping wide characters. 2022-02-04 19:19:43 -03:00
st.h Add support for OSC color sequences 2022-02-04 19:18:48 -03:00
st.info Partially add back in "support REP (repeat) escape sequence" 2020-05-30 22:04:28 +02:00
win.h ST: Add WM_ICON_NAME property support 2020-10-18 11:17:11 +02:00
x.c Fix mousereport 2022-02-04 19:20:04 -03:00

README

My st build.