mirror of
https://github.com/wizbright/waybox.git
synced 2026-04-20 06:46:55 -04:00
Simple rofi menu
This commit is contained in:
parent
35b3e5af11
commit
c9b187afc8
6 changed files with 72 additions and 0 deletions
|
|
@ -310,6 +310,7 @@ void handle_layer_shell_surface(struct wl_listener *listener, void *data) {
|
|||
if (layer_surface->output == NULL) {
|
||||
struct wb_server *server =
|
||||
wl_container_of(listener, server, new_layer_surface);
|
||||
if (wl_list_length(&server->toplevels) == 0) return;
|
||||
struct wb_toplevel *toplevel =
|
||||
wl_container_of(server->toplevels.next, toplevel, link);
|
||||
layer_surface->output = get_active_output(toplevel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue