diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-19 05:43:20 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-19 05:43:20 (EDT) |
commit | c78c15fc07dbfe326d93512265e8aacab200d677 (patch) | |
tree | e3c0b2337d8cc6b6641bdf396d2df3d4ad1512a8 | |
parent | 82896907ca9402fef0bc90ff1d1c8cdeb16c3c53 (diff) | |
download | marquee-c78c15fc07dbfe326d93512265e8aacab200d677.zip marquee-c78c15fc07dbfe326d93512265e8aacab200d677.tar.gz marquee-c78c15fc07dbfe326d93512265e8aacab200d677.tar.bz2 |
src/window.c: Disable focus on tab popover buttons
And sneak in a TODO comment.
-rw-r--r-- | src/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 37c1f8f..f4bd9c2 100644 --- a/src/window.c +++ b/src/window.c @@ -31,6 +31,7 @@ buttons[I] = gtk_button_new_from_icon_name(NAME, \ GTK_ICON_SIZE_BUTTON); \ gtk_widget_set_tooltip_text(buttons[I], TOOLTIP); \ + gtk_widget_set_can_focus(buttons[I], FALSE); \ gtk_box_pack_start(GTK_BOX(BOX ? all_tabs_button_box : \ current_tab_button_box), buttons[I], \ TRUE, FALSE, 0); \ @@ -44,7 +45,7 @@ tab_label_button_press_cb(GtkWidget *widget, GdkEvent *event, MqTab *tab) GtkWidget *buttons[7]; GtkWidget *button_rows_box; GtkWidget *stack; - GtkWidget *popover; + GtkWidget *popover; /* TODO: Add to MqWindow */ /* Make sure this is a right mouse button press event. */ if (event->type != GDK_BUTTON_PRESS || event->button.button != 3) { |