all repos — tint2 @ dc191668fe18893e112b2784c2412d89d3ff74ec

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

Revert 580c3e76 (issue #572)
o9000 mrovi9000@gmail.com
commit

dc191668fe18893e112b2784c2412d89d3ff74ec

parent

955be3658b29407efa4b3aa93349e38887327a7e

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/util/area.csrc/util/area.c

@@ -664,9 +664,9 @@ if (a->_is_under_mouse && a->_is_under_mouse != full_width_area_is_under_mouse)

return a->_is_under_mouse(a, x, y); if (panel_horizontal) - return (x >= a->posx || area_is_first(a)) && (x <= a->posx + a->width || area_is_last(a)); + return (x >= a->posx) && (x <= a->posx + a->width); else - return (y >= a->posy || area_is_first(a)) && (y <= a->posy + a->height || area_is_last(a)); + return (y >= a->posy) && (y <= a->posy + a->height); } Area *find_area_under_mouse(void *root, int x, int y)