Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Dorota Czaplejewicz
gtk
Commits
325cbef2
Commit
325cbef2
authored
Feb 23, 2010
by
Matthias Clasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protect against X errors when clearing the DND cache
This was reported as a problem in bug 609952.
parent
cc66fd5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkdnd-x11.c
+9
-3
No files found.
gdk/x11/gdkdnd-x11.c
View file @
325cbef2
...
...
@@ -580,8 +580,14 @@ gdk_window_cache_destroy (GdkWindowCache *cache)
gdk_window_remove_filter
(
root_window
,
gdk_window_cache_filter
,
cache
);
gdk_window_remove_filter
(
NULL
,
gdk_window_cache_shape_filter
,
cache
);
gdk_error_trap_push
();
g_list_foreach
(
cache
->
children
,
(
GFunc
)
free_cache_child
,
gdk_screen_get_display
(
cache
->
screen
));
gdk_flush
();
gdk_error_trap_pop
();
g_list_free
(
cache
->
children
);
g_hash_table_destroy
(
cache
->
child_hash
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment