comparison src/proto/gui_gtk_x11.pro @ 24162:cb8b9bf76082 v8.2.2622

patch 8.2.2622: GTK: error when starting up and -geometry is given Commit: https://github.com/vim/vim/commit/a555e6fcb6ec97b5ab30b20a340b228f4d820f14 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 18 22:28:57 2021 +0100 patch 8.2.2622: GTK: error when starting up and -geometry is given Problem: GTK: error when starting up and -geometry is given. (Dominique Pell?) Solution: Use another function to get the monitor if the window has not been created yet. (closes #7978)
author Bram Moolenaar <Bram@vim.org>
date Thu, 18 Mar 2021 22:30:04 +0100
parents 5ae41d0ea397
children aade8ef975d5
comparison
equal deleted inserted replaced
24161:2766741b201d 24162:cb8b9bf76082
16 void gui_gtk_set_selection_targets(void); 16 void gui_gtk_set_selection_targets(void);
17 void gui_gtk_set_dnd_targets(void); 17 void gui_gtk_set_dnd_targets(void);
18 int gui_mch_init(void); 18 int gui_mch_init(void);
19 void gui_mch_forked(void); 19 void gui_mch_forked(void);
20 void gui_mch_new_colors(void); 20 void gui_mch_new_colors(void);
21 void gui_gtk_get_screen_geom_of_win(GtkWidget *wid, int point_x, int point_y, int *screen_x, int *screen_y, int *width, int *height);
22 void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
21 int gui_mch_open(void); 23 int gui_mch_open(void);
22 void gui_mch_exit(int rc); 24 void gui_mch_exit(int rc);
23 int gui_mch_get_winpos(int *x, int *y); 25 int gui_mch_get_winpos(int *x, int *y);
24 void gui_mch_set_winpos(int x, int y); 26 void gui_mch_set_winpos(int x, int y);
25 int gui_mch_maximized(void); 27 int gui_mch_maximized(void);
26 void gui_mch_unmaximize(void); 28 void gui_mch_unmaximize(void);
27 void gui_mch_newfont(void); 29 void gui_mch_newfont(void);
28 void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction); 30 void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction);
29 void gui_gtk_get_screen_geom_of_win(GtkWidget *wid, int *screen_x, int *screen_y, int *width, int *height);
30 void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
31 void gui_mch_settitle(char_u *title, char_u *icon); 31 void gui_mch_settitle(char_u *title, char_u *icon);
32 void gui_mch_enable_menu(int showit); 32 void gui_mch_enable_menu(int showit);
33 void gui_mch_show_toolbar(int showit); 33 void gui_mch_show_toolbar(int showit);
34 int gui_mch_adjust_charheight(void); 34 int gui_mch_adjust_charheight(void);
35 char_u *gui_mch_font_dialog(char_u *oldval); 35 char_u *gui_mch_font_dialog(char_u *oldval);