Browse Source

i3 patch xcb tray output

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 4 years ago
parent
commit
fd04ff3efc
  1. 11
      SOURCES/i3-bar-xcb.patch
  2. 4
      SPECS/i3.spec

11
SOURCES/i3-bar-xcb.patch

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
--- i3bar/src/xcb.c 2020-08-02 16:58:41.380000000 +0200
+++ i3bar/src/xcb.c 2020-08-02 17:02:25.800000000 +0200
@@ -1652,6 +1652,8 @@
return;
}
+ kick_tray_clients(output);
+
draw_util_surface_free(xcb_connection, &(output->bar));
draw_util_surface_free(xcb_connection, &(output->buffer));
draw_util_surface_free(xcb_connection, &(output->statusline_buffer));

4
SPECS/i3.spec

@ -6,6 +6,7 @@ License: BSD @@ -6,6 +6,7 @@ License: BSD
URL: http://i3wm.org
Source0: http://i3wm.org/downloads/%{name}-%{version}.tar.bz2
Source1: %{name}-logo.svg
Patch0: i3-bar-xcb.patch
BuildRequires: asciidoc
BuildRequires: bison
BuildRequires: cairo-devel
@ -80,8 +81,7 @@ Asciidoc and doxygen generated documentations for %{name}. @@ -80,8 +81,7 @@ Asciidoc and doxygen generated documentations for %{name}.
%prep
%setup -q
find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;#!/usr/bin/perl;' {} + -print
sed 's/kick_tray_clients(output);//' -i i3bar/src/xcb.c

%patch0 -p0

%build
%ifarch ppc64le

Loading…
Cancel
Save