Bug#784955: blackbox: Focus is sometimes lost when clicking on a window

2015-05-14 Thread August Karlstrom
On Mon, 11 May 2015 08:43:30 +0200 August Karlstrom 
 wrote:

Patrick Keshishian found a fix described at

https://bugs.freedesktop.org/show_bug.cgi?id=83900


Actually a proper fix was found by Brian Bidulock who maintains a fork 
of Blackbox at https://github.com/bbidulock/blackboxwm.



-- August
--- src/blackbox.cc.orig	2015-05-14 06:53:02.221198559 +0200
+++ src/blackbox.cc	2015-05-14 07:08:26.020864286 +0200
@@ -281,6 +281,7 @@
 bool lost_focus = true; // did the window really lose focus?
 bool no_focus = true;   // did another window get focus?
 
+XSync(XDisplay(), False);
 XEvent event;
 if (XCheckIfEvent(XDisplay(), &event, scanForFocusIn, NULL)) {
   process_event(&event);


Bug#784955: blackbox: Focus is sometimes lost when clicking on a window

2015-05-10 Thread August Karlstrom
Package: blackbox
Version: 0.70.1-23
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Switching window focus using the mouse.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Clicking on a window to give it focus.

   * What was the outcome of this action?

The window was sometimes not focused and the previously focused window lost 
focus as well.

   * What outcome did you expect instead?

I expected the window I clicked on to become the focus window.

Patrick Keshishian found a fix described at

https://bugs.freedesktop.org/show_bug.cgi?id=83900

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages blackbox depends on:
ii  libbt0  0.70.1-23
ii  libc6   2.19-18
ii  libgcc1 1:4.9.2-10
ii  libstdc++6  4.9.2-10
ii  libx11-62:1.6.2-3
ii  libxext62:1.3.3-1
ii  libxft2 2.3.2-1

blackbox recommends no packages.

Versions of packages blackbox suggests:
pn  bbkeys  
ii  menu2.1.47

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org