Mercurial > hg > xemacs-beta
diff src/device-msw.c @ 4478:ec442dc06fe1
Merge.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 10 Jul 2008 23:37:52 +0200 |
parents | e34711681f30 |
children | a98ca4640147 e0db3c197671 |
line wrap: on
line diff
--- a/src/device-msw.c Thu Jul 10 17:05:59 2008 +0200 +++ b/src/device-msw.c Thu Jul 10 23:37:52 2008 +0200 @@ -60,7 +60,8 @@ HSZ mswindows_dde_item_open; #endif -Lisp_Object Qinit_pre_mswindows_win, Qinit_post_mswindows_win; +Lisp_Object Qmake_device_early_mswindows_entry_point, + Qmake_device_late_mswindows_entry_point; Lisp_Object Qdevmodep; static Lisp_Object Q_allow_selection; @@ -157,6 +158,8 @@ HDC hdc; WNDCLASSEXW wc; + call0 (Qmake_device_early_mswindows_entry_point); + DEVICE_CLASS (d) = Qcolor; DEVICE_INFD (d) = DEVICE_OUTFD (d) = -1; init_baud_rate (d); @@ -273,13 +276,14 @@ } static void -mswindows_finish_init_device (struct device *UNUSED (d), +mswindows_finish_init_device (struct device *d, Lisp_Object UNUSED (props)) { #ifdef HAVE_DRAGNDROP /* Tell pending clients we are ready. */ mswindows_dde_enable = 1; #endif + call1 (Qmake_device_late_mswindows_entry_point, wrap_device(d)); } static void @@ -1393,8 +1397,8 @@ DEFKEYWORD (Q_selected_page_button); DEFSYMBOL (Qselected_page_button); - DEFSYMBOL (Qinit_pre_mswindows_win); - DEFSYMBOL (Qinit_post_mswindows_win); + DEFSYMBOL (Qmake_device_early_mswindows_entry_point); + DEFSYMBOL ( Qmake_device_late_mswindows_entry_point); } void