Skip to content

Commit

Permalink
fix statusbar opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbush committed Jun 11, 2023
1 parent d4bf3c1 commit 11b23b0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions widget.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@ drawstatusbar(Widget *widget)
/* clear previous content */
XRenderFillRectangle(
widget->display,
PictOpSrc,
PictOpClear,
widget->layers[LAYER_STATUSBAR].pict,
&widget->colors[SELECT_NOT][COLOR_BG].chans,
&(XRenderColor){ 0 },
0, 0, widget->winw, STATUSBAR_HEIGHT(widget)
);

Expand Down Expand Up @@ -624,9 +624,9 @@ drawstatusbar(Widget *widget)
/* clear content below right side of statusbar */
XRenderFillRectangle(
widget->display,
PictOpSrc,
PictOpClear,
widget->layers[LAYER_STATUSBAR].pict,
&widget->colors[SELECT_NOT][COLOR_BG].chans,
&(XRenderColor){ 0 },
widget->winw - rightwid, 0,
rightwid,
STATUSBAR_HEIGHT(widget)
Expand Down Expand Up @@ -1131,7 +1131,7 @@ commitdraw(Widget *widget)
PictOpClear,
widget->layers[LAYER_CANVAS].pict,
&(XRenderColor){ 0 },
0, 0, widget->w, widget->h
0, 0, widget->winw, widget->winh
);
XRenderComposite(
widget->display,
Expand Down

0 comments on commit 11b23b0

Please sign in to comment.