summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_shelf.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index a28c1d014b..f69ed7937c 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -1386,29 +1386,25 @@ _e_shelf_cb_mouse_out(void *data, int type, void *event)
case E_GADCON_ORIENT_LEFT:
case E_GADCON_ORIENT_CORNER_LT:
case E_GADCON_ORIENT_CORNER_LB:
- if ((ev->edge == E_ZONE_EDGE_LEFT) &&
- (ev->x >= es->x + es->w))
+ if ((ev->edge == E_ZONE_EDGE_LEFT) && (ev->x >= es->x + es->w))
show = 0;
break;
case E_GADCON_ORIENT_RIGHT:
case E_GADCON_ORIENT_CORNER_RT:
case E_GADCON_ORIENT_CORNER_RB:
- if ((ev->edge == E_ZONE_EDGE_RIGHT) &&
- (ev->x > es->w) || (-ev->x > es->w))
+ if ((ev->edge == E_ZONE_EDGE_RIGHT) && (-ev->x > es->w))
show = 0;
break;
case E_GADCON_ORIENT_TOP:
case E_GADCON_ORIENT_CORNER_TL:
case E_GADCON_ORIENT_CORNER_TR:
- if ((ev->edge == E_ZONE_EDGE_TOP) &&
- (ev->y > es->y + es->h))
+ if ((ev->edge == E_ZONE_EDGE_TOP) && (ev->y > es->y + es->h))
show = 0;
break;
case E_GADCON_ORIENT_BOTTOM:
case E_GADCON_ORIENT_CORNER_BL:
case E_GADCON_ORIENT_CORNER_BR:
- if ((ev->edge == E_ZONE_EDGE_BOTTOM) &&
- (ev->y > es->h) || (-ev->y > es->h))
+ if ((ev->edge == E_ZONE_EDGE_BOTTOM) && (-ev->y > es->h))
show = 0;
break;
default: