Mercurial > vim
comparison src/gui_x11.c @ 7825:7898da204b98 v7.4.1209
commit https://github.com/vim/vim/commit/02fdaeaa697fb5af4ba7fee6e209b3c2c825bb4f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 18:13:55 2016 +0100
patch 7.4.1209
Problem: Can't build with Athena.
Solution: Fix function declarations.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 18:15:04 +0100 |
parents | bcef391c101c |
children | 226ed297307f |
comparison
equal
deleted
inserted
replaced
7824:de0431decd10 | 7825:7898da204b98 |
---|---|
1759 | 1759 |
1760 /* | 1760 /* |
1761 * Get the position of the top left corner of the window. | 1761 * Get the position of the top left corner of the window. |
1762 */ | 1762 */ |
1763 int | 1763 int |
1764 gui_mch_get_winpos(int *x, *y) | 1764 gui_mch_get_winpos(int *x, int *y) |
1765 { | 1765 { |
1766 Dimension xpos, ypos; | 1766 Dimension xpos, ypos; |
1767 | 1767 |
1768 XtVaGetValues(vimShell, | 1768 XtVaGetValues(vimShell, |
1769 XtNx, &xpos, | 1769 XtNx, &xpos, |
1777 /* | 1777 /* |
1778 * Set the position of the top left corner of the window to the given | 1778 * Set the position of the top left corner of the window to the given |
1779 * coordinates. | 1779 * coordinates. |
1780 */ | 1780 */ |
1781 void | 1781 void |
1782 gui_mch_set_winpos(int x, y) | 1782 gui_mch_set_winpos(int x, int y) |
1783 { | 1783 { |
1784 XtVaSetValues(vimShell, | 1784 XtVaSetValues(vimShell, |
1785 XtNx, x, | 1785 XtNx, x, |
1786 XtNy, y, | 1786 XtNy, y, |
1787 NULL); | 1787 NULL); |
3179 static long_u blink_ontime = 400; | 3179 static long_u blink_ontime = 400; |
3180 static long_u blink_offtime = 250; | 3180 static long_u blink_offtime = 250; |
3181 static XtIntervalId blink_timer = (XtIntervalId)0; | 3181 static XtIntervalId blink_timer = (XtIntervalId)0; |
3182 | 3182 |
3183 void | 3183 void |
3184 gui_mch_set_blinking(long waittime, on, off) | 3184 gui_mch_set_blinking(long waittime, long on, long off) |
3185 { | 3185 { |
3186 blink_waittime = waittime; | 3186 blink_waittime = waittime; |
3187 blink_ontime = on; | 3187 blink_ontime = on; |
3188 blink_offtime = off; | 3188 blink_offtime = off; |
3189 } | 3189 } |