[PATCH 3/6] Fix sfdump

Mathieu OTHACEHE <[email protected]> Tue, 29 Nov 2016 20:00:51 +0100
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <[email protected]>
Use screen numset in sfdump
---
 src/actions.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/actions.c b/src/actions.c
index 8d89a2d..e4c1c4e 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5599,9 +5599,7 @@ cmd_sfdump (int interactively UNUSED, struct cmdarg **args UNUSED)
   list_for_each_entry (cur_screen, &rp_screens, node)
     {
       snprintf (screen_suffix, sizeof (screen_suffix), " %d,",
-                rp_have_xrandr ?
-                cur_screen->xrandr.output :
-                cur_screen->screen_num);
+                cur_screen->number);
 
       list_for_each_entry (cur_frame, &(cur_screen->frames), node)
         {
-- 
2.10.2