Skip to content

Commit

Permalink
Make sure not to change the fullscreen bit in the styleMask. (Thanks …
Browse files Browse the repository at this point in the history
…Francois!)
  • Loading branch information
culler committed Apr 2, 2023
1 parent 9a9b6ac commit 99b8dce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions macosx/tkMacOSXWm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,10 @@ WmSetAttribute(
} else {
styleMaskValue |= styleMaskBits[index].bitvalue;
}
/*
* Be sure not to change the fullscreen bit.
*/
styleMaskValue |= (NSWindowStyleMaskFullScreen & macWindow.styleMask);
}
/*
* A resizable docmodal NSWindow or NSPanel does not work
Expand Down

0 comments on commit 99b8dce

Please sign in to comment.