Add methods to get the position of a window's client area, relative to the desktop#430
Conversation
|
For me under Xfwm4, |
|
I just tested this on macos 10.12.4 by printing the result of Not sure if the |
|
Okay, with #438 merged, this works on X11 now. @mitchmindtree are you sure they were both outer position? I changed the relevant code (and badgered one of my friends into testing it), and it seems that the existing (Also, it seems that on macOS, EDIT: the |
|
Okay, |
|
@RobSaunders do you think you could take a look at this? |
|
Alright, after getting a chance to test this on macOS hands-on, I've confirmed that the new implementation is correct, and consistent with Windows and X11. |
This differs from the current
get_position, in that the current method gets the window's top-left position, including window decorations. This adds aget_inner_positionmethod, which gets the client area's top-left position, not including decorations, relative to the desktop.