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
1e694b4d
Commit
1e694b4d
authored
Dec 10, 2010
by
Matthias Clasen
Browse files
Add a vfunc for gdk_window_set_composited
parent
7f6ac56e
Changes
3
Hide whitespace changes
Inline
Side-by-side
gdk/gdkwindow.c
View file @
1e694b4d
...
...
@@ -7470,14 +7470,15 @@ gdk_window_set_composited (GdkWindow *window,
display
=
gdk_window_get_display
(
window
);
if
(
!
gdk_display_supports_composite
(
display
)
&&
composited
)
impl_class
=
GDK_WINDOW_IMPL_GET_CLASS
(
window
->
impl
);
if
(
composited
&&
(
!
gdk_display_supports_composite
(
display
)
||
!
impl_class
->
set_composited
))
{
g_warning
(
"gdk_window_set_composited called but "
"compositing is not supported"
);
return
;
}
impl_class
=
GDK_WINDOW_IMPL_GET_CLASS
(
window
->
impl
);
impl_class
->
set_composited
(
window
,
composited
);
recompute_visible_regions
(
window
,
TRUE
,
FALSE
);
...
...
gdk/quartz/gdkwindow-quartz.c
View file @
1e694b4d
...
...
@@ -2912,11 +2912,6 @@ gdk_window_set_opacity (GdkWindow *window,
[
impl
->
toplevel
setAlphaValue
:
opacity
];
}
void
_gdk_windowing_window_set_composited
(
GdkWindow
*
window
,
gboolean
composited
)
{
}
static
cairo_region_t
*
gdk_quartz_window_get_shape
(
GdkWindow
*
window
)
{
...
...
gdk/win32/gdkwindow-win32.c
View file @
1e694b4d
...
...
@@ -3150,11 +3150,6 @@ gdk_window_set_opacity (GdkWindow *window,
}
}
void
_gdk_windowing_window_set_composited
(
GdkWindow
*
window
,
gboolean
composited
)
{
}
static
cairo_region_t
*
gdk_win32_window_get_shape
(
GdkWindow
*
window
)
{
...
...
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