scorninpc / php-gtk3

GTK3 extension for PHP
https://andor.com.br/
GNU Lesser General Public License v3.0
118 stars 13 forks source link

Title bar and borders in i3 #103

Closed d47081 closed 6 months ago

d47081 commented 6 months ago

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?

scorninpc commented 6 months ago

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 6 months ago

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.

scorninpc commented 6 months ago

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

d47081 commented 6 months ago

lol, I have attached the link above :)

here is one https://i3wm.org

scorninpc commented 6 months ago

lol, I have attached the link above :)

Oh! sorry hahaha nice to know