GithubHelp home page GithubHelp logo

Comments (5)

t-wissmann avatar t-wissmann commented on May 25, 2024 1

This is a bug about key grabbing and not about the focus change. Create a key binding

herbstclient keybind Alt-x true
  • Create an xterm, but focus something else (another client or an empty frame).
  • Place the mouse cursor over it
  • Pressing the keybinding makes the cursor flicker.

from herbstluftwm.

ypnos avatar ypnos commented on May 25, 2024

This also happens when switching away to another tag.

from herbstluftwm.

ypnos avatar ypnos commented on May 25, 2024

Probably related to this problem and also #33:

Have two frames, one of them empty, the other with one or several clients. Put mouse cursor over one of the clients. Open a client in the previously empty frame without moving the mouse. The new client gets focus. Close new client.

Expected: Focus stays in the previously empty frame which is empty again.
Observed: Visual feedback (frame/window borders) indicates that the empty frame is focused. However keyboard input is directed to the client under the mouse cursor. The client in question also got a focus in event, but no focus out event.

from herbstluftwm.

t-wissmann avatar t-wissmann commented on May 25, 2024

It seems that this is an inherent issue in X, that is also present in other window managers, e.g. fluxbox:

  • Open xterm twice in fluxbox
  • Focus one xterm, and place the cursor over the other xterm
  • Press Alt-Space (default keybinding for the window menu)
  • Notice how the cursor flickers

(If you don't want to boot into a fluxbox session, run Xephyr +extension kb -resizeable :13 from a terminal and DISPLAY=:13 fluxbox from another terminal, and you'll have a fluxbox session in a Xephyr/Xnest window).

from herbstluftwm.

t-wissmann avatar t-wissmann commented on May 25, 2024

I fear that hlwm can't fix this because it's inherently related to X.

from herbstluftwm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.