]> git.eshelyaron.com Git - emacs.git/commit
More gracefully handle errors during Motif drag window creation
authorPo Lu <luangruo@yahoo.com>
Thu, 2 Jun 2022 11:54:09 +0000 (19:54 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 2 Jun 2022 11:54:40 +0000 (19:54 +0800)
commited02be04ae847c69247435084a7237ba03e7e505
tree363d45c32f66f9e213822c5307452ac9b45019a3
parent43b0210f83c38fb91cfcfc5a2d4a8c3131331476
More gracefully handle errors during Motif drag window creation

* src/xterm.c (xm_drag_window_error_handler): Store whether or
not an error happened.
(xm_get_drag_window): Handle errors during XCreateWindow and
XChangeProperty without leaking anything.
(x_error_handler): Fix coding style.
src/xterm.c