mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
gtk: remove thin, white border
The GTK app has a really thin, white border around the terminal contents. It's really distracting when in fullscreen. At first I thought it's the window that has a border, but turns out that's not it. It's the GTK Notebook widget. Luckily for us, GTK4 has a single API call that allows us to turn off the border.
This commit is contained in:
@ -336,6 +336,7 @@ const Window = struct {
|
||||
c.gtk_notebook_set_tab_pos(notebook, c.GTK_POS_TOP);
|
||||
c.gtk_notebook_set_scrollable(notebook, 1);
|
||||
c.gtk_notebook_set_show_tabs(notebook, 0);
|
||||
c.gtk_notebook_set_show_border(notebook, 0);
|
||||
|
||||
// Create our add button for new tabs
|
||||
const notebook_add_btn = c.gtk_button_new_from_icon_name("list-add-symbolic");
|
||||
|
Reference in New Issue
Block a user