diff --git a/README.md b/README.md index 4eaf9d8..0b7bc85 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Make sure to check out and install [slop](https://github.com/naelstrof/slop) too Join us on irc at freenode in *#maim*. ```text -maim v2.3.21 +maim v2.3.22 Copyright (C) 2014 Dalton Nell, Maim Contributors (https://github.com/naelstrof/maim/graphs/contributors) diff --git a/src/cmdline.h b/src/cmdline.h index 4db5b62..55bd12e 100644 --- a/src/cmdline.h +++ b/src/cmdline.h @@ -31,7 +31,7 @@ extern "C" { #ifndef CMDLINE_PARSER_VERSION /** @brief the program version */ -#define CMDLINE_PARSER_VERSION "v2.3.21" +#define CMDLINE_PARSER_VERSION "v2.3.22" #endif /** @brief Where the command line options are stored */ diff --git a/src/main.cpp b/src/main.cpp index 42b119d..e5badc5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -203,7 +203,7 @@ int app( int argc, char** argv ) { window = (Window)options.windowid_arg; // Since we have a window we need to turn root coords into our local window coords. // but only if the user wants us to. - if ( !options.localize_flag ) { + if ( !options.localize_flag && window != None ) { Window junk; XTranslateCoordinates( xengine->m_display, xengine->m_root, window, x, y, &x, &y, &junk ); } diff --git a/src/options.ggo b/src/options.ggo index 6a6eff2..761a035 100644 --- a/src/options.ggo +++ b/src/options.ggo @@ -1,5 +1,5 @@ package "maim" -version "v2.3.21" +version "v2.3.22" purpose "Takes screenshots." usage "maim [options] [file]" description "maim (Make Image) is a utility that takes screenshots of your desktop using imlib2. It's meant to overcome shortcomings of scrot and performs better than scrot in several ways."