Skip to content

Commit

Permalink
[View] xcb_clear_area fixed wrong argument order.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDavenport committed Feb 18, 2025
1 parent c609e5e commit 47053f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/view.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@ void rofi_view_set_selected_line(RofiViewState *state,
}
}
listview_set_selected(state->list_view, selected);
xcb_clear_area(xcb->connection, CacheState.main_window, 1, 0, 0, 1, 1);
// Clear the window and force an expose event resulting in a redraw.
xcb_clear_area(xcb->connection, 1, CacheState.main_window, 0, 0, 1, 1);
xcb_flush(xcb->connection);
}

Expand Down

0 comments on commit 47053f3

Please sign in to comment.