mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-10 11:04:10 -04:00
project: not use global var
This commit is contained in:
parent
0b35b00f91
commit
21a492e961
17 changed files with 1885 additions and 1599 deletions
|
|
@ -279,10 +279,10 @@ static inline int32_t client_is_unmanaged(Client *c) {
|
|||
static inline void client_notify_enter(struct wlr_surface *s,
|
||||
struct wlr_keyboard *kb) {
|
||||
if (kb)
|
||||
wlr_seat_keyboard_notify_enter(seat, s, kb->keycodes, kb->num_keycodes,
|
||||
&kb->modifiers);
|
||||
wlr_seat_keyboard_notify_enter(server.seat, s, kb->keycodes,
|
||||
kb->num_keycodes, &kb->modifiers);
|
||||
else
|
||||
wlr_seat_keyboard_notify_enter(seat, s, NULL, 0, NULL);
|
||||
wlr_seat_keyboard_notify_enter(server.seat, s, NULL, 0, NULL);
|
||||
}
|
||||
|
||||
static inline void client_send_close(Client *c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue