Commit e55460e5 authored by Anders Lindgren's avatar Anders Lindgren Committed by Martin Rudalics

Respect value of frame_resize_pixelwise when handling fullscreen state.

* src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
setting size increments.
parent 73b0901c
......@@ -6724,6 +6724,11 @@ - (void)handleFS
{
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];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment