summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-06-02 10:12:52 +0000
committersabetts <sabetts>2001-06-02 10:12:52 +0000
commit981e11ac363e79419d08c158ceb0d257ee87a69b (patch)
treee8a5e649fe5dd3ade4c9a901118a992e82aa45c5 /src/list.c
parent2a84949a2adb5e342db8043512c3866f2e396e5b (diff)
downloadratpoison-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/list.c b/src/list.c
index a53d0b8..0a5b96e 100644
--- a/src/list.c
+++ b/src/list.c
@@ -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);