diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-06-11 12:06:01 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-06-11 12:06:01 +0200 |
commit | 4987ca9235c672e34adab84aea3886b0a0e2f060 (patch) | |
tree | d3e78745da1575ddfb94e0841a2bffa4dc0b827a /gdk/gdkwindow.c | |
parent | 89e187e7c1c3ce306b15d188e40be5f43fa821c9 (diff) | |
download | gtk+-4987ca9235c672e34adab84aea3886b0a0e2f060.tar.gz |
Add gdk_window_offscreen_children_changed call
You can call this if you have offscreen children and the geometry of
them changed. This will cause re-picking of the active window sending
enter and leave events as needed.
Diffstat (limited to 'gdk/gdkwindow.c')
-rw-r--r-- | gdk/gdkwindow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index ca042e6f40..fae8bbbb2d 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -8685,6 +8685,11 @@ gdk_window_get_has_offscreen_children (GdkWindow *window) return private->has_offscreen_children; } +void +gdk_window_offscreen_children_changed (GdkWindow *window) +{ + _gdk_syntesize_crossing_events_for_geometry_change (window); +} void _gdk_syntesize_crossing_events_for_geometry_change (GdkWindow *changed_window) |