Skip to content

feat: with_has_shadow, has_shadow and set_has_shadow  #157

@michaelowens

Description

@michaelowens

Is your feature request related to a problem? Please describe.
When using decorations: false the app removes not only the topbar & border, but also the shadow.

Describe the solution you'd like
I would like to see the shadow separated into it's own config property. So you could e.g. do:

"windows": [
  {
    "shadow": true,
    "decorations": false
  }
]

Which would result in a window without the top bar, without borders but with the OS shadow.

Describe alternatives you've considered
I tried building this in my app, but this comes with a lot of edge cases. You can't click through the shadow, you have to dynamically change the spacing/shadow when you are full screen, etc.

Additional context
This was experienced on Windows, I have not tested behavior on other OS'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions