summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2020-04-04 15:13:58 +0100
committerAlan Third <alan@idiocy.org>2020-04-16 19:11:05 +0100
commit24cb6908d70c14792c686679cb08091447b9c3b1 (patch)
treee8866b8bb53e1742b3c1c6eec7d948c36dfc18cf /src/coding.c
parent6a60701bba3d87f5d9a1730e18b6da827f41a062 (diff)
downloademacs-24cb6908d70c14792c686679cb08091447b9c3b1.tar.gz
Fix NS frame resizing issues (bug#40200, bug#28872)
* src/nsmenu.m (update_frame_tool_bar): Remove reference to updateFrameSize. * src/nsterm.h: ([EmacsView updateFrameSize]): ([EmacsView setRows:andColumns:]): Remove unused method definitions. (NS_PARENT_WINDOW_LEFT_POS): (NS_PARENT_WINDOW_TOP_POS): Move to nsterm.m. * src/nsterm.m (ns_parent_window_rect): New function. (NS_PARENT_WINDOW_LEFT_POS): (NS_PARENT_WINDOW_TOP_POS): Move to nsterm.m and simplify. (ns_set_offset): Fix strange behaviours when using negative values. (ns_set_window_size): (ns_set_undecorated): ([EmacsView windowDidResize:]): ([EmacsView windowDidExitFullScreen]): (ns_judge_scroll_bars): Remove references to updateFrameSize. ([EmacsView dealloc]): Unset resize notification and release buffer. ([EmacsView updateFrameSize:]): Remove function. ([EmacsView windowWillResize:toSize:]): Move some code to viewDidResize. ([EmacsView viewDidResize]): New function. ([EmacsView initFrameFromEmacs:]): Set up resize notification and move buffer creation until after the prerequisite objects are created. ([EmacsView toggleFullScreen:]): Set frame to the size of the contentview, not the whole window, and remove reference to updateFrameSize. ([EmacsView setRows:andColumns:]): Remove unused method. ([EmacsView windowDidMove:]): Tidy up.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions