pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.77k stars 262 forks source link

fix: Restore Qt titlebar hiding in GNOME <43 #1684

Closed jacobgkau closed 6 months ago

jacobgkau commented 6 months ago

Fixes https://github.com/pop-os/shell/issues/1671. Fixes regression introduced in https://github.com/pop-os/shell/pull/1661.

This should allow titlebars of Qt windows to be hidden again in Pop!_OS 22.04 with GNOME 42, while still allowing titlebars to be hidden in GNOME 43 and 44. (45+ don't use this branch.)

jacobgkau commented 6 months ago

Ok, this now seems to work on Pop!_OS 22.04 with both KWrite (Qt) and LibreOffice (non-Qt).

It still works for LibreOffice on Fedora 38 with GNOME 44. (It does not work for KWrite on GNOME 44, but that is not a regression.)