improve xdg + layer shell support
This commit is contained in:
6
seat.c
6
seat.c
@@ -4,7 +4,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include "seat.h"
|
||||
#include "desktop.h"
|
||||
#include "view.h"
|
||||
|
||||
|
||||
static void keyboard_handle_modifiers(
|
||||
@@ -48,7 +48,7 @@ static bool handle_keybinding(struct diyac_server *server, xkb_keysym_t sym)
|
||||
}
|
||||
struct diyac_view *next_toplevel =
|
||||
wl_container_of(server->views.prev, next_toplevel, link);
|
||||
diyac_focus_view(next_toplevel);
|
||||
diyac_focus_view(next_toplevel, true);
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
@@ -291,7 +291,7 @@ void diyac_seat_focus_surface(struct diyac_seat *seat, struct wlr_surface *surfa
|
||||
}
|
||||
|
||||
void diyac_seat_focus_layer(struct diyac_seat *seat, struct wlr_layer_surface_v1 *layer)
|
||||
{
|
||||
{ wlr_log(WLR_INFO, "diyac_seat_focus_layer");
|
||||
if (!layer)
|
||||
{
|
||||
seat->focused_layer = NULL;
|
||||
|
Reference in New Issue
Block a user