mirror of
https://github.com/labwc/labwc.git
synced 2026-02-16 22:05:27 -05:00
cursor: handle button press on layer-surface (issue #41)
This commit is contained in:
parent
97a5695ccb
commit
ee15a5fe56
5 changed files with 74 additions and 22 deletions
12
src/layers.c
12
src/layers.c
|
|
@ -229,18 +229,6 @@ arrange_layers(struct output *output)
|
|||
}
|
||||
}
|
||||
|
||||
static struct output *
|
||||
output_from_wlr_output(struct server *server, struct wlr_output *wlr_output)
|
||||
{
|
||||
struct output *output;
|
||||
wl_list_for_each(output, &server->outputs, link) {
|
||||
if (output->wlr_output == wlr_output) {
|
||||
return output;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
output_destroy_notify(struct wl_listener *listener, void *data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue