mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
parent
370d62beda
commit
9153c22dab
5 changed files with 14 additions and 1 deletions
|
|
@ -899,6 +899,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
if (rc.placement_policy == LAB_PLACE_INVALID) {
|
||||
rc.placement_policy = LAB_PLACE_CENTER;
|
||||
}
|
||||
} else if (!strcasecmp(nodename, "xwaylandPersistence.core")) {
|
||||
set_bool(content, &rc.xwayland_persistence);
|
||||
} else if (!strcmp(nodename, "name.theme")) {
|
||||
rc.theme_name = xstrdup(content);
|
||||
} else if (!strcmp(nodename, "cornerradius.theme")) {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include "common/array.h"
|
||||
#include "common/macros.h"
|
||||
#include "common/mem.h"
|
||||
#include "config/rcxml.h"
|
||||
#include "labwc.h"
|
||||
#include "node.h"
|
||||
#include "ssd.h"
|
||||
|
|
@ -1052,7 +1053,8 @@ void
|
|||
xwayland_server_init(struct server *server, struct wlr_compositor *compositor)
|
||||
{
|
||||
server->xwayland =
|
||||
wlr_xwayland_create(server->wl_display, compositor, true);
|
||||
wlr_xwayland_create(server->wl_display,
|
||||
compositor, /* lazy */ !rc.xwayland_persistence);
|
||||
if (!server->xwayland) {
|
||||
wlr_log(WLR_ERROR, "cannot create xwayland server");
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue