Style cleanup

master
Drew DeVault 7 years ago
parent 5a7595af77
commit bd2e9a7168

@ -81,8 +81,8 @@ static void destroy_shell_surface(struct wl_resource *resource) {
}
void wl_shell_get_shell_surface(struct wl_client *client,
struct wl_resource *resource, uint32_t id,
struct wl_resource *surface) {
struct wl_resource *resource, uint32_t id,
struct wl_resource *surface) {
struct wlr_texture *wlr_texture = wl_resource_get_user_data(surface);
struct shell_surface_state *state = malloc(sizeof(struct shell_surface_state));
state->wlr_texture = wlr_texture;

@ -162,10 +162,10 @@ static void xdg_shell_pong(struct wl_client *client, struct wl_resource *resourc
}
static struct zxdg_shell_v6_interface xdg_shell_impl = {
.destroy = resource_destructor,
.create_positioner = xdg_shell_create_positioner,
.get_xdg_surface = xdg_shell_get_xdg_surface,
.pong = xdg_shell_pong,
.destroy = resource_destructor,
.create_positioner = xdg_shell_create_positioner,
.get_xdg_surface = xdg_shell_get_xdg_surface,
.pong = xdg_shell_pong,
};
static void xdg_shell_bind(struct wl_client *wl_client, void *_state,

@ -10,7 +10,7 @@ static inline int mind(int row, int col) {
void wlr_matrix_identity(float (*output)[16]) {
static const float identity[16] = {
1.0f, 0.0f, 0.0f, 0.0f,
1.0f, 0.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f, 0.0f,
0.0f, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f

Loading…
Cancel
Save