mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Do not decorate windows such as dmenu
This commit is contained in:
parent
b5c307c32b
commit
4c53bd8bf9
1 changed files with 5 additions and 0 deletions
5
output.c
5
output.c
|
|
@ -19,6 +19,11 @@ static void render_decorations(struct wlr_output *output, struct view *view)
|
|||
return;
|
||||
if (!is_toplevel(view))
|
||||
return;
|
||||
if (view->xwayland_surface->override_redirect)
|
||||
return;
|
||||
if (view->xwayland_surface->decorations !=
|
||||
WLR_XWAYLAND_SURFACE_DECORATIONS_ALL)
|
||||
return;
|
||||
|
||||
struct wlr_box box = {
|
||||
.x = view->x - XWL_WINDOW_BORDER,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue