diff options
author | jdiez17 <[email protected]> | 2015-08-10 02:23:56 +0200 |
---|---|---|
committer | jdiez17 <[email protected]> | 2015-08-10 02:24:19 +0200 |
commit | 56d29bbec5acf76275722ec501249bf165106815 (patch) | |
tree | 5a38c03b8252419c637038f2f9de890d8961e73c /sway/layout.c | |
parent | 8597c3c7e7c2fcdb712f49e06c70882541389929 (diff) |
log: add newline
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c index b320e8ad..7dbe686a 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -42,6 +42,10 @@ void arrange_windows(swayc_t *container, int width, int height) { return; case C_VIEW: sway_log(L_DEBUG, "Setting view to %d x %d @ %d, %d", width, height, container->x, container->y); + // If the view is fullscreen, we need to tell wlc to draw it as such + if (wlc_view_get_state(container->handle) & WLC_BIT_FULLSCREEN > 0) { + sway_log(L_DEBUG, "window is fullscreen!"); + } struct wlc_geometry geometry = { .origin = { .x = container->x, |