commit 98e4242230873b532aeb241bf743681e712215a8
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Tue Dec 13 12:34:03 2016 +0100
Re-add close functionality to X window button (#3210)
steam-3210.patch | 13 +++++++++++++
steam.spec | 10 +++++++++-
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/steam-3210.patch b/steam-3210.patch
new file mode 100644
index 0000000..2279540
--- /dev/null
+++ b/steam-3210.patch
@@ -0,0 +1,13 @@
+diff -Naur steam.old/steam steam/steam
+--- steam.old/steam 2016-12-13 12:17:21.901160561 +0100
++++ steam/steam 2016-12-13 12:18:17.278250620 +0100
+@@ -17,6 +17,9 @@
+ # Set up domain for script localization
+ export TEXTDOMAIN=steam
+
++# Make "X" window button close the program instead of minimizing like
"_"
++export STEAM_FRAME_FORCE_CLOSE=1
++
+ function show_message()
+ {
+ style=$1
diff --git a/steam.spec b/steam.spec
index 45d612b..004424e 100644
--- a/steam.spec
+++ b/steam.spec
@@ -6,7 +6,7 @@
Name: steam
Version: 1.0.0.54
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -43,6 +43,9 @@ Patch1: %{name}-3273.patch
#
https://steamcommunity.com/app/353370/discussions/0/490123197956024380/
Patch2: %{name}-controller-gamepad-emulation.patch
+# Make "X" window button close the program instead of minimizing like
"_"
+Patch3: %{name}-3210.patch
+
BuildRequires: desktop-file-utils
BuildRequires: systemd
@@ -102,6 +105,8 @@ savegame and screenshot functionality, and many social features.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
+
sed -i 's/\r$//' %{name}.desktop
sed -i 's/\r$//' steam_install_agreement.txt
@@ -168,6 +173,9 @@ fi
%{_udevrulesdir}/*
%changelog
+* Tue Dec 13 2016 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.54-2
+- Re-add close functionality to X window button (#3210).
+
* Thu Dec 01 2016 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.54-1
- Update to 1.0.0.54.
- Update udev patch.