diff options
author | sabetts <sabetts> | 2001-06-02 10:12:52 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-06-02 10:12:52 +0000 |
commit | 981e11ac363e79419d08c158ceb0d257ee87a69b (patch) | |
tree | e8a5e649fe5dd3ade4c9a901118a992e82aa45c5 /src/list.c | |
parent | 2a84949a2adb5e342db8043512c3866f2e396e5b (diff) | |
download | ratpoison-981e11ac363e79419d08c158ceb0d257ee87a69b.zip |
* src/manage.c (hide_window): ignore unmap_notify events when
unmapping the window.
* src/list.c (add_to_window_list): use WIN_EVENTS in XSelectInput.
* src/data.h (struct rp_window): remove iconizing field. remove
code using iconizing.
(WIN_EVENTS): new define
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -65,7 +65,6 @@ add_to_window_list (screen_info *s, Window w) new_window->last_access = 0; new_window->prev = NULL; new_window->state = WithdrawnState; - new_window->iconizing = 0; new_window->number = -1; new_window->named = 0; new_window->hints = XAllocSizeHints (); @@ -75,8 +74,7 @@ add_to_window_list (screen_info *s, Window w) get_mouse_root_position (new_window, &new_window->mouse_x, &new_window->mouse_y); - XSelectInput (dpy, new_window->w, - PropertyChangeMask | ColormapChangeMask | FocusChangeMask); + XSelectInput (dpy, new_window->w, WIN_EVENTS); new_window->name = xmalloc (strlen ("Unnamed") + 1); |