- } else if (dosel && item->isSelected() &&
- (menu.sel_pixmap != ParentRelative)) {
- if (menu.sel_pixmap)
- XCopyArea(display, menu.sel_pixmap, menu.frame, hipen.gc(), 0, 0,
- half_w, half_w, sel_x, sel_y);
- else
- XFillRectangle(display, menu.frame, hipen.gc(), sel_x, sel_y, half_w, half_w);
+ }
+
+ if (dooppsel && item->isSelected()) {
+ XPoint pts[6];
+
+ pts[0].x = oppsel_x + 0;
+ pts[0].y = sel_y + 2;
+
+ pts[1].x = 0;
+ pts[1].y = 3;
+
+ pts[2].x = 2;
+ pts[2].y = 3;
+
+ pts[3].x = 5;
+ pts[3].y = -5;
+
+
+ pts[4].x = 0;
+ pts[4].y = -3;
+
+ pts[5].x = -5;
+ pts[5].y = 5;
+
+ XFillPolygon(display, menu.frame, pen.gc(), pts, 6, Nonconvex,
+ CoordModePrevious);