Add ssd.h

This commit is contained in:
Johan Malm 2021-03-21 20:54:55 +00:00
parent 4127643cc1
commit fc76100fd5
9 changed files with 35 additions and 20 deletions

View file

@ -1,6 +1,7 @@
#include <assert.h>
#include "labwc.h"
#include "menu/menu.h"
#include "ssd.h"
#define RESIZE_BORDER_WIDTH 2

View file

@ -1,6 +1,7 @@
#include "config.h"
#include <assert.h>
#include "labwc.h"
#include "ssd.h"
static void
move_to_front(struct view *view)

View file

@ -13,6 +13,7 @@
#include "labwc.h"
#include "layers.h"
#include "menu/menu.h"
#include "ssd.h"
#include "theme.h"
//#define DEBUG 1

View file

@ -1,12 +1,13 @@
/*
* Helpers for handling window decorations
* Helpers for view server side decorations
*
* Copyright Johan Malm 2020
* Copyright (C) 2020 Johan Malm
*/
#include <assert.h>
#include "config/rcxml.h"
#include "labwc.h"
#include "ssd.h"
#define BORDER_WIDTH (2)
@ -107,3 +108,5 @@ ssd_at(struct view *view, double lx, double ly)
}
return LAB_SSD_NONE;
}

View file

@ -1,5 +1,6 @@
#include <stdio.h>
#include "labwc.h"
#include "ssd.h"
void
view_move_resize(struct view *view, struct wlr_box geo)

View file

@ -1,5 +1,6 @@
#include <assert.h>
#include "labwc.h"
#include "ssd.h"
/*
* xdg_popup_create() and subsurface_create() are only called for the

View file

@ -1,5 +1,6 @@
#include <assert.h>
#include "labwc.h"
#include "ssd.h"
static void
handle_commit(struct wl_listener *listener, void *data)