Since after xrandr support was added, sdump returns current screen name, screen number, x-coordinate, y-coordinate, width, height and a boolean flag designating the active screen.
This patch changes sdump parsing method in the expose.pl script to accommodate those changes. --- contrib/expose.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/expose.pl b/contrib/expose.pl index 0a7127e..4db326b 100644 --- a/contrib/expose.pl +++ b/contrib/expose.pl @@ -41,7 +41,7 @@ my $frames_old = &rp('fdump'); chomp $frames_old; my @r; # Sub-optimal way of grabbing screen x,y,w,h. #fixed to use sdump -($_, $r[0], $r[1], $r[2], $r[3]) = split(/ /,&rp ('sdump')); +($_, $_, $r[0], $r[1], $r[2], $r[3], $_) = split(/ /,&rp ('sdump')); my $ret = join(", ", &rp_split(\@xids, \&split, $n, \@r)); -- 2.14.2 _______________________________________________ Ratpoison-devel mailing list Ratpoison-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/ratpoison-devel