diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/w32term.c b/src/w32term.c index b6cc61df2a5..796a341ae0c 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -272,6 +272,11 @@ static void x_draw_hollow_cursor P_ ((struct window *, struct glyph_row *)); | |||
| 272 | static void x_draw_bar_cursor P_ ((struct window *, struct glyph_row *, int, | 272 | static void x_draw_bar_cursor P_ ((struct window *, struct glyph_row *, int, |
| 273 | enum text_cursor_kinds)); | 273 | enum text_cursor_kinds)); |
| 274 | static void w32_clip_to_row P_ ((struct window *, struct glyph_row *, int, HDC)); | 274 | static void w32_clip_to_row P_ ((struct window *, struct glyph_row *, int, HDC)); |
| 275 | static BOOL my_show_window P_ ((struct frame *, HWND, int)); | ||
| 276 | static void my_set_window_pos P_ ((HWND, HWND, int, int, int, int, UINT)); | ||
| 277 | static void my_set_focus P_ ((struct frame *, HWND)); | ||
| 278 | static void my_set_foreground_window P_ ((HWND)); | ||
| 279 | static void my_destroy_window P_ ((struct frame *, HWND)); | ||
| 275 | 280 | ||
| 276 | static Lisp_Object Qvendor_specific_keysyms; | 281 | static Lisp_Object Qvendor_specific_keysyms; |
| 277 | 282 | ||
| @@ -3632,7 +3637,7 @@ my_create_scrollbar (f, bar) | |||
| 3632 | 3637 | ||
| 3633 | /*#define ATTACH_THREADS*/ | 3638 | /*#define ATTACH_THREADS*/ |
| 3634 | 3639 | ||
| 3635 | BOOL | 3640 | static BOOL |
| 3636 | my_show_window (FRAME_PTR f, HWND hwnd, int how) | 3641 | my_show_window (FRAME_PTR f, HWND hwnd, int how) |
| 3637 | { | 3642 | { |
| 3638 | #ifndef ATTACH_THREADS | 3643 | #ifndef ATTACH_THREADS |
| @@ -3643,7 +3648,7 @@ my_show_window (FRAME_PTR f, HWND hwnd, int how) | |||
| 3643 | #endif | 3648 | #endif |
| 3644 | } | 3649 | } |
| 3645 | 3650 | ||
| 3646 | void | 3651 | static void |
| 3647 | my_set_window_pos (HWND hwnd, HWND hwndAfter, | 3652 | my_set_window_pos (HWND hwnd, HWND hwndAfter, |
| 3648 | int x, int y, int cx, int cy, UINT flags) | 3653 | int x, int y, int cx, int cy, UINT flags) |
| 3649 | { | 3654 | { |
| @@ -3661,7 +3666,7 @@ my_set_window_pos (HWND hwnd, HWND hwndAfter, | |||
| 3661 | #endif | 3666 | #endif |
| 3662 | } | 3667 | } |
| 3663 | 3668 | ||
| 3664 | void | 3669 | static void |
| 3665 | my_set_focus (f, hwnd) | 3670 | my_set_focus (f, hwnd) |
| 3666 | struct frame * f; | 3671 | struct frame * f; |
| 3667 | HWND hwnd; | 3672 | HWND hwnd; |
| @@ -3670,14 +3675,15 @@ my_set_focus (f, hwnd) | |||
| 3670 | (WPARAM) hwnd, 0); | 3675 | (WPARAM) hwnd, 0); |
| 3671 | } | 3676 | } |
| 3672 | 3677 | ||
| 3673 | void | 3678 | static void |
| 3674 | my_set_foreground_window (hwnd) | 3679 | my_set_foreground_window (hwnd) |
| 3675 | HWND hwnd; | 3680 | HWND hwnd; |
| 3676 | { | 3681 | { |
| 3677 | SendMessage (hwnd, WM_EMACS_SETFOREGROUND, (WPARAM) hwnd, 0); | 3682 | SendMessage (hwnd, WM_EMACS_SETFOREGROUND, (WPARAM) hwnd, 0); |
| 3678 | } | 3683 | } |
| 3679 | 3684 | ||
| 3680 | void | 3685 | |
| 3686 | static void | ||
| 3681 | my_destroy_window (f, hwnd) | 3687 | my_destroy_window (f, hwnd) |
| 3682 | struct frame * f; | 3688 | struct frame * f; |
| 3683 | HWND hwnd; | 3689 | HWND hwnd; |