Skip to content

Swapchain Recreation chapter: primary monitor turns off #422

Description

@fs-99

When starting the application after the chapter introducing resize/minimize and then dragging the window to a relatively small size quickly, my primary laptop monitor turns off (visually, I think it's just whatever component turning off).

For anyone having a similar problem, to get the screen back on: xrandr --output eDP-1 --off && sleep 1 && xrandr --output eDP-1 --auto

It seems to be the size.width == 0 || size.height == 0 { minimized = true; }, when dragging the window to zero width or height.
edit: okay it also happens when waiting for a while and minimizing the window

Pop!_OS 22.04 LTS
GNOME 42.9
X11

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