gtk4: fix menu and window border
This fixes some minor but annoying issues.
-
Black menubar top corner on non-csd windows (commit 72c0a3d0); menu shadow and highlight issues (commit 1f96f0a3). Tested with the
gtk4-demo-application.This was implemented by adding extra 1px margin to the menu item, so it would make the menu a litter bigger in total.
before after 

-
Window control button overflow issues on csd titlebar (commit f57f06d2). This was first addressed in !90 before, but according to the comments, their implementation breaks Fitts' Law. I carefully tweaked the CSS values to make sure that the border of windowbuttons extend to both top and bottom of the titlebar without overflowing. Tested with the
gtk4-demoand its built-in inspector.before after 

Edited by Rocket Aaron



