summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-07-20 20:14:58 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-07-20 20:14:58 +0400
commita1edea0c88ac69acc1b386a67859a674dd5af5aa (patch)
treed261496c28269a6d608fac39cf55af4a5f15bca4 /src/frame.h
parenta54493b02fc90ab163aa88dfe68c2b5e44a2536e (diff)
downloademacs-a1edea0c88ac69acc1b386a67859a674dd5af5aa.tar.gz
* frame.h (struct frame) [USE_X_TOOLKIT]: New member shell_position.
* xfns.c (x_window): Use it to allow xfree later. (x_encode_text): Drop 3rd arg; unused. Tweak comment and adjust users where appropriate. Use bool for booleans and remove redundant checks. (Fx_backspace_delete_keys_p): Use XkbFreeKeyboard; explain why. * xterm.c (x_free_frame_resources): Free shell_position.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index faeac2ad625..999a29d56ae 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -192,6 +192,11 @@ struct frame
char *namebuf;
#endif
+#ifdef USE_X_TOOLKIT
+ /* Used to pass geometry parameters to toolkit functions. */
+ char *shell_position;
+#endif
+
/* Glyph pool and matrix. */
struct glyph_pool *current_pool;
struct glyph_pool *desired_pool;