summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQball Cow <qball@blame.services>2024-02-25 22:24:58 +0100
committerQball Cow <qball@blame.services>2024-02-25 22:24:58 +0100
commit058aac887f1d2c9877901aede2e43f2092b108f2 (patch)
tree44102c19febacde4c5338ffe20d6e040450e6c6c
parent2d35397195f1b959e91d5a6c18676d479a5d837e (diff)
Small indent
-rw-r--r--source/view.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/view.c b/source/view.c
index fe438dae..37231d7a 100644
--- a/source/view.c
+++ b/source/view.c
@@ -29,7 +29,6 @@
#define G_LOG_DOMAIN "View"
#include "config.h"
-#include <errno.h>
#include <locale.h>
#include <signal.h>
#include <stdint.h>
@@ -64,7 +63,6 @@
#include "mode.h"
#include "modes/modes.h"
#include "xcb-internal.h"
-#include "xrmoptions.h"
#include "view-internal.h"
#include "view.h"
@@ -2644,12 +2642,12 @@ void rofi_view_cleanup() {
input_history_save();
}
-static int rofi_thread_workers_sort(gconstpointer a,gconstpointer b, gpointer data G_GNUC_UNUSED)
-{
+static int rofi_thread_workers_sort(gconstpointer a, gconstpointer b,
+ gpointer data G_GNUC_UNUSED) {
thread_state *tsa = (thread_state *)a;
thread_state *tsb = (thread_state *)b;
- // lower number is lower priority.. a is sorted above is a > b.
- return tsa->priority-tsb->priority;
+ // lower number is lower priority.. a is sorted above is a > b.
+ return tsa->priority - tsb->priority;
}
void rofi_view_workers_initialize(void) {