bugGNU Screen - Bugs: bug #23771, [patch] Send SIGWINCH to windows...

 
 

bug #23771: [patch] Send SIGWINCH to windows only when focused

Submitted by:  Sadrul Habib Chowdhury <sadrul>
Submitted on:  Sat 05 Jul 2008 07:32:22 AM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 4Status: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 16 Jul 2008 01:10:48 AM UTC, comment #1:

Fixed in e783fe70beb9b26403ac7d36498dfa89fee613f6.

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Sat 05 Jul 2008 07:32:22 AM UTC, original submission:

Currently SIGWINCH is sent to every window when the terminal is resized. Instead, it'd be useful if SIGWINCH is sent to a window only when it receives focus.

Attached is a possible patch for this. The documentation for resize.c:CheckScreenSize says to modify all windows only when change_flag is 2. But ChangeScreenSize goes ahead and resizes every window regardless of the value of change_flag. The patch simply adds that check. I have tested the patch with splits/vertical splits, and it seems to work OK.

Sadrul Habib Chowdhury <sadrul>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Updated the item)
  • -unavailable- added by sadrul (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Jul 2008 01:10:48 AM UTCsadrulStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Tue 15 Jul 2008 06:38:28 PM UTCmicahcowanPriority5 - Normal=>4
      StatusNeed Investigation=>Confirmed
      Planned ReleaseLater=>4.1.0
      SummarySend SIGWINCH to windows only when focused=>[patch] Send SIGWINCH to windows only when focused
    Sat 05 Jul 2008 07:44:27 AM UTCmicahcowanStatusNone=>Need Investigation
      Planned ReleaseNone=>Later
    Sat 05 Jul 2008 07:32:22 AM UTCsadrulAttached File-=>Added resize_windows_on_focus.patch, #15998

    Back to the top


    Powered by Savane 3.1-cleanup1