forked from pyrite-dev/milsko
several fixes. layer surfaces now work
This commit is contained in:
parent
a16e48edd5
commit
044b067f7f
2 changed files with 99 additions and 53 deletions
|
|
@ -655,7 +655,7 @@ static void keyboard_keymap(void* data,
|
|||
MwLL self = data;
|
||||
(void)wl_keyboard;
|
||||
|
||||
if(self->wayland.type == MwLL_WAYLAND_TOPLEVEL || self->wayland.type == MwLL_WAYLAND_LAYER_SURFACE) {
|
||||
if(!self->wayland.parent) {
|
||||
assert(format == WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1);
|
||||
|
||||
char* map_shm = (char*)mmap(NULL, size, PROT_READ, MAP_SHARED, fd, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue