summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorMathieu OTHACEHE <m.othacehe@gmail.com>2016-11-29 20:00:51 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-12-01 21:48:13 +0100
commite8e9267e52b30d6a30c4ef5f1b39f524e5c16645 (patch)
tree73d19a7fec7aaefb958a7c114e8d11248f4efe6e /src/actions.c
parent2b1bf78cbd1e85f86439ed083a919ffc2080fba7 (diff)
downloadratpoison-e8e9267e52b30d6a30c4ef5f1b39f524e5c16645.zip
Fix sfdump
Use screen numset in sfdump
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c4
1 files changed, 1 insertions, 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)
{