Merge branch 'cursor' of https://github.com/vodik/termite into cursor-blink
This commit is contained in:
commit
178859fe3c
1
config.h
1
config.h
|
@ -15,6 +15,7 @@ static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
|
||||||
|
|
||||||
static const char *font = "Monospace 9";
|
static const char *font = "Monospace 9";
|
||||||
static const long scrollback_lines = 1000;
|
static const long scrollback_lines = 1000;
|
||||||
|
static const bool cursor_blink = false;
|
||||||
|
|
||||||
static const char *foreground_color = "#dcdccc";
|
static const char *foreground_color = "#dcdccc";
|
||||||
static const char *background_color = "#3f3f3f";
|
static const char *background_color = "#3f3f3f";
|
||||||
|
|
|
@ -261,6 +261,9 @@ int main(int argc, char **argv) {
|
||||||
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
|
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
|
||||||
gtk_window_set_has_resize_grip(GTK_WINDOW(window), resize_grip);
|
gtk_window_set_has_resize_grip(GTK_WINDOW(window), resize_grip);
|
||||||
|
|
||||||
|
if (!cursor_blink)
|
||||||
|
vte_terminal_set_cursor_blink_mode(VTE_TERMINAL(vte), VTE_CURSOR_BLINK_OFF);
|
||||||
|
|
||||||
#ifdef TRANSPARENCY
|
#ifdef TRANSPARENCY
|
||||||
GdkScreen *screen = gtk_widget_get_screen(window);
|
GdkScreen *screen = gtk_widget_get_screen(window);
|
||||||
GdkVisual *visual = gdk_screen_get_rgba_visual(screen);
|
GdkVisual *visual = gdk_screen_get_rgba_visual(screen);
|
||||||
|
|
Loading…
Reference in New Issue