[dwm] VIM windows get minimized after a focus change

From: Ethan Mallove <ethan.mallove_AT_sun.com>
Date: Sun, 18 Nov 2007 17:38:30 -0500

Hello,

I'm using dwm in tiling-mode, and have a bizarre issue with
VIM windows. (Clarification: when I say "vim window", I'm
referring to the windows described at ":help
windows-intro"). I have a vim window open which is itself
split into several vim windows. My winheight in vim is fully
maximized like this:

 :set wh?
  winheight=999

When I change focus off of vim in dwm, and then return focus
back to vim -- it appears as if the vim winheight has gone
to "1" (the vim window has been minimized), though ":set
wh?" still shows "999". I have the issue with both "vim" and
"gvim" (I would post this to a *vim* mailing list, but I
only see the issue when using dwm.)

Does anyone have any ideas what might be going on?

  $ uname -a
  SunOS sr1-ubur-08 5.10 Generic_125100-04 sun4v sparc SUNW,Sun-Fire-T200
  $ dwm -v
  dwm-4.7, © 2006-2007

  VIM:
  :version
  VIM - Vi IMproved 7.1 (2007 May 12, compiled May 13 2007 13:54:08)
  Big version with GTK GUI. Features included (+) or not (-):
  +arabic +autocmd +balloon_eval +browse ++builtin_terms
  +byte_offset +cindent +clientserver +clipboard
  +cmdline_compl +cmdline_hist +cmdline_info +comments
  +cryptv +cscope +cursorshape +dialog_con_gui +diff
  +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra
  +extra_search +farsi +file_in_path +find_in_path +folding
  -footer +fork() -gettext -hangul_input +iconv
  +insert_expand +jumplist +keymap +langmap +libcall
  +linebreak +lispindent +listcmds +localmap +menu
  +mksession +modify_fname +mouse +mouseshape +mouse_dec
  -mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm
  +multi_byte +multi_lang -mzscheme +netbeans_intg
  -osfiletype +path_extra -perl +postscript +printer
  -profile -python +quickfix +reltime +rightleft -ruby
  +scrollbind +signs +smartindent -sniff +statusline
  -sun_workshop +syntax +tag_binary +tag_old_static
  -tag_any_white -tcl +terminfo +termresponse +textobjects
  +title +toolbar +user_commands +vertsplit +virtualedit
  +visual +visualextra +viminfo +vreplace +wildignore
  +wildmenu +windows +writebackup +X11 +xfontset +xim
  +xsmp_interact +xterm_clipboard -xterm_save
     ...
  Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/pkg/X11/include/gtk-1.2 -I/pkg/X11/include/glib-1.2 -I/pkg/X11/lib/glib/include -I/usr/openwin/include -I/pkg/X11/include -I/pkg/local/include -I/pkg/local/include/libpng -I/pkg/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mv8 -mtune=ultrasparc -I/usr/openwin/include
  Linking: gcc -L/usr/openwin/lib -R/usr/openwin/lib -L/pkg/X11/lib -R/pkg/X11/lib -L/pkg/local/lib -R/pkg/local/lib -L/pkg/gnu/lib -R/pkg/gnu/lib -o vim -L/pkg/X11/lib -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -lXext -lm -lXt -lX11 -lSM -lICE -lncurses -lnsl -lsocket -liconv -ldl

Thanks,
Ethan
Received on Sun Nov 18 2007 - 23:38:35 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:06:57 UTC