Revert "Inotify: Reload keyboard shortcut definitions when configuration changes"
commit8311058a16b79294e8b4994c21e3cc63b9956f9d
authorCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Apr 2012 17:36:43 +0000 (30 14:36 -0300)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Apr 2012 17:36:43 +0000 (30 14:36 -0300)
tree5e5db3af90da751444329d6ad0a6012749ce9784
parent4e2ee27bfa721f90388fe0b2bd71a55ec85891db
Revert "Inotify: Reload keyboard shortcut definitions when configuration changes"

This reverts commit cbe2f4e61a12b6bb13469f1eac7df14bbf423128.

The reason for the revert is the regression reported here:
http://marc.info/?l=openbsd-ports&m=133151145814675&w=2

  I've been able to reliably reproduce the double-spawning of
  xterms I've been seeing. The bad news is that it still happens
  even with a fresh configuration directory.

  To reproduce:
  0) Create a keyboard shortcut if one does not already exist (I'm
  using <ctrl>+u set to spawn an xterm)
  1) Open WindowMaker's preferences.
  2) Click on "Applications Menu Definition" (it's the icon
  immediately to the left of the keyboard icon)
  3) Click save, and then close.
  4) Keyboard shortcuts will spawn two applications.

  I use keyboard shortcuts to spawn xterms, browsers, and filemanagers.
  All of them spawn twice after performing the above.  To fix it,
  <F12> or <right-click> -> Exit -> Restart.

  If I repeat steps 1-3, three windows will spawn.  Repeat again and
  four windows will spawn etc.  (I stopped after getting five to
  spawn at once).
src/defaults.c
src/rootmenu.c
src/rootmenu.h