chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c47c91
)
dot/xinitrc: Run Emacs with GDK_NATIVE_WINDOWS=1.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 9 Nov 2009 14:44:37 +0000
(14:44 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 9 Nov 2009 15:10:53 +0000
(15:10 +0000)
This bodges around an Emacs bug which causes menus to be empty and
scroll bars to disappear randomly. The bug appears in Emacs 22 too.
dot/xinitrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/xinitrc
b/dot/xinitrc
index b6d87cd63d046d06da5ff570de45dbcf66c59592..f607193ea8ebd6e4b5e2021cf8d39ca42b046299 100755
(executable)
--- a/
dot/xinitrc
+++ b/
dot/xinitrc
@@
-195,7
+195,8
@@
declare -i \
emacsy="(XHEIGHT - e_vextra)/e_lineht"
start-emacs () {
- run bgclients noip $emacs -geometry ${emacsx}x${emacsy}+0+0
+ GDK_NATIVE_WINDOWS=1 run bgclients noip \
+ $emacs -geometry ${emacsx}x${emacsy}+0+0
}
## Now place some xterms.