[dev] [st] [bug] not starting until window get focus
The problem is in this loop (file x.c, lines 1924:1938):
/* Waiting for window mapping */
do {
...
} while (ev.type != MapNotify);
To reproduce we need wm that allows assigning windows to workspace based
on criteria. In i3wm it is done with:
assign [title="^arad$"] 9
Then we can print current timestamp and immediately run terminal that
should also print timestamp. If we wait a few seconds and switch to
workspace that was assigned for this window, we will see timestamps
differ. Command:
date +%s && st -t arad -e bash -c 'date +%s; read'
P.S. other terminals, as kitty and alacritty, works as expected, command
executes immediately regardless of window being focused
I've tried little hack and it worked for me, not hugely tested though.
My patch:
Received on Mon Dec 18 2023 - 18:41:13 CET
This archive was generated by hypermail 2.3.0
: Mon Dec 18 2023 - 18:48:07 CET