Fix a bug in detecting the button area in a frame window
This commit is contained in:
parent
1ce3f20fa4
commit
a08f9d42fc
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static void forceFrameRedraw(GWidgetObject *gw) {
|
|||
coord_t pos;
|
||||
|
||||
// We must be clicking on the frame button area to be of interest
|
||||
if (y < BUTTON_T && y >= BUTTON_T+BUTTON_Y)
|
||||
if (y < BUTTON_T || y >= BUTTON_T+BUTTON_Y)
|
||||
return;
|
||||
|
||||
pos = gw->g.width - (BORDER_R+BUTTON_X);
|
||||
|
|
Loading…
Add table
Reference in a new issue