]> icculus.org git repositories - dana/openbox.git/commit
Make the obt_watch functionality work without inotify (via manual refreshes).
authorDana Jansens <danakj@orodu.net>
Sun, 24 Jul 2011 22:13:36 +0000 (18:13 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 3 Aug 2011 21:44:58 +0000 (17:44 -0400)
commit37bc6ea36462e643ce15080ee5817c489c6ce11e
treeb84f8853086cb805057d1fae28dc0f98b7a4de28
parenta6f3630559dca4c36a771bb8331010461add74bb
Make the obt_watch functionality work without inotify (via manual refreshes).

Adds obt/watch_manual.c which is a filler for when watch_inotify.c can't be
  used.  Other watch_foo.c may also exist in the future I hope.
Adds obt/watch_interface.h which the inotify (and others) subsystem can use
  to call back notification to the main watch system that events have
  occured.
Keep track of all files being watched within the main watch system, so that if
  a directory disappears, we can report the files inside it being removed.
  This change moved a lot of the recursive functionality out from
  watch_inotify.c into the main watch.c, making it much more simple and should
  help make it much easier to add other watch_foo.c subsystems.
Makefile.am
obt/linkbase.c
obt/tests/watchtest.c
obt/watch.c
obt/watch.h
obt/watch_inotify.c
obt/watch_interface.h [new file with mode: 0644]
obt/watch_manual.c [new file with mode: 0644]