mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-20 04:24:18 +02:00
Apply clang-format
This commit is contained in:
parent
9f5a029156
commit
699974e910
1 changed files with 4 additions and 4 deletions
|
|
@ -1181,12 +1181,12 @@ keybinding_dump(struct cg_server *server) {
|
|||
print_str(&str, "\"nws\":%d,\n", server->nws);
|
||||
print_str(&str, "\"bg_color\":[%f,%f,%f],\n", server->bg_color[0],
|
||||
server->bg_color[1], server->bg_color[2]);
|
||||
struct cg_view *focused_view=seat_get_focus(server->seat);
|
||||
int curr_view_id=-1,curr_tile_id=-1;
|
||||
struct cg_view *focused_view = seat_get_focus(server->seat);
|
||||
int curr_view_id = -1, curr_tile_id = -1;
|
||||
if(focused_view != NULL) {
|
||||
curr_view_id=focused_view->id;
|
||||
curr_view_id = focused_view->id;
|
||||
if(focused_view->tile != NULL) {
|
||||
curr_tile_id=focused_view->tile->id;
|
||||
curr_tile_id = focused_view->tile->id;
|
||||
}
|
||||
}
|
||||
print_str(&str, "\"views_curr_id\":%d,\n", curr_view_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue