]> git.mdlowis.com Git - proto/labwc.git/commitdiff
desktop.c: set *view_area right for layer-popup
authorJohan Malm <jgm323@gmail.com>
Sat, 26 Feb 2022 23:30:02 +0000 (23:30 +0000)
committerJohan Malm <jgm323@gmail.com>
Sat, 26 Feb 2022 23:30:02 +0000 (23:30 +0000)
src/desktop.c

index 8e9a4bf0e503b3151444c9acbe2c9c4af979e389..5f8a760969f556fc9785b302dadab22c72d583a4 100644 (file)
@@ -297,7 +297,7 @@ desktop_node_and_view_at(struct server *server, double lx, double ly,
                        }
                        if (desc->type == LAB_NODE_DESC_LAYER_POPUP) {
                                /* FIXME: we shouldn't have to set *view_area */
-                               *view_area = LAB_SSD_LAYER_SURFACE;
+                               *view_area = LAB_SSD_CLIENT;
                                return NULL;
                        }
                }