diff options
author | Glenn Morris <rgm@gnu.org> | 2014-07-28 05:39:09 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-07-28 05:39:09 -0400 |
commit | da41ffdd089b529c3d5216412d95840e065c3fe3 (patch) | |
tree | a69f5a510e2c47f774f145d9567188bc89563ac1 /src/.gdbinit | |
parent | 414e1537ab09d2f4571e61b420523dcd082f2d3a (diff) | |
parent | 1c6c2e3c70ff2f666a1e3f29b8852d375c8392cd (diff) | |
download | emacs-da41ffdd089b529c3d5216412d95840e065c3fe3.tar.gz |
Merge from emacs-24; up to 2014-06-26T06:55:15Z!rgm@gnu.org
Diffstat (limited to 'src/.gdbinit')
-rw-r--r-- | src/.gdbinit | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index fb2a9bf72ed..c10fe3ddded 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -820,15 +820,7 @@ define xwindow xgetptr $ print (struct window *) $ptr set $window = (struct window *) $ptr - xgetint $window->total_cols - set $width=$int - xgetint $window->total_lines - set $height=$int - xgetint $window->left_col - set $left=$int - xgetint $window->top_line - set $top=$int - printf "%dx%d+%d+%d\n", $width, $height, $left, $top + printf "%dx%d+%d+%d\n", $window->total_cols, $window->total_lines, $window->left_col, $window->top_line end document xwindow Print $ as a window pointer, assuming it is an Emacs Lisp window value. |