Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
560ca1ea
Commit
560ca1ea
authored
Sep 15, 2010
by
Sebastian Dröge
Browse files
gdk: Only use XComposite if it is available
Fixes build if it isn't available. Bug #629748.
parent
57e0b9a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
gdk/x11/gdkdnd-x11.c
View file @
560ca1ea
...
...
@@ -587,6 +587,7 @@ gdk_window_cache_new (GdkScreen *screen)
g_free
(
children
);
#ifdef HAVE_XCOMPOSITE
/*
* Add the composite overlay window to the cache, as this can be a reasonable
* Xdnd proxy as well.
...
...
@@ -600,6 +601,7 @@ gdk_window_cache_new (GdkScreen *screen)
gdk_window_cache_add
(
result
,
cow
,
0
,
0
,
gdk_screen_get_width
(
screen
),
gdk_screen_get_height
(
screen
),
TRUE
);
XCompositeReleaseOverlayWindow
(
xdisplay
,
GDK_WINDOW_XWINDOW
(
root_window
));
}
#endif
return
result
;
}
...
...
Write
Preview
Supports
Markdown
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