Skip to content

Muffins automatic window cascading also applies to reopening previously snapped windows #857

Description

@LeonardChrist

I use an ultra-wide and mostly 50-50 split my windows left and right on it. When I re-open multiple applications that were previously snapped to the left half, they get cascaded 50px to right each.

1st window x0 y0 2nd window x50 y0 3rd window x100 y0

I find this behavior odd as snapped windows often intentionally fit exactly the snapped space. F.ex. in my case, my browser is always left-half and my notes always right. But when using multiple browsers, I still want them all to be snapped at x0 y0.

I'm not too experienced in programming, so I only found the lines that actually do the cascading.

#define CASCADE_INTERVAL 50 /* space between top-left corners of cascades */

I think the algorithm determining wether to do a cascade or not should be adjusted to exclude snapped windows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions