mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Read rc.xml and begin parsing
This commit is contained in:
parent
fdc131049c
commit
6166e9b370
12 changed files with 227 additions and 7 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "labwc.h"
|
||||
#include "rcxml.h"
|
||||
|
||||
static float window_active_title_bg[] = { 0.29, 0.55, 0.78, 1.0 };
|
||||
static float window_active_handle_bg[] = { 0.21, 0.49, 0.71, 1.0 };
|
||||
|
|
@ -23,7 +24,8 @@ static void render_cycle_box(struct output *output)
|
|||
if (view != output->server->cycle_view)
|
||||
continue;
|
||||
struct wlr_box box;
|
||||
if ((view->type == LAB_XWAYLAND_VIEW) || LAB_DISABLE_CSD) {
|
||||
if ((view->type == LAB_XWAYLAND_VIEW) ||
|
||||
!rc.client_side_decorations) {
|
||||
box = deco_max_extents(view);
|
||||
} else {
|
||||
box = view_get_surface_geometry(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue