wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

On fullscreen toggle focus is lost when foreign toplevel plugin is enabled

Open jgmdev opened this issue 1 year ago • 0 comments

Description

When toggling a window to fullscreen the focus is lost when the Foreign Toplevel Protocol plugin is enabled.

To Reproduce

  1. Enable Foreign Toplevel Protocol and restart wayfire.
  2. Using the WM Actions plugin set a keybind to toggle fullscreen, eg: <super> KEY_F.
  3. Open an application and toggle it to fullscreen using the configured bind.
  4. Without clicking on the application use the fullscreen toggle keybind again multiple times.
  5. The focus is lost and pressing the toggle fullscreen bind doesn't has any effect.

Expected behavior

The fullscreened windows should keep its focus and it should be possible to toggle it back before having to click it first to return the focus to it.

Wayfire version

  • 0.9
  • 0.10 git

jgmdev avatar Aug 26 '24 17:08 jgmdev