X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle_popup.c;h=1d37ae9c0c3ee7c06b4562f0249feb8f9a2fe392;hb=92bbd733fa1a8fbc5eebf207932bf26be0251894;hp=e418d96fadb26c202e1bb65fc2c60c3b20823ac1;hpb=0369732c35b42b272eb66da4a54b37f253037049;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index e418d96f..1d37ae9c 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -368,6 +368,8 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c) (4*screen_area->height/5) /* 80% of the screen */ / MAX(HILITE_SIZE, texth)); /* height of each row */ + /* but make sure there is always one */ + icon_rows = MAX(icon_rows, 1); } /* get the text width */