mirror of
https://github.com/labwc/labwc.git
synced 2026-02-22 01:40:25 -05:00
Fix coding style
This commit is contained in:
parent
60149e4fa5
commit
34a12b3515
6 changed files with 48 additions and 28 deletions
|
|
@ -169,7 +169,8 @@ first_view(struct server *server)
|
|||
}
|
||||
|
||||
struct view *
|
||||
desktop_cycle_view(struct server *server, struct view *current, enum lab_cycle_dir dir)
|
||||
desktop_cycle_view(struct server *server, struct view *current,
|
||||
enum lab_cycle_dir dir)
|
||||
{
|
||||
if (!has_focusable_view(&server->views)) {
|
||||
return NULL;
|
||||
|
|
@ -292,8 +293,8 @@ wlr_surface *layer_surface_at(struct wl_list *layer, double ox, double oy,
|
|||
double _sx = ox - surface->geo.x;
|
||||
double _sy = oy - surface->geo.y;
|
||||
struct wlr_surface *wlr_surface;
|
||||
wlr_surface = wlr_layer_surface_v1_surface_at(surface->layer_surface,
|
||||
_sx, _sy, sx, sy);
|
||||
wlr_surface = wlr_layer_surface_v1_surface_at(
|
||||
surface->layer_surface, _sx, _sy, sx, sy);
|
||||
if (wlr_surface) {
|
||||
return wlr_surface;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue