Re-indent Wayland sources with clang-format

This commit is contained in:
Aleksei Bavshin
2024-01-06 08:01:15 -08:00
committed by lbonn
parent 2520c1ea16
commit 5bc2f09241
8 changed files with 70 additions and 69 deletions

View File

@@ -58,11 +58,11 @@
#include "settings.h"
#include "timings.h"
#include "modes/modes.h"
#include "display.h"
#include "helper-theme.h"
#include "helper.h"
#include "mode.h"
#include "modes/modes.h"
#include "xcb-internal.h"
#include "xrmoptions.h"
@@ -513,8 +513,7 @@ static gboolean xcb_rofi_view_reload_idle(G_GNUC_UNUSED gpointer data) {
if (state) {
// For UI update on this.
if (state->tb_total_rows) {
char *r =
g_strdup_printf("%u", mode_get_num_entries(state->sw));
char *r = g_strdup_printf("%u", mode_get_num_entries(state->sw));
textbox_text(state->tb_total_rows, r);
g_free(r);
}
@@ -677,7 +676,6 @@ static void open_xim_callback(xcb_xim_t *im, G_GNUC_UNUSED void *user_data) {
}
#endif
static void xcb___create_window(MenuFlags menu_flags) {
// In password mode, disable the entry history.
if ((menu_flags & MENU_PASSWORD) == MENU_PASSWORD) {