mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-31 01:20:37 -08:00
Respect value of frame_resize_pixelwise when handling fullscreen state.
* src/nsterm.m (handleFS): Respect frame_resize_pixelwise when setting size increments.
This commit is contained in:
parent
73b0901ce0
commit
e55460e53c
1 changed files with 5 additions and 0 deletions
|
|
@ -6724,6 +6724,11 @@ if (cols > 0 && rows > 0)
|
|||
{
|
||||
if (fs_state != emacsframe->want_fullscreen)
|
||||
{
|
||||
NSSize sz;
|
||||
sz.width = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (emacsframe);
|
||||
sz.height = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (emacsframe);
|
||||
[[self window] setResizeIncrements:sz];
|
||||
|
||||
if (fs_state == FULLSCREEN_BOTH)
|
||||
{
|
||||
[self toggleFullScreen:self];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue