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


_______________________________________________
Ratpoison-devel mailing list
Ratpoison-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel

Reply via email to