Launcher: full width clicks if 1 row or 1 column of icons (issue #572)
o9000 mrovi9000@gmail.com
1 files changed,
10 insertions(+),
0 deletions(-)
jump to
M
src/launcher/launcher.c
→
src/launcher/launcher.c
@@ -294,6 +294,16 @@ }
} } + if ((panel_horizontal && icons_per_column == 1) || (!panel_horizontal && icons_per_row == 1)) { + launcher->area._is_under_mouse = full_width_area_is_under_mouse; + for (GSList *l = launcher->list_icons; l; l = l->next) + ((LauncherIcon *)l->data)->area._is_under_mouse = full_width_area_is_under_mouse; + } else { + launcher->area._is_under_mouse = NULL; + for (GSList *l = launcher->list_icons; l; l = l->next) + ((LauncherIcon *)l->data)->area._is_under_mouse = NULL; + } + return TRUE; }