diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-27 05:57:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 05:57:43 -0500 |
commit | 5e9959daaaa86394917144c9928c734fbf533f04 (patch) | |
tree | 7503c7ea870f40d68b0ee594d5129cd592ccbff4 /rootston/output.c | |
parent | e47b8cd629f9378c74673cb577cc268667a71d1e (diff) | |
parent | 1b598f67ca28dce6b61829694ba1a55d05e35678 (diff) |
Merge pull request #852 from Laaas/master
Implement pointer-constraints-unstable-v1 protocol
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c index 4207f0d0..e85612fa 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -22,7 +22,7 @@ * Rotate a child's position relative to a parent. The parent size is (pw, ph), * the child position is (*sx, *sy) and its size is (sw, sh). */ -static void rotate_child_position(double *sx, double *sy, double sw, double sh, +void rotate_child_position(double *sx, double *sy, double sw, double sh, double pw, double ph, float rotation) { if (rotation != 0.0) { // Coordinates relative to the center of the subsurface |