mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
haiku: Fixed missing title bar for windows with decorations.
B_BORDERED_WINDOW_LOOK has a border but no title bar.
This commit is contained in:
parent
fc436a3a9d
commit
2113208d98
@ -586,7 +586,7 @@ private:
|
||||
if(msg->FindBool("window-border", &bEnabled) != B_OK) {
|
||||
return;
|
||||
}
|
||||
SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);
|
||||
SetLook(bEnabled ? B_TITLED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);
|
||||
}
|
||||
|
||||
void _SetResizable(BMessage *msg) {
|
||||
|
@ -41,7 +41,7 @@ static SDL_INLINE SDL_BApp *_GetBeApp() {
|
||||
|
||||
static int _InitWindow(_THIS, SDL_Window *window) {
|
||||
uint32 flags = 0;
|
||||
window_look look = B_BORDERED_WINDOW_LOOK;
|
||||
window_look look = B_TITLED_WINDOW_LOOK;
|
||||
|
||||
BRect bounds(
|
||||
window->x,
|
||||
|
Loading…
Reference in New Issue
Block a user