opt: fix format

This commit is contained in:
DreamMaoMao 2026-02-07 19:57:07 +08:00
parent 3db2ac58b4
commit e658f5c90d
2 changed files with 8 additions and 6 deletions

View file

@ -504,7 +504,8 @@ static void usage(void) {
"\n" "\n"
"SYNOPSIS:\n" "SYNOPSIS:\n"
"\tmmsg [-OTLq]\n" "\tmmsg [-OTLq]\n"
"\tmmsg [-o <output>] -s [-t <tags>] [-l <layout>] [-c <tags>] [-d <cmd>,<arg1>,<arg2>,<arg3>,<arg4>,<arg5>]\n" "\tmmsg [-o <output>] -s [-t <tags>] [-l <layout>] [-c <tags>] [-d "
"<cmd>,<arg1>,<arg2>,<arg3>,<arg4>,<arg5>]\n"
"\tmmsg [-o <output>] (-g | -w) [-OotlcvmfxekbA]\n" "\tmmsg [-o <output>] (-g | -w) [-OotlcvmfxekbA]\n"
"\n" "\n"
"OPERATION MODES:\n" "OPERATION MODES:\n"
@ -536,11 +537,11 @@ static void usage(void) {
"\n" "\n"
"SET OPTIONS (used with -s):\n" "SET OPTIONS (used with -s):\n"
"\t-o <output> Select output (monitor)\n" "\t-o <output> Select output (monitor)\n"
"\t-t <tags> Set selected tags (can be used with [+-^.] modifiers)\n" "\t-t <tags> Set selected tags (can be used with [+-^.] "
"modifiers)\n"
"\t-l <layout> Set current layout\n" "\t-l <layout> Set current layout\n"
"\t-c <tags> Get title and appid of focused client\n" "\t-c <tags> Get title and appid of focused client\n"
"\t-d <cmd>,<args...> Dispatch internal command (max 5 args)\n" "\t-d <cmd>,<args...> Dispatch internal command (max 5 args)\n");
);
exit(2); exit(2);
} }

View file

@ -3419,8 +3419,9 @@ void requestmonstate(struct wl_listener *listener, void *data) {
void inputdevice(struct wl_listener *listener, void *data) { void inputdevice(struct wl_listener *listener, void *data) {
/* This event is raised by the backend when a new input device becomes /* This event is raised by the backend when a new input device becomes
* available. * available.
* when the backend is a headless backend, this event will never be triggered. * when the backend is a headless backend, this event will never be
* triggered.
*/ */
struct wlr_input_device *device = data; struct wlr_input_device *device = data;
uint32_t caps; uint32_t caps;