emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/.gdbinit


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/.gdbinit
Date: Mon, 13 Feb 2006 18:45:39 +0000

Index: emacs/src/.gdbinit
diff -u emacs/src/.gdbinit:1.81 emacs/src/.gdbinit:1.82
--- emacs/src/.gdbinit:1.81     Mon Feb  6 15:23:20 2006
+++ emacs/src/.gdbinit  Mon Feb 13 18:45:39 2006
@@ -548,7 +548,16 @@
 define xwindow
   xgetptr $
   print (struct window *) $ptr
-  printf "%dx%d+%d+%d\n", $->width, $->height, $->left, $->top
+  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
 end
 document xwindow
 Print $ as a window pointer, assuming it is an Emacs Lisp window value.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]