mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -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;
|
return;
|
||||||
if (!is_toplevel(view))
|
if (!is_toplevel(view))
|
||||||
return;
|
return;
|
||||||
|
if (view->xwayland_surface->override_redirect)
|
||||||
|
return;
|
||||||
|
if (view->xwayland_surface->decorations !=
|
||||||
|
WLR_XWAYLAND_SURFACE_DECORATIONS_ALL)
|
||||||
|
return;
|
||||||
|
|
||||||
struct wlr_box box = {
|
struct wlr_box box = {
|
||||||
.x = view->x - XWL_WINDOW_BORDER,
|
.x = view->x - XWL_WINDOW_BORDER,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue