clang-format

This commit is contained in:
buffet 2019-04-15 11:37:37 +02:00
parent da4f881cc9
commit 733c301c7d
6 changed files with 13 additions and 14 deletions

View file

@ -13,9 +13,7 @@
#include "kiwmi/server.h" #include "kiwmi/server.h"
bool handle_client_command( bool
char *command, handle_client_command(char *command, FILE *client, struct kiwmi_server *server);
FILE *client,
struct kiwmi_server *server);
#endif /* KIWMI_COMMANDS_H */ #endif /* KIWMI_COMMANDS_H */

View file

@ -15,8 +15,8 @@
#include <wlr/types/wlr_data_device.h> #include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_output_layout.h>
#include "kiwmi/server.h"
#include "kiwmi/desktop/output.h" #include "kiwmi/desktop/output.h"
#include "kiwmi/server.h"
bool bool
desktop_init(struct kiwmi_desktop *desktop, struct wlr_renderer *renderer) desktop_init(struct kiwmi_desktop *desktop, struct wlr_renderer *renderer)

View file

@ -17,10 +17,10 @@
#include <wlr/types/wlr_xcursor_manager.h> #include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "kiwmi/server.h"
#include "kiwmi/desktop/desktop.h" #include "kiwmi/desktop/desktop.h"
#include "kiwmi/input/cursor.h" #include "kiwmi/input/cursor.h"
#include "kiwmi/input/input.h" #include "kiwmi/input/input.h"
#include "kiwmi/server.h"
static void static void
output_frame_notify(struct wl_listener *listener, void *data) output_frame_notify(struct wl_listener *listener, void *data)
@ -54,7 +54,8 @@ output_destroy_notify(struct wl_listener *listener, void *UNUSED(data))
{ {
struct kiwmi_output *output = wl_container_of(listener, output, destroy); struct kiwmi_output *output = wl_container_of(listener, output, destroy);
wlr_output_layout_remove(output->desktop->output_layout, output->wlr_output); wlr_output_layout_remove(
output->desktop->output_layout, output->wlr_output);
wl_list_remove(&output->link); wl_list_remove(&output->link);
wl_list_remove(&output->frame.link); wl_list_remove(&output->frame.link);

View file

@ -13,10 +13,10 @@
#include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_input_device.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "kiwmi/server.h"
#include "kiwmi/desktop/desktop.h" #include "kiwmi/desktop/desktop.h"
#include "kiwmi/input/cursor.h" #include "kiwmi/input/cursor.h"
#include "kiwmi/input/keyboard.h" #include "kiwmi/input/keyboard.h"
#include "kiwmi/server.h"
static void static void
new_pointer(struct kiwmi_input *input, struct wlr_input_device *device) new_pointer(struct kiwmi_input *input, struct wlr_input_device *device)