JakeStanger/ironbar

[Launcher] Focus action not working in Hyprland v0.40.0

Closed this issue · 2 comments

Describe the bug
Not able to click on applications to focus them in Hyprland v0.40.0

To Reproduce
Steps to reproduce the behavior:

  1. Open a few applications
  2. Try to focus them by clicking on their icons
  3. Nothing happens

Expected behavior
Should work like in Hyprland v0.39.1

System information:

Configuration

Possible to reproduce with nix-config by removing the hyprland overlay and rebuilding with nixpkgs changed to nixos-24.05

Additional context

This looks like a Hyprland bug to me:

  • With vanilla Hyprland 0.40, the bug is present
  • Using the hy3 plugin, it works fine

Fixed by changing misc:focus_on_activate to true. Seems like wlr_foreign_toplevel_management got changed a bit in 0.40.0.

See: hyprwm/Hyprland#5939