Skip to content

Window flickering with monocle mode and FOLLOW_MOUSE #16

@YellowKirby

Description

@YellowKirby

Hi, I've noticed that in some cases, changing focus in monocle mode while FOLLOW_MOUSE is true will cause a rapid, fullscreen flicker, as if the focused window is very rapidly changing. I'm not exactly sure what triggers it, but one way I've been able to reproduce the issue is to do the following:

(this is using the master branch; FOLLOW_MOUSE is True; the rest of config.h is the default):

  • Start with an empty desktop in the default tiling mode
  • Spawn two windows, side by side. (The problem will be much more apparent if the windows have different backgrounds; a dark and a light)
  • Switch to Monocle mode
  • Spawn a third window
  • Change focus with Mod1+j

At this point, the flickering occurs, and remains that way until switching back to a different tiling mode.

The issue does not happen when FOLLOW_MOUSE is False.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions