diff options
Diffstat (limited to 'src/pgtkterm.c')
| -rw-r--r-- | src/pgtkterm.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 0c286ca1510..d6103d4f151 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c | |||
| @@ -3218,7 +3218,7 @@ pgtk_mouse_position (struct frame **fp, int insist, Lisp_Object * bar_window, | |||
| 3218 | f1 = pgtk_any_window_to_frame (win); | 3218 | f1 = pgtk_any_window_to_frame (win); |
| 3219 | else | 3219 | else |
| 3220 | { | 3220 | { |
| 3221 | // crossing display server? | 3221 | /* crossing display server? */ |
| 3222 | f1 = SELECTED_FRAME (); | 3222 | f1 = SELECTED_FRAME (); |
| 3223 | } | 3223 | } |
| 3224 | } | 3224 | } |
| @@ -3488,8 +3488,8 @@ static struct redisplay_interface pgtk_redisplay_interface = { | |||
| 3488 | gui_clear_end_of_line, | 3488 | gui_clear_end_of_line, |
| 3489 | pgtk_scroll_run, | 3489 | pgtk_scroll_run, |
| 3490 | pgtk_after_update_window_line, | 3490 | pgtk_after_update_window_line, |
| 3491 | NULL, // gui_update_window_begin, | 3491 | NULL, /* gui_update_window_begin, */ |
| 3492 | NULL, // gui_update_window_end, | 3492 | NULL, /* gui_update_window_end, */ |
| 3493 | pgtk_flush_display, | 3493 | pgtk_flush_display, |
| 3494 | gui_clear_window_mouse_face, | 3494 | gui_clear_window_mouse_face, |
| 3495 | gui_get_glyph_overhangs, | 3495 | gui_get_glyph_overhangs, |
| @@ -3505,7 +3505,7 @@ static struct redisplay_interface pgtk_redisplay_interface = { | |||
| 3505 | pgtk_draw_window_cursor, | 3505 | pgtk_draw_window_cursor, |
| 3506 | pgtk_draw_vertical_window_border, | 3506 | pgtk_draw_vertical_window_border, |
| 3507 | pgtk_draw_window_divider, | 3507 | pgtk_draw_window_divider, |
| 3508 | NULL, // pgtk_shift_glyphs_for_insert, | 3508 | NULL, /* pgtk_shift_glyphs_for_insert, */ |
| 3509 | pgtk_show_hourglass, | 3509 | pgtk_show_hourglass, |
| 3510 | pgtk_hide_hourglass, | 3510 | pgtk_hide_hourglass, |
| 3511 | pgtk_default_font_parameter, | 3511 | pgtk_default_font_parameter, |
| @@ -3527,7 +3527,7 @@ pgtk_clear_frame (struct frame *f) | |||
| 3527 | if (!FRAME_DEFAULT_FACE (f)) | 3527 | if (!FRAME_DEFAULT_FACE (f)) |
| 3528 | return; | 3528 | return; |
| 3529 | 3529 | ||
| 3530 | // mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); | 3530 | /* mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); */ |
| 3531 | 3531 | ||
| 3532 | block_input (); | 3532 | block_input (); |
| 3533 | 3533 | ||
| @@ -4794,10 +4794,10 @@ pgtk_create_terminal (struct pgtk_display_info *dpyinfo) | |||
| 4794 | terminal->update_begin_hook = pgtk_update_begin; | 4794 | terminal->update_begin_hook = pgtk_update_begin; |
| 4795 | terminal->update_end_hook = pgtk_update_end; | 4795 | terminal->update_end_hook = pgtk_update_end; |
| 4796 | terminal->read_socket_hook = pgtk_read_socket; | 4796 | terminal->read_socket_hook = pgtk_read_socket; |
| 4797 | // terminal->frame_up_to_date_hook = pgtk_frame_up_to_date; | 4797 | /* terminal->frame_up_to_date_hook = pgtk_frame_up_to_date; */ |
| 4798 | terminal->mouse_position_hook = pgtk_mouse_position; | 4798 | terminal->mouse_position_hook = pgtk_mouse_position; |
| 4799 | terminal->frame_rehighlight_hook = XTframe_rehighlight; | 4799 | terminal->frame_rehighlight_hook = XTframe_rehighlight; |
| 4800 | // terminal->frame_raise_lower_hook = pgtk_frame_raise_lower; | 4800 | /* terminal->frame_raise_lower_hook = pgtk_frame_raise_lower; */ |
| 4801 | terminal->frame_visible_invisible_hook = pgtk_make_frame_visible_invisible; | 4801 | terminal->frame_visible_invisible_hook = pgtk_make_frame_visible_invisible; |
| 4802 | terminal->fullscreen_hook = pgtk_fullscreen_hook; | 4802 | terminal->fullscreen_hook = pgtk_fullscreen_hook; |
| 4803 | terminal->menu_show_hook = pgtk_menu_show; | 4803 | terminal->menu_show_hook = pgtk_menu_show; |
| @@ -4838,7 +4838,7 @@ struct pgtk_window_is_of_frame_recursive_t | |||
| 4838 | { | 4838 | { |
| 4839 | GdkWindow *window; | 4839 | GdkWindow *window; |
| 4840 | bool result; | 4840 | bool result; |
| 4841 | GtkWidget *emacs_gtk_fixed; // stop on emacsgtkfixed other than this. | 4841 | GtkWidget *emacs_gtk_fixed; /* stop on emacsgtkfixed other than this. */ |
| 4842 | }; | 4842 | }; |
| 4843 | 4843 | ||
| 4844 | static void | 4844 | static void |
| @@ -5487,7 +5487,7 @@ key_press_event (GtkWidget * widget, GdkEvent * event, gpointer * user_data) | |||
| 5487 | evq_enqueue (&inev); | 5487 | evq_enqueue (&inev); |
| 5488 | } | 5488 | } |
| 5489 | 5489 | ||
| 5490 | // count += nchars; | 5490 | /* count += nchars; */ |
| 5491 | 5491 | ||
| 5492 | inev.ie.kind = NO_EVENT; /* Already stored above. */ | 5492 | inev.ie.kind = NO_EVENT; /* Already stored above. */ |
| 5493 | 5493 | ||
| @@ -5501,7 +5501,7 @@ done: | |||
| 5501 | { | 5501 | { |
| 5502 | XSETFRAME (inev.ie.frame_or_window, f); | 5502 | XSETFRAME (inev.ie.frame_or_window, f); |
| 5503 | evq_enqueue (&inev); | 5503 | evq_enqueue (&inev); |
| 5504 | // count++; | 5504 | /* count++; */ |
| 5505 | } | 5505 | } |
| 5506 | 5506 | ||
| 5507 | SAFE_FREE (); | 5507 | SAFE_FREE (); |
| @@ -6831,7 +6831,7 @@ A value of nil means Emacs doesn't use toolkit scroll bars. | |||
| 6831 | With the X Window system, the value is a symbol describing the | 6831 | With the X Window system, the value is a symbol describing the |
| 6832 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | 6832 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. |
| 6833 | With MS Windows or Nextstep, the value is t. */ ); | 6833 | With MS Windows or Nextstep, the value is t. */ ); |
| 6834 | // Vx_toolkit_scroll_bars = Qt; | 6834 | /* Vx_toolkit_scroll_bars = Qt; */ |
| 6835 | Vx_toolkit_scroll_bars = intern_c_string ("gtk"); | 6835 | Vx_toolkit_scroll_bars = intern_c_string ("gtk"); |
| 6836 | 6836 | ||
| 6837 | DEFVAR_BOOL ("x-use-underline-position-properties", x_use_underline_position_properties, | 6837 | DEFVAR_BOOL ("x-use-underline-position-properties", x_use_underline_position_properties, |