forked from external/yambar
bar: set_cursor(): new interface function, to set the X cursor
Use this to explicitly set the initial/default cursor to "left_ptr"
This commit is contained in:
parent
ce68bdb59d
commit
1b50808da5
3 changed files with 39 additions and 7 deletions
2
bar.h
2
bar.h
|
@ -13,7 +13,9 @@ struct bar {
|
|||
void *private;
|
||||
int (*run)(struct bar_run_context *ctx);
|
||||
void (*destroy)(struct bar *bar);
|
||||
|
||||
void (*refresh)(const struct bar *bar);
|
||||
void (*set_cursor)(struct bar *bar, const char *cursor);
|
||||
};
|
||||
|
||||
enum bar_location { BAR_TOP, BAR_BOTTOM };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue