HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
546 stars 44 forks source link

[X11] i3 - switching workspaces away and to window on HumbleUI causes nothing to be rendered #280

Closed TheDrawingCoder-Gamer closed 6 months ago

TheDrawingCoder-Gamer commented 6 months ago

isn't visible on JWM's example itself bc it forces a new frame relatively frequently, but HumbleUI doesn't force frame updates on focus in and focus out. this is probably an issue with JWM itself, as other apps don't really show this behavior. Should a frame be forced on FocusIn?

from what I can gather, x11 sends an Expose event whenever the window is now visible. Updating my local repo to listen for expose events, and requesting redraws whenever this event is received, makes my copy of HumbleUI to run right...