mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Add xwayland-unmanaged.c
Handle xwayland override_direct surfaces separately from the view struct - in order to simplify code, particularly in view.c
This commit is contained in:
parent
d831743b25
commit
8e7f2e78cd
8 changed files with 162 additions and 24 deletions
11
src/seat.c
Normal file
11
src/seat.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "labwc.h"
|
||||
|
||||
void seat_focus_surface(struct wlr_surface *surface)
|
||||
{
|
||||
if (!surface) {
|
||||
wlr_seat_keyboard_notify_clear_focus(server.seat);
|
||||
return;
|
||||
}
|
||||
/* TODO: add keyboard stuff */
|
||||
wlr_seat_keyboard_notify_enter(server.seat, surface, NULL, 0, NULL);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue