all repos — fluxbox @ 38bff124550a79a4daf0488531136f49f46475e1

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

38bff124550a79a4daf0488531136f49f46475e1

parent

3e99a0752783eeb0de19eb07be47f8e1128d70f7

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M src/FbTk/EventManager.ccsrc/FbTk/EventManager.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: EventManager.cc,v 1.7 2003/08/23 15:44:06 fluxgen Exp $ +// $Id: EventManager.cc,v 1.8 2003/08/27 00:21:54 fluxgen Exp $ #include "EventManager.hh" #include "FbWindow.hh"

@@ -70,7 +70,6 @@ }

} void EventManager::dispatch(Window win, XEvent &ev, bool parent) { - EventHandler *evhand = 0; if (parent) evhand = m_parent[win];

@@ -80,7 +79,7 @@

if (evhand == 0) return; - switch (ev.xany.type) { + switch (ev.type) { case KeyPress: evhand->keyPressEvent(ev.xkey); break;