mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Fix style issues
This commit is contained in:
parent
53052b3f6e
commit
f998bb8299
14 changed files with 36 additions and 18 deletions
|
|
@ -66,7 +66,7 @@ static struct wlr_output_impl output_impl = {
|
|||
.swap_buffers = wlr_wl_output_swap_buffers,
|
||||
};
|
||||
|
||||
void handle_ping(void* data, struct wl_shell_surface* ssurface, uint32_t serial) {
|
||||
void handle_ping(void *data, struct wl_shell_surface *ssurface, uint32_t serial) {
|
||||
struct wlr_wl_backend_output *output = data;
|
||||
assert(output && output->shell_surface == ssurface);
|
||||
wl_shell_surface_pong(ssurface, serial);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ static void pointer_handle_enter(void *data, struct wl_pointer *wl_pointer,
|
|||
struct wlr_wl_input_device *wlr_wl_dev = (struct wlr_wl_input_device *)dev;
|
||||
assert(dev && dev->pointer);
|
||||
struct wlr_wl_pointer *wlr_wl_pointer = (struct wlr_wl_pointer *)dev->pointer;
|
||||
struct wlr_wl_backend_output* output =
|
||||
struct wlr_wl_backend_output *output =
|
||||
wlr_wl_output_for_surface(wlr_wl_dev->backend, surface);
|
||||
assert(output);
|
||||
wlr_wl_pointer->current_output = output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue