]> git.eshelyaron.com Git - emacs.git/commit
Handle negative top/left in frame parameters (Bug#7510).
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 2 Dec 2010 07:12:54 +0000 (08:12 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 2 Dec 2010 07:12:54 +0000 (08:12 +0100)
commit2a91a0b5c0d208696fc327373bc4d37fd376c59c
treee4cb00d760684cc2ce344c80570bb83d8bbb0226
parent9e0ecdabca1627cec85a38dc48a30b6386036199
Handle negative top/left in frame parameters (Bug#7510).

* src/nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.

* src/nsterm.m (x_set_window_size, windowWillResize, initFrameFromEmacs):
Use FRAME_TOOLBAR_HEIGHT.
(x_set_offset): Handle XNegative and YNegative in
f->size_hint_flags.
src/ChangeLog
src/nsterm.h
src/nsterm.m