[Bug 3820] Around 5 second delay when starting an X11 application
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Mon Jun  2 14:28:17 AEST 2025
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=3820
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3882|                            |ok?(djm at mindrot.org)
              Flags|                            |
--- Comment #8 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3882
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3882&action=edit
Fix x11_channel_used_recently()
(In reply to Darren Tucker from comment #7)
> This patch doesn't seem to make a noticeable difference for me.
This seems to be because x11_channel_used_recently() returns true when
the channel *hasn't* been used recently, ie the current time is more
than  a second past the time the time of last use:
       return lastused != 0 && monotime() > lastused + 1;
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
    
    
More information about the openssh-bugs
mailing list