Last active
April 25, 2018 18:20
-
-
Save somdoron/4f4cfe2b379d03c3b329a918a1bf699a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// as part of arrange windows | |
case C_VIEW: | |
{ | |
int x = container.x; | |
int y = container.y; | |
update_gap_geometry(&x,&y,&width,&height); | |
container->width = width; | |
container->height = height; | |
container->x = x; | |
container->y = y; | |
view_configure(container->sway_view, container->x, container->y, container->width, container->height); | |
wlr_log(L_DEBUG, "Set view to %.f x %.f @ %.f, %.f", | |
container->width, container->height, | |
container->x, container->y); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment