Browse Source

Decorations: Mark popups as non-resizable on Windows

pull/270/head
weisj 3 years ago
parent
commit
812bf630da
No known key found for this signature in database
GPG Key ID: 31124CB75461DA2A
  1. 1
      windows/src/main/cpp/Decorations.cpp

1
windows/src/main/cpp/Decorations.cpp

@ -281,6 +281,7 @@ static bool InstallDecorations(HWND handle, bool is_popup) {
wrapper->window = handle;
wrapper->prev_proc = proc;
wrapper->popup_menu = is_popup;
wrapper->resizable = !is_popup;
wrapper_map[handle] = wrapper;
// Update the window procedure with our custom procedure.

Loading…
Cancel
Save