]> git.eshelyaron.com Git - emacs.git/commit
Simplify NS sizing and positioning code
authorAlan Third <alan@idiocy.org>
Sat, 17 Jul 2021 10:23:42 +0000 (11:23 +0100)
committerAlan Third <alan@idiocy.org>
Mon, 26 Jul 2021 22:12:12 +0000 (23:12 +0100)
commit49bbed0dfdbf279d7b14240877e42e755041ffa4
tree7cd8d8614664b12cba049d24b6c6e1bb7d72362e
parent0b54632013c07f89625c6abe2b26d787618025aa
Simplify NS sizing and positioning code

* src/nsterm.m (ns_set_offset): Unify the two branches into one, most
of the code is the same.
(ns_set_window_size): Use the provided tools to calculate the window
size instead of doing it ourselves.
src/nsterm.m