Bug fix: Client window event mask not restored in map_win()

- Fix a bug that client window event masks are not restored in
  map_win(), causing further property changes to be ignored, for
  example.

- Misc changes.
This commit is contained in:
Richard Grenville
2012-11-10 11:41:01 +08:00
parent 59e54b0665
commit aaeafbd19d
2 changed files with 9 additions and 5 deletions

View File

@@ -1979,10 +1979,9 @@ map_win(Display *dpy, Window id,
mark_client_win(dpy, w, cw);
}
}
else if (opts.frame_opacity) {
// Refetch frame extents just in case it changes when the window is
// unmapped
get_frame_extents(dpy, w, w->client_win);
else {
// Re-mark client window here
mark_client_win(dpy, w, w->client_win);
}
// Workaround for _NET_WM_WINDOW_TYPE for Openbox menus, which is