bbidulock / icewm

A window manager designed for speed, usability, and consistency
Other
597 stars 99 forks source link

Add feature to force enable window decorations for GTK applications #738

Closed plomari closed 1 year ago

plomari commented 1 year ago

Unfortunately GNOME continues their anti-user war, and unfortunately, many programs still use GTK.

Anyway, one of the problems with GTK is that more and more GTK applications seem to disable native window decorations. They use something that appears to be hardcoded for the GNOME desktop instead. I suspect it happens when applications call gtk_window_set_titlebar().

Would it be possible to detect GTK applications and disable the request to remove window borders automatically? Alternatively, a mechanism for winoptions to force decorations, or a window menu command to do that would help.

gijsbers commented 1 year ago

Why on earth did you think this isn't already possible with icewm?

gedit.dBorder:  1
gedit.dResize: 1
gedit.dTitleBar:  1

Why on earth do I have to document and explain everything thrice?

plomari commented 1 year ago

Sorry. I even looked at https://ice-wm.org/man/icewm-winoptions (but somehow overlooked it). It works, thank you very much!

gijsbers commented 1 year ago

Supported since 0.8.6 (1997). Duplicate of #227.