Closed mneumann closed 10 months ago
Great work! Let's see if we can get somebody to verify the touch-screen behavior, but this is super neat!
@mneumann would you mind updating against current head of main
so we can get the CI signoff? Sorry for the delay. :)
@crertel no worries. there we go: rebased to recent main :)
@crertel ping :).
Sorry, sorry, @mneumann last rebase and we'll get it merged!
(doing end-of-year cleanup)
@crertel no worries! there we go - rebase done :)
Related bug report: https://github.com/ScenicFramework/scenic/issues/324
On some Window managers (e.g. CTWM) the window is not repainted when another window is moved over it. Add
refresh_window_callback
and "redraw" (reusereshape_window
for now...).At least on Hikari (Wayland), when the cursor leaves the window and re-enters the window, the cusor was no longer visible. This commit fixes this issue by adding a
focus_window_callback
and explicitly setting the cursor when focus is regained.NOTE: This might (or might not) show a cursor where no cursor is wanted (touch-screen devices?). To fix this, the
glfwSetCusor
andglfwSetInputMode
calls infocus_window_callback
should be conditionalized by a global per-device setting, whether a cursor is desired or not.