Skip to content

Maximize behavior on Windows with borderless window #6346

@Taiko2k

Description

@Taiko2k

I find some behavior a little undesired when using a borderless window under Windows.

  1. When using SDL_MaximizeWindow() it effectively uses a borderless fullscreen that covers the taskbar etc. Preferred behavior would be to still have the taskbar shown and have Windows recognize it as a maximized window for use in conjunction with 2:
  2. When dragging a borderless window, (i.e. using SDL_HITTEST_DRAGGABLE), allow window to be maximized by bumping window to top desktop edge, and sides to work with Windows snap etc. (This works with bordered windows, but not with borderless)

These currently both effectively work as expected under Linux. I wonder if it easy/possible to have this behavior under Windows?

This would help SDL based applications that draw their own window decorations to have more consistent behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions