Skip to content

Commit

Permalink
theme: limit corner radius to the height of the titlebar
Browse files Browse the repository at this point in the history
  • Loading branch information
johanmalm committed Jul 17, 2023
1 parent 318d881 commit aef5b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ post_processing(struct theme *theme)
+ 2 * theme->osd_window_switcher_item_active_border_width;

if (rc.corner_radius >= theme->title_height) {
theme->title_height = rc.corner_radius + 1;
rc.corner_radius = theme->title_height - 1;
}

if (theme->menu_max_width < theme->menu_min_width) {
Expand Down

0 comments on commit aef5b45

Please sign in to comment.