mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
Style cleanup
This commit is contained in:
parent
5a7595af77
commit
bd2e9a7168
3 changed files with 7 additions and 7 deletions
|
@ -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…
Reference in a new issue