summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-04-03 03:20:54 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-04-03 03:36:12 +0500
commit06b307b45b8aa79add8daa4c1a5b8cdc6451a088 (patch)
tree8ef1728814f84f23cbb9e6d959078213a803ca0d /data
parent76af9c5b41ae1d4a32a774302401f48c29692587 (diff)
downloadgnome-screenshot-06b307b45b8aa79add8daa4c1a5b8cdc6451a088.tar.gz
Remove support for removing window border
All Wayland applications are using client-side decorations. Even on X11, most GNOME applications are using them, so this option doesn't have any effects in majority of cases. Since !7, it's not exposed in GUI either. To simplify the code, just remove it. Deprecate --include-border and --remove-border CLI options, print a warning when they are in use. Update the manpage. Remove the corresponding gsettings key.
Diffstat (limited to 'data')
-rw-r--r--data/gnome-screenshot.16
-rw-r--r--data/org.gnome.gnome-screenshot.gschema.xml5
2 files changed, 4 insertions, 7 deletions
diff --git a/data/gnome-screenshot.1 b/data/gnome-screenshot.1
index c2acd50..4627b79 100644
--- a/data/gnome-screenshot.1
+++ b/data/gnome-screenshot.1
@@ -22,10 +22,12 @@ screen.
Grab an area of the screen instead of the entire screen.
.TP
\fB-b, --include-border\fR
-Include the window border within the screenshot.
+Include the window border within the screenshot. Note: This option is deprecated
+and window border is always included.
.TP
\fB-B, --remove-border\fR
-Remove the window border from the screenshot.
+Remove the window border from the screenshot. Note: This option is deprecated
+and window border is always included.
.TP
\fB-p, --include-pointer\fR
Include the pointer with the screenshot.
diff --git a/data/org.gnome.gnome-screenshot.gschema.xml b/data/org.gnome.gnome-screenshot.gschema.xml
index b998853..ffb6075 100644
--- a/data/org.gnome.gnome-screenshot.gschema.xml
+++ b/data/org.gnome.gnome-screenshot.gschema.xml
@@ -26,11 +26,6 @@
<summary>Last save directory</summary>
<description>The last directory a screenshot was saved in interactive mode.</description>
</key>
- <key name="include-border" type="b">
- <default>true</default>
- <summary>Include Border</summary>
- <description>Include the window manager border along with the screenshot</description>
- </key>
<key name="include-pointer" type="b">
<default>false</default>
<summary>Include Pointer</summary>