From 3d8efb21d51b5e9582fdff1a7c138f85f508e927 Mon Sep 17 00:00:00 2001 From: Bert Date: Sun, 30 Jan 2011 22:02:03 +0100 Subject: [PATCH] Updated doc: dragging with button2, -g option --- README.md | 22 +++++++++++----------- sxiv.1 | 18 ++++++++---------- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 8942414..78a236a 100644 --- a/README.md +++ b/README.md @@ -30,17 +30,16 @@ Usage ----- sxiv supports the following command-line options: - -d scale all images to 100%, but fit large images into window - -f start in fullscreen mode - -p pixelize, i.e. turn off image anti-aliasing - -s scale all images to fit into window - -v print version information and exit - -W enable printing of warnings - -w WIDTHxHEIGHT - set window width to WIDTH and height to HEIGHT - (if HEIGHT is omitted, height is also set to WIDTH) - -Z same as `-z 100' - -z ZOOM scale all images to current zoom level, use ZOOM at startup + -d scale all images to 100%, but fit large images into window + -f start in fullscreen mode + -g GEOMETRY set window position and size + (see section GEOMETRY SPECIFICATIONS of X(7)) + -p pixelize, i.e. turn off image anti-aliasing + -s scale all images to fit into window + -v print version information and exit + -W enable printing of warnings + -Z same as `-z 100' + -z ZOOM scale all images to current zoom level, use ZOOM at startup Use the following keys to control sxiv: @@ -61,6 +60,7 @@ Use the following keys to control sxiv: Additionally, sxiv can be controlled via the following mouse commands: Button1 Go to the next image + Button2 Drag image with mouse while keeping it pressed Button3 Go to the previous image ScrollUp Pan image up ScrollDown Pan image down diff --git a/sxiv.1 b/sxiv.1 index b0bf1a6..25a26a9 100644 --- a/sxiv.1 +++ b/sxiv.1 @@ -24,6 +24,11 @@ Scale all images to 100%, but fit large images into window. .B \-f Start in fullscreen mode. .TP +.BI "\-g " GEOMETRY +Set window position and size. See section GEOMETRY SPECIFICATIONS of X(7) for +more information on +.IR GEOMETRY . +.TP .B \-h Print brief usage information to standard output and exit. .TP @@ -39,16 +44,6 @@ Print version information to standard output and exit. .B \-W Enable printing of warnings to standard error stream. .TP -.BI "\-w " WIDTH x HEIGHT -Set window width to -.I WIDTH -and height to -.IR HEIGHT . -If -.I HEIGHT -is omitted, height is also set to -.IR WIDTH . -.TP .B \-Z The same as `-z 100'. .TP @@ -124,6 +119,9 @@ Toggle anti-aliasing. .B Button1 Go to the next image. .TP +.B Button2 +Drag the image with the mouse while keeping this button pressed down. +.TP .B Button3 Go to the previous image. .SS Zooming