Take desktop panels into account when sizing frames so they fit on the screen.
xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions. (Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea to find out usable size of the desktop. Don't make frames larger than this. Bug #3643.
Showing with 106 additions and 1 deletion