Setup the root window to receive PropertyNotify events.

2002-05-30  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_init): Setup the root window to receive
	PropertyNotify events.
This commit is contained in:
Dave Camp 2002-05-31 00:03:02 +00:00 committed by Dave Camp
parent 1d192654da
commit 6ffc2786af
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-05-30 Dave Camp <dave@ximian.com>
* src/file-manager/fm-desktop-icon-view.c (fm_desktop_icon_view_init): Setup the
root window to receive PropertyNotify events.
2002-05-30 Dave Camp <dave@ximian.com>
* src/file-manager/fm-directory-view.c (process_new_files): Don't

View file

@ -688,6 +688,8 @@ fm_desktop_icon_view_init (FMDesktopIconView *desktop_icon_view)
panel_desktop_area_changed (desktop_icon_view);
/* Setup the property filter */
XSelectInput (GDK_DISPLAY (), GDK_ROOT_WINDOW (), PropertyChangeMask);
gdk_window_add_filter (gdk_get_default_root_window (),
desktop_icon_view_property_filter,
desktop_icon_view);