Skip to content

client is larger than screen dimensions #327

@mejo13

Description

@mejo13

Describe the bug

single clients occupying the whole screen space (but aren't fullscreen) aren't shrunk to account for border size.

To Reproduce

compile a binary from the minimal example and open a client. it should be slightly bigger than the screen itself is.

Expected behavior

client should be shrunk to account for the border size.

Versions & OS Details

  • OS: linux
  • Distribution: Arch
  • OS Version: 6.15.3-arch1-1
  • Penrose Version: f95da04

Additional context

i fixed this with this commit. but this requires an additional request to the x server per client when calling position_clients. so i tried something else and introduced an additional field to state.client_set, in this commit (in another branch), to keep track of the fullscreen state of clients. i'm unsure what the right approach is here or if something else entirely is better.
what do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions