mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Eh, allow to build with the latest wlroots git, so as not to cause GitHub's build to fail
This commit is contained in:
parent
4c96f5eada
commit
0b14c71dbb
2 changed files with 2 additions and 4 deletions
|
|
@ -23,10 +23,8 @@ cc = meson.get_compiler('c')
|
|||
# Adding include directory
|
||||
inc_dir = include_directories('include')
|
||||
|
||||
# Due to the planned refactor of xdg_shell in wlroots 0.16.0, I doubt this will
|
||||
# build when it's released
|
||||
libxml2 = dependency('libxml-2.0')
|
||||
wlroots = dependency('wlroots', version: ['>=0.15.0', '<0.16.0'])
|
||||
wlroots = dependency('wlroots', version: '>=0.15.0')
|
||||
wayland_server = dependency('wayland-server', version: '>=1.15')
|
||||
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
|
||||
xkbcommon = dependency('xkbcommon')
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ static void handle_cursor_button(struct wl_listener *listener, void *data) {
|
|||
wlr_seat_pointer_notify_button(cursor->server->seat->seat,
|
||||
event->time_msec, event->button, event->state);
|
||||
double sx, sy;
|
||||
struct wlr_surface *surface;
|
||||
struct wlr_surface *surface = NULL;
|
||||
struct wb_view *view = desktop_view_at(cursor->server,
|
||||
cursor->server->cursor->cursor->x, cursor->server->cursor->cursor->y, &surface, &sx, &sy);
|
||||
if (event->state == WLR_BUTTON_RELEASED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue