mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-08 05:34:00 -04:00
wayland: rename focused/moused to kbd_focus/mouse_focus
This commit is contained in:
parent
6c75c16d2c
commit
4ecb0ecf4d
5 changed files with 34 additions and 34 deletions
|
|
@ -849,12 +849,12 @@ wayl_cursor_set(struct wayland *wayl, const struct terminal *term)
|
|||
if (wayl->pointer.theme == NULL)
|
||||
return false;
|
||||
|
||||
if (wayl->moused == NULL) {
|
||||
if (wayl->mouse_focus == NULL) {
|
||||
wayl->pointer.xcursor = NULL;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (wayl->moused != term) {
|
||||
if (wayl->mouse_focus != term) {
|
||||
/* This terminal doesn't have mouse focus */
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue