scorninpc/php-gtk3

Title bar and borders in i3

d47081 opened this issue · 5 comments

d47081 commented

I found my application launched without title bar and borders in i3, where other apps have.

2024-05-07_08-57

is any way to init GTK 3 app with this feature enabled?

Hello @d47081

Can you provide a example code?

What is "i3"?

This is not a Gtk feature, this is a window manager feature. If you want remove bars and borders, you need to tell Gtk to pass to WM, to not render bars and borders. You dont need to change anything to render that

provide your code, I can help more

d47081 commented

Thanks, I have just solved with following option in i3 config

for_window [all] border normal

but strange default_border option does not work there, like something overwrites defaults, even I'm using native i3 build on pretty regular Debian 12, so asking here - maybe somebody know API dependency.

anyway, some other GTK 3 apps had same problem, so closing by solution above.

What do you mean i3 ? i just know intel i3 processor :P

d47081 commented

lol, I have attached the link above :)

here is one https://i3wm.org

lol, I have attached the link above :)

Oh! sorry hahaha nice to know