Launcher: full width clicks if 1 row or 1 column of icons (issue #572)
This commit is contained in:
parent
6e6dff2ca3
commit
7dc24b8ee6
1 changed files with 10 additions and 0 deletions
|
@ -294,6 +294,16 @@ gboolean resize_launcher(void *obj)
|
|||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue