diff options
author | Victor Kareh <[email protected]> | 2020-03-09 07:57:26 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-02 16:18:29 +0200 |
commit | d959a0e448c05f84cef2ff43ad94695fb2acbc1e (patch) | |
tree | c52275a53bbc58eaeb13f89ed67a9e8e4bb95db3 /src/compositor | |
parent | 8e2102b108aa18453439f12a8fc2fce1c6d94108 (diff) | |
download | marco-d959a0e448c05f84cef2ff43ad94695fb2acbc1e.tar.bz2 marco-d959a0e448c05f84cef2ff43ad94695fb2acbc1e.tar.xz |
Remove unnecessary warnings about visible region
Also reformat recent code change to fix styling issues.
Diffstat (limited to 'src/compositor')
-rw-r--r-- | src/compositor/compositor-xrender.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index 4a05bc7a..59fbd93f 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -1153,13 +1153,9 @@ border_size (MetaCompWindow *cw) { visible_region = meta_window_get_frame_bounds (cw->window); - if (visible_region != NULL) { + if (visible_region != NULL) visible = cairo_region_to_xserver_region (xdisplay, visible_region); - } - else { - g_warning ("Visible region is null"); } - } meta_error_trap_push (display); border = XFixesCreateRegionFromWindow (xdisplay, cw->id, |