aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 0862e81..e8e3ec2 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -700,7 +700,11 @@ static gboolean im_commit_sig(GtkIMContext *im, gchar *str,
struct presentation *p)
{
if ( p->editing_object == NULL ) {
- printf("IM keypress: %s\n", str);
+ if ( str[0] == 'b' ) {
+ check_toggle_blank(p);
+ } else {
+ printf("IM keypress: %s\n", str);
+ }
return FALSE;
}
if ( p->editing_object->type != OBJ_TEXT ) return FALSE;