]> git.eshelyaron.com Git - emacs.git/commit
Rewrite and add frame geometry related functions.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 18 Aug 2015 14:45:27 +0000 (16:45 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 18 Aug 2015 14:45:27 +0000 (16:45 +0200)
commitc29a51df2de7eb800edf8e2235ee6c34bd1c9562
tree6565569f905ccf1ea699f90f0390b43ed2c2b38b
parentab759c2241e759ba7783323bbfef137bc0a08634
Rewrite and add frame geometry related functions.

* src/frame.c (Fframe_position): New function.
(Fset_frame_position): Rename parameters and rewrite doc-string.
(syms_of_frame): Remove Qframe_position, Qframe_outer_size,
Qtitle_height and Qframe_inner_size.  Add Qouter_edges,
Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
Qtitle_bar_size.
* src/nsfns.m (frame_geometry): New function.
(Fx_frame_geometry): Call frame_geometry.
(Fx_frame_edges): New function.
* src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
(GetTitleBarInfo_Proc): Define these so we can use the
GetTitleBarInfo API.
(Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
(Fx_frame_geometry): Rewrite.
(Fx_frame_edges, Fx_mouse_absolute_pixel_position)
(Fx_set_mouse_absolute_pixel_position): New functions.
* src/xfns.c (frame_geometry): New function.
(Fx_frame_geometry): Call frame_geometry.
(Fx_frame_edges, Fx_mouse_absolute_pixel_position)
(Fx_set_mouse_absolute_pixel_position): New functions.
src/frame.c
src/nsfns.m
src/w32fns.c
src/xfns.c