...
This commit is contained in:
parent
de1dee6c3b
commit
5f7e53bfde
1 changed files with 1 additions and 1 deletions
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
|
|
@ -315,7 +315,7 @@ commit_window_surface_if_safe(_GLFWwindow *window) {
|
|||
|
||||
static void
|
||||
update_regions(_GLFWwindow* window) {
|
||||
if (is_layer_shell(window) && window->wl.layer_shell.config.type == GLFW_LAYER_SHELL_PANEL) {
|
||||
if (is_layer_shell(window) && window->wl.layer_shell.config.type == GLFW_LAYER_SHELL_PANEL && window->wl.layer_shell.zwlr_layer_surface_v1) {
|
||||
int32_t exclusive_zone = 1;
|
||||
switch (window->wl.layer_shell.config.edge) {
|
||||
case GLFW_EDGE_TOP: case GLFW_EDGE_BOTTOM: exclusive_zone = window->wl.height; break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue