all repos — tint2 @ 7dc24b8ee6833fe5af96d8f22d6ee5225b6ab344

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Launcher: full width clicks if 1 row or 1 column of icons (issue #572)
o9000 mrovi9000@gmail.com
commit

7dc24b8ee6833fe5af96d8f22d6ee5225b6ab344

parent

6e6dff2ca36a2a14d013931858355333a69a1ab6

1 files changed, 10 insertions(+), 0 deletions(-)

jump to
M src/launcher/launcher.csrc/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; }