IMHO, the window isn't its own X window, and global size = size of the main gedit window + transparent borders.
IMHO, the window isn't its own X window, and global size = size of the main gedit window + transparent borders.