mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 12:55:41 +02:00
bar: xcb: remove unneeded braces
This commit is contained in:
parent
7f1567c973
commit
404a7a7dcd
1 changed files with 1 additions and 2 deletions
|
@ -395,9 +395,8 @@ set_cursor(struct bar *_bar, const char *cursor)
|
|||
if (backend->cursor_ctx == NULL)
|
||||
return;
|
||||
|
||||
if (backend->cursor != 0) {
|
||||
if (backend->cursor != 0)
|
||||
xcb_free_cursor(backend->conn, backend->cursor);
|
||||
}
|
||||
|
||||
backend->cursor = xcb_cursor_load_cursor(backend->cursor_ctx, cursor);
|
||||
xcb_change_window_attributes(
|
||||
|
|
Loading…
Add table
Reference in a new issue