ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] [PATCH] don't pass screen number to frestore() in cmd_sfrestore()


From: Repolho
Subject: [RP] [PATCH] don't pass screen number to frestore() in cmd_sfrestore()
Date: Wed, 7 Aug 2013 14:27:05 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

action.c:cmd_sfrestore() passes each screen's fdump to frestore() without
removing the screen number at the end, resulting in an error message being
printed for every screen, every time the function is used.

To reproduce, run
$ ratpoison -c "sfrestore $(ratpoison -c sfdump)"
which results in the following message:

ratpoison:frame.c:257: error: Unknown slot 0

The attached patch is a proposed solution to the issue. It was generated over
the latest git, v1.4.6-48-gb02d855.

Attachment: sfrestore_error_msg.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]