diff options
| author | jave | 2009-01-01 03:09:46 +0100 |
|---|---|---|
| committer | jave | 2009-01-01 03:09:46 +0100 |
| commit | aae452aab234e9d81243b3a9d69725e3ec601aff (patch) | |
| tree | a48de4940f58f819888bf4c7b199b23492c22915 /src | |
| parent | 79030ea223b8329fe048f285badd92208f9f60aa (diff) | |
| download | emacs-aae452aab234e9d81243b3a9d69725e3ec601aff.tar.gz emacs-aae452aab234e9d81243b3a9d69725e3ec601aff.zip | |
whitespace cleanup
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 58fb8866c98..5354b06253f 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2686,6 +2686,7 @@ x_draw_glyph_string (struct glyph_string *s) | |||
| 2686 | case IMAGE_GLYPH: | 2686 | case IMAGE_GLYPH: |
| 2687 | x_draw_image_glyph_string (s); | 2687 | x_draw_image_glyph_string (s); |
| 2688 | break; | 2688 | break; |
| 2689 | |||
| 2689 | #ifdef HAVE_XWIDGETS | 2690 | #ifdef HAVE_XWIDGETS |
| 2690 | case XWIDGET_GLYPH: | 2691 | case XWIDGET_GLYPH: |
| 2691 | //erase xwidget background | 2692 | //erase xwidget background |
| @@ -8032,12 +8033,12 @@ x_draw_bar_cursor (struct window *w, struct glyph_row *row, int width, enum text | |||
| 8032 | cursor_glyph = get_phys_cursor_glyph (w); | 8033 | cursor_glyph = get_phys_cursor_glyph (w); |
| 8033 | if (cursor_glyph == NULL) | 8034 | if (cursor_glyph == NULL) |
| 8034 | return; | 8035 | return; |
| 8035 | #ifdef HAVE_XWIDGETS | 8036 | #ifdef HAVE_XWIDGETS |
| 8036 | if (cursor_glyph->type == XWIDGET_GLYPH){ | 8037 | if (cursor_glyph->type == XWIDGET_GLYPH){ |
| 8037 | printf("tried avoiding xwidget cursor\n"); | 8038 | printf("tried avoiding xwidget cursor\n"); |
| 8038 | return; //experimental avoidance of cursor on xwidget | 8039 | return; //experimental avoidance of cursor on xwidget |
| 8039 | } | 8040 | } |
| 8040 | #endif | 8041 | #endif |
| 8041 | /* If on an image, draw like a normal cursor. That's usually better | 8042 | /* If on an image, draw like a normal cursor. That's usually better |
| 8042 | visible than drawing a bar, esp. if the image is large so that | 8043 | visible than drawing a bar, esp. if the image is large so that |
| 8043 | the bar might not be in the window. */ | 8044 | the bar might not be in the window. */ |
| @@ -10756,6 +10757,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) | |||
| 10756 | https://bugzilla.gnome.org/show_bug.cgi?id=563627. */ | 10757 | https://bugzilla.gnome.org/show_bug.cgi?id=563627. */ |
| 10757 | id = g_log_set_handler ("GLib", G_LOG_LEVEL_WARNING | G_LOG_FLAG_FATAL | 10758 | id = g_log_set_handler ("GLib", G_LOG_LEVEL_WARNING | G_LOG_FLAG_FATAL |
| 10758 | | G_LOG_FLAG_RECURSION, my_log_handler, NULL); | 10759 | | G_LOG_FLAG_RECURSION, my_log_handler, NULL); |
| 10760 | |||
| 10759 | /* NULL window -> events for all windows go to our function. | 10761 | /* NULL window -> events for all windows go to our function. |
| 10760 | Call before gtk_init so Gtk+ event filters comes after our. */ | 10762 | Call before gtk_init so Gtk+ event filters comes after our. */ |
| 10761 | gdk_window_add_filter (NULL, event_handler_gdk, NULL); | 10763 | gdk_window_add_filter (NULL, event_handler_gdk, NULL); |