mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
12 lines
262 B
C
12 lines
262 B
C
|
|
#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);
|
||
|
|
}
|