summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2002-05-07 14:42:47 +0000
committerAnders Carlsson <andersca@src.gnome.org>2002-05-07 14:42:47 +0000
commit9138b9aa3c02ab410717f2576c175c9e23f27734 (patch)
treeddee96699c0ad772576172f17ff822ec4058fdf8 /src/frames.c
parentde41777c696796c094b9fbf4df3df6b203e0c58c (diff)
downloadmetacity-9138b9aa3c02ab410717f2576c175c9e23f27734.tar.gz
metacity-9138b9aa3c02ab410717f2576c175c9e23f27734.tar.bz2
Fix atom name; it's _NET_SHOW_DESKTOP, not _NET_WM_SHOW_DESKTOP.
2002-05-07 Anders Carlsson <andersca@gnu.org> * src/display.c: (meta_display_open), (event_callback), (meta_display_update_show_desktop_hint): * src/display.h: * src/screen.c: (set_supported_hint): Fix atom name; it's _NET_SHOW_DESKTOP, not _NET_WM_SHOW_DESKTOP. * src/frames.c: (meta_frames_unmanage_window): Restore the mouse cursor to default when unmanaging a window.
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/frames.c b/src/frames.c
index aadb86b..e98a890 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -450,7 +450,12 @@ meta_frames_unmanage_window (MetaFrames *frames,
frame = g_hash_table_lookup (frames->frames, &xwindow);
if (frame)
- {
+ {
+ /* restore the cursor */
+ meta_core_set_screen_cursor (gdk_display,
+ frame->xwindow,
+ META_CURSOR_DEFAULT);
+
gdk_window_set_user_data (frame->window, NULL);
if (frames->last_motion_frame == frame)