Package: xfwm4
Version: 4.12.3-1
Severity: normal
Tags: patch upstream

When not using the compositor, and cycling windows (with alt-tab), the
wireframe that indicates which window is currently selected does not
appear if the currently selected window has the same width and height as
the previously selected window, which is not an uncommon situation. The
attached minimal patch fixes the problem.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfwm4 depends on:
ii  libc6                     2.19-18
ii  libcairo2                 1.14.2-2
ii  libdbus-glib-1-2          0.102-1
ii  libgdk-pixbuf2.0-0        2.31.4-2
ii  libglib2.0-0              2.44.1-1
ii  libgtk2.0-0               2.24.25-3
ii  libpango-1.0-0            1.36.8-3
ii  libstartup-notification0  0.12-4
ii  libwnck22                 2.30.7-2
ii  libx11-6                  2:1.6.3-1
ii  libxcomposite1            1:0.4.4-1
ii  libxdamage1               1:1.1.4-2+b1
ii  libxext6                  2:1.3.3-1
ii  libxfce4ui-1-0            4.12.1-2
ii  libxfce4util7             4.12.1-2
ii  libxfconf-0-2             4.12.0-2+b1
ii  libxfixes3                1:5.0.1-2+b2
ii  libxrandr2                2:1.4.2-1+b1
ii  libxrender1               1:0.9.8-1+b1

Versions of packages xfwm4 recommends:
ii  librsvg2-common  2.40.9-2

Versions of packages xfwm4 suggests:
ii  xfce4         4.12.1
ii  xfwm4-themes  4.10.0-2

-- no debconf information
Index: xfwm4-4.12.3/src/wireframe.c
===================================================================
--- xfwm4-4.12.3.orig/src/wireframe.c
+++ xfwm4-4.12.3/src/wireframe.c
@@ -61,7 +61,6 @@ wireframeDrawXlib (WireFrame *wireframe,
     if ((width == wireframe->width) && (height == wireframe->height))
     {
         /* Moving only */
-        return;
     }
     wireframe->width = width;
     wireframe->height = height;

Reply via email to