mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
swaybar: separate input code to new file
This commit is contained in:
parent
d88b7a63f4
commit
499150a91b
7 changed files with 340 additions and 316 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _SWAYBAR_I3BAR_H
|
||||
#define _SWAYBAR_I3BAR_H
|
||||
|
||||
#include "bar.h"
|
||||
#include "input.h"
|
||||
#include "status_line.h"
|
||||
|
||||
struct i3bar_block {
|
||||
|
|
@ -28,7 +28,5 @@ void i3bar_block_unref(struct i3bar_block *block);
|
|||
bool i3bar_handle_readable(struct status_line *status);
|
||||
enum hotspot_event_handling i3bar_block_send_click(struct status_line *status,
|
||||
struct i3bar_block *block, int x, int y, enum x11_button button);
|
||||
enum x11_button wl_button_to_x11_button(uint32_t button);
|
||||
enum x11_button wl_axis_to_x11_button(uint32_t axis, wl_fixed_t value);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue