mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
trailing whitespace
This commit is contained in:
parent
e059e781f3
commit
8c737d6e23
1 changed files with 2 additions and 3 deletions
|
|
@ -734,7 +734,7 @@ directional_target_window(struct view *view, struct server *server, enum view_ed
|
|||
distance_wrap = dx * dx + dy * dy;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
default:
|
||||
wlr_log(WLR_ERROR, "invalid direction");
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -844,8 +844,7 @@ actions_run(struct view *activator, struct server *server,
|
|||
case ACTION_TYPE_DIRECTIONAL_TARGET_WINDOW:
|
||||
if (view) {
|
||||
enum view_edge direction = action_get_int(action, "direction", 0);
|
||||
struct view *closest_view = directional_target_window(view, server, direction,
|
||||
/*wrap*/ true);
|
||||
struct view *closest_view = directional_target_window(view, server, direction, /*wrap*/ true);
|
||||
if (closest_view) {
|
||||
desktop_focus_view(closest_view, /*raise*/ true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue