Skip to content

DWM crashes if I try to first enable fullscreen and then turn off fullscreen on a terminal (Alacritty) scratchpad (only on one monitor) #76

@isak102

Description

@isak102

I am using your dwm-fullscreen-compilation patch in combination with renamedscratchpad. They both work great in general but I have encountered one weird bug, DWM will crash if I first make a terminal scratchpad fullscreen and then try to turn off fullscreen. This only happens on one monitor (my main monitor) but not on my second monitor which is to the left of my main monitor. Another weird thing is that this only happens with my Alacritty scratchpad, not any other scratchpad. I have Spotify, Qalculate and Pavucontrol as scratchpads aswell and DWM doesn't crash if I do the same thing. However the scratchpads wont return to their original positions, their sizes will be distorted (this doesn't happen on my second monitor). This is my full dwm.c: https://gist.github.com/isak102/0a0919cfab0a8924def4df282c2e623d

I used git-bisect to find the commit that introduced the bug and it came down to this commit: https://gist.github.com/isak102/85cd77f9e27abfd1d93e7f8b0fc8b999

edit: I just realised its all floating terminal windows, not only scratchpads

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions