diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pgtkfns.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index dd2e305965a..38e60858432 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c | |||
| @@ -3872,6 +3872,21 @@ nil, it defaults to the selected frame. */) | |||
| 3872 | return unbind_to (count, font); | 3872 | return unbind_to (count, font); |
| 3873 | } | 3873 | } |
| 3874 | 3874 | ||
| 3875 | #if GTK_CHECK_VERSION (3, 14, 0) | ||
| 3876 | DEFUN ("x-gtk-debug", Fx_gtk_debug, Sx_gtk_debug, 1, 1, 0, | ||
| 3877 | doc: /* Toggle interactive GTK debugging. */) | ||
| 3878 | (Lisp_Object enable) | ||
| 3879 | { | ||
| 3880 | gboolean enable_debug = !NILP (enable); | ||
| 3881 | |||
| 3882 | block_input (); | ||
| 3883 | gtk_window_set_interactive_debugging (enable_debug); | ||
| 3884 | unblock_input (); | ||
| 3885 | |||
| 3886 | return NILP (enable) ? Qnil : Qt; | ||
| 3887 | } | ||
| 3888 | #endif /* GTK_CHECK_VERSION (3, 14, 0) */ | ||
| 3889 | |||
| 3875 | /* ========================================================================== | 3890 | /* ========================================================================== |
| 3876 | 3891 | ||
| 3877 | Lisp interface declaration | 3892 | Lisp interface declaration |
| @@ -3971,6 +3986,10 @@ be used as the image of the icon representing the frame. */); | |||
| 3971 | defsubr (&Sx_close_connection); | 3986 | defsubr (&Sx_close_connection); |
| 3972 | defsubr (&Sx_display_list); | 3987 | defsubr (&Sx_display_list); |
| 3973 | 3988 | ||
| 3989 | #if GTK_CHECK_VERSION (3, 14, 0) | ||
| 3990 | defsubr (&Sx_gtk_debug); | ||
| 3991 | #endif | ||
| 3992 | |||
| 3974 | defsubr (&Spgtk_hide_others); | 3993 | defsubr (&Spgtk_hide_others); |
| 3975 | defsubr (&Spgtk_hide_emacs); | 3994 | defsubr (&Spgtk_hide_emacs); |
| 3976 | 3995 | ||