mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-26 01:40:12 -05:00
commit
de6ab6dca0
2 changed files with 4 additions and 0 deletions
|
|
@ -61,6 +61,8 @@
|
||||||
* Fix crashes after enabling CSD at runtime when `csd.size` is 0.
|
* Fix crashes after enabling CSD at runtime when `csd.size` is 0.
|
||||||
* Convert `\r` to `\n` when reading clipboard data
|
* Convert `\r` to `\n` when reading clipboard data
|
||||||
(https://codeberg.org/dnkl/foot/issues/752).
|
(https://codeberg.org/dnkl/foot/issues/752).
|
||||||
|
* Clipboard occasionally ceasing to work, until window has been
|
||||||
|
re-focused (https://codeberg.org/dnkl/foot/issues/753).
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
2
input.c
2
input.c
|
|
@ -954,6 +954,7 @@ static void
|
||||||
key_press_release(struct seat *seat, struct terminal *term, uint32_t serial,
|
key_press_release(struct seat *seat, struct terminal *term, uint32_t serial,
|
||||||
uint32_t key, uint32_t state)
|
uint32_t key, uint32_t state)
|
||||||
{
|
{
|
||||||
|
seat->kbd.serial = serial;
|
||||||
if (seat->kbd.xkb == NULL ||
|
if (seat->kbd.xkb == NULL ||
|
||||||
seat->kbd.xkb_keymap == NULL ||
|
seat->kbd.xkb_keymap == NULL ||
|
||||||
seat->kbd.xkb_state == NULL)
|
seat->kbd.xkb_state == NULL)
|
||||||
|
|
@ -1723,6 +1724,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
||||||
struct wayland *wayl = seat->wayl;
|
struct wayland *wayl = seat->wayl;
|
||||||
struct terminal *term = seat->mouse_focus;
|
struct terminal *term = seat->mouse_focus;
|
||||||
|
|
||||||
|
seat->pointer.serial = serial;
|
||||||
seat->pointer.hidden = false;
|
seat->pointer.hidden = false;
|
||||||
|
|
||||||
xassert(term != NULL);
|
xassert(term != NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue