plan9fox/sys
cinap_lenrek b5783b1e39 rio: make window focus changes deterministic, cleanup wind.c
Switching window focus used to be non deterministic
as the current window in focus (Window *input) was set
concurrently while processing window messages such as
Resized and Topped.

This implements a new approach where wcurrent() and
wuncurrent() are responsible for the synchronization
and switch of the input.

It is implemented by sending a Repaint message to the
old input window first, neccesarily waiting until that
window releases the focus and then input is updated
and then a Topped or Reshaped message is send to the
new input window.

Note, that when the whole screen is resized that no
input changes need to happening anymore.
2021-03-07 20:26:30 +01:00
..
doc
games/lib fortunes: That depends on how you define native. -- Andre Garzia 2021-02-09 23:11:08 -05:00
include ape/lib9: expose fd2path (thanks phil9) 2021-02-20 21:02:07 -08:00
lib [9front] riostart: make text window focused by default 2021-03-02 10:03:25 +01:00
man [9front] [PATCH] fix small typo in vmx(3) 2021-03-06 22:52:00 +01:00
src rio: make window focus changes deterministic, cleanup wind.c 2021-03-07 20:26:30 +01:00