Below you can see the front-view size comparison of the Fujifilm XQ2 and Canon G9 X. The Canon G9 X is clearly the smaller of the two cameras. Its body is 2 mm narrower, 1 mm shorter and 2 mm thinner than the Fujifilm XQ2.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.