Menu

#28 Window-cycling list is not updated on window selection

v1.0_(example)
open
None
1
2020-12-13
2020-12-13
No

I use bbkeys 0.9.1 with the blackbox window manager on Debian 10. When I switch windows using Alt+Tab the window-cycling list is not updated.

What steps lead to the problem?

  1. Start bbkeys
  2. Open an xterm window
  3. Open another xterm window
  4. Press Alt+Tab.

What happens?
The second xterm window (still) has focus. Pressing Alt+Tab again shows that the window-cycling list has not been updated.

What should happen?
The first xterm window gets focus and is moved to the top of the window-cycling list.

I have build bbkeys with

./configure
make
make install

I wanted to see if the erroneous behavior was caused by some kind of undefined behavior so I instead tried to build bbkeys with

LDFLAGS="-fsanitize=address,undefined" ./configure
make
make install

To my surprise, this made bbkeys work correctly. Any clues?

Here are some more information about my platform:

$ uname -a
Linux macmini 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB