Mercurial > emacs
view lisp/term/cygwin.el @ 106857:f12233437424
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.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Fri, 15 Jan 2010 18:04:14 +0100 |
parents | 673d62ad74b5 |
children | ef719132ddfa |
line wrap: on
line source
;;; cygwin.el --- support for the Cygwin terminal -*- no-byte-compile: t -*- ;;; The Cygwin terminal can't really display underlines. (defun terminal-init-cygwin () "Terminal initialization function for cygwin." (tty-no-underline)) ;; arch-tag: ca81ce67-3c41-4883-a29b-4c3d64a21191 ;;; cygwin.el ends here