Skip to content

Trigger redraw when window gets focus #101

Closed

Description

@lucasew

I am using i3wm and often use terminals using the row feature. The problem here is that when I jump to other window and go back to the rio window it takes a few seconds to show something. That doesn't happen with busy sessions like when I am tailing a chatty log and running some programs such as cmatrix. I guess that's because those programs trigger redraws more often.

The suggestion here is to also trigger a redraw when the window gets focus.

I am using the rio packaged by the PR by otavio for nixpkgs.

out.mp4

Activity

  1. raphamorim commented on Jun 18, 2023

    @raphamorim
    Owner

    Hey there, I've saw your comment in the NixOS/nixpkgs#237664 and a pushed for all platforms this afternoon, before was dealing with rendering stack for all events but now has changed for specific type of events, should offload the render and speed up. Would you min check with latest main?

    Did a validation in x11 and should look like this https://twitter.com/raphamorims/status/1670404595246419968

  2. lucasew commented on Jun 18, 2023

    @lucasew
    Author

    With f3fbe7a it's now refreshing when I release the Super key. A little anoying but good enough.

    BTW I change workspaces with Super+numbers and the tab using Super+arrows

    out_pr.mp4
  3. raphamorim commented on Jun 18, 2023

    @raphamorim
    Owner

    That's good to know! Thank you for the detailed input @lucasew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions