[arch-commits] Commit in compton/trunk (PKGBUILD compton.conf)

Alexander Rødseth arodseth at archlinux.org
Thu Nov 15 10:30:42 UTC 2018


    Date: Thursday, November 15, 2018 @ 10:30:42
  Author: arodseth
Revision: 407633

upgpkg: compton 3.0-6

Modified:
  compton/trunk/PKGBUILD
  compton/trunk/compton.conf

--------------+
 PKGBUILD     |   19 ++++++++-----------
 compton.conf |   10 +++++++---
 2 files changed, 15 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-15 10:30:27 UTC (rev 407632)
+++ PKGBUILD	2018-11-15 10:30:42 UTC (rev 407633)
@@ -5,7 +5,7 @@
 
 pkgname=compton
 pkgver=3.0
-pkgrel=5
+pkgrel=6
 pkgdesc='X compositor that may fix tearing issues'
 arch=('x86_64')
 url='https://github.com/yshui/compton'
@@ -17,13 +17,12 @@
 optdepends=('dbus:          For controlling compton via D-Bus'
             'xorg-xwininfo: For compton-trans'
             'xorg-xprop:    For compton-trans')
-# Using the latest commit from the "next" branch until the next release of compton.
-# See FS#60647
-#source=("git+https://github.com/yshui/compton#tag=v${pkgver%.0}"
-source=('git+https://github.com/yshui/compton#commit=b18d46bcbdc35a3b5620d817dd46fbc76485c20d'
+# Using the latest commit from the "next" branch until the next release
+# of compton. See FS#60647.
+source=('git+https://github.com/yshui/compton#commit=f834cf20aed38a86e2b3ccf30'
         'compton.conf')
 sha256sums=('SKIP'
-            '55d3929cb9c37edf2aaea8266dda197dbd35949246d1f88c1a168156c60c5324')
+            'f38b583d7e8e9d5792ec490ed0762f60ae30def85dab8f0f0f977061d58343dc')
 
 prepare() {
   cd $pkgname
@@ -34,11 +33,9 @@
 }
 
 build() {
-  cd $pkgname
-
-  mkdir -p ../build
-  arch-meson ../build -D build_docs=true
-  ninja -v -C ../build
+  mkdir -p build
+  arch-meson build "$pkgname" -D build_docs=true
+  ninja -v -C build
 }
 
 check() {

Modified: compton.conf
===================================================================
--- compton.conf	2018-11-15 10:30:27 UTC (rev 407632)
+++ compton.conf	2018-11-15 10:30:42 UTC (rev 407633)
@@ -1,4 +1,6 @@
 # Thank you code_nomad: http://9m.no/ꪯ鵞
+# and also the wiki contributors at:
+# https://wiki.archlinux.org/index.php/Compton
 
 #################################
 #
@@ -91,6 +93,7 @@
     "name *= 'compton'",
     "name *= 'Chromium'",
     "name *= 'Chrome'",
+    "class_g = 'Firefox' && argb",
     "class_g = 'Conky'",
     "class_g = 'Kupfer'",
     "class_g = 'Synapse'",
@@ -98,7 +101,8 @@
     "class_g ?= 'Cairo-dock'",
     "class_g ?= 'Xfce4-notifyd'",
     "class_g ?= 'Xfce4-power-manager'",
-    "_GTK_FRAME_EXTENTS@:c"
+    "_GTK_FRAME_EXTENTS@:c",
+    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
 ];
 # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
 shadow-ignore-shaped = false;
@@ -184,7 +188,7 @@
 # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
 # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
 # (Note some VSync methods may not be enabled at compile time.)
-vsync = "opengl-swc";
+vsync = "opengl";
 
 # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
 # Reported to have no effect, though.
@@ -201,7 +205,7 @@
 # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
 # Known to cause flickering when redirecting/unredirecting windows.
 # paint-on-overlay may make the flickering less obvious.
-unredir-if-possible = true;
+unredir-if-possible = false;
 
 # Specify a list of conditions of windows that should always be considered focused.
 focus-exclude = [ ];


More information about the arch-commits mailing list