xrandr: make --query really the default option
authorÉric Piel <eric.piel@tremplin-utc.net>
Mon, 26 Oct 2009 12:57:10 +0000 (13:57 +0100)
committerMatthias Hopf <mhopf@suse.de>
Tue, 10 Nov 2009 08:58:34 +0000 (09:58 +0100)
commit34829957441a10f6b6e31141aa1018f7a72aeaf9
treee46c35fb67adcc41626e819426888bc98561324a
parent07bf47f32b1f4c256e32b5b47ab52ef55605370a
xrandr: make --query really the default option

The manpage states that "--query" is the default action when nothing
specific is requested. However, some options such as "-display" or
"--screen" lead to do nothing by default. This makes sure that unless
something specific is requested, query is done.

This also restores the behaviour of --q1 to the same one as the old
xrandr: also display the info on rotation and reflection by default.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Matthias Hopf <mhopf@suse.de>
xrandr.c