summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-12-01 22:39:34 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-12-01 22:39:34 +0100
commitf32bfb18f15244e1f2bd65064edbc6dbd167031b (patch)
treeaf8a85c0cde719a3735785cc53b7ca0e2309cbcf /src/actions.c
parent53f3fb0e9ead37acd3e16a8779b2e99944674e8f (diff)
downloadratpoison-f32bfb18f15244e1f2bd65064edbc6dbd167031b.zip
sfrestore: in case of error, mention the screen number, not its xrandr id
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 73bc282..63f7245 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5711,7 +5711,7 @@ cmd_sfrestore (int interactively UNUSED, struct cmdarg **args)
if (ret != RET_SUCCESS)
{
return cmdret_new (ret, "Failed to restore frames for screen %d",
- sf_data[i].screen->xrandr.output);
+ sf_data[i].screen->number);
}
}