diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-11 23:16:06 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-11 23:16:06 -0500 |
| commit | 669c7655be8fef885e2f5ea0b0d389046ebb6753 (patch) | |
| tree | 5e2aba1bc98386918f75917235cb1fd951ee9224 | |
| parent | fe11937661b891d7d7f2f4224eb956623fe518fb (diff) | |
since the internal windows are in window_map now, it's possible we'll get them back when we check what window an event happened on. so don't abort if that happens anymore.
| -rw-r--r-- | openbox/event.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index bc59d67e..04ecf383 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -475,10 +475,12 @@ static void event_process(const XEvent *ec, gpointer data) client = WINDOW_AS_CLIENT(obwin); break; case Window_Menu: - case Window_Internal: /* not to be used for events */ g_assert_not_reached(); break; + case Window_Internal: + /* we don't do anything with events directly on these windows */ + break; } } |
