[Xfce4-commits] [xfce/xfwm4] 24/32: Fix compilation with --disable-compositor

noreply at xfce.org noreply at xfce.org
Tue Dec 5 09:22:10 CET 2017


This is an automated email from the git hooks/post-receive script.

o   l   i   v   i   e   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit 9cccb274b729f3f5cea5ae77df2553df79c12251
Author: Viktor Odintsev <zakhams at gmail.com>
Date:   Wed Jul 5 05:18:09 2017 +0300

    Fix compilation with --disable-compositor
---
 src/display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/display.c b/src/display.c
index fcd8282..e3ddcd9 100644
--- a/src/display.c
+++ b/src/display.c
@@ -603,6 +603,7 @@ myDisplayGetScreenFromRoot (DisplayInfo *display, Window root)
 ScreenInfo *
 myDisplayGetScreenFromOutput (DisplayInfo *display, Window output)
 {
+#ifdef HAVE_COMPOSITOR
     GSList *list;
 
     g_return_val_if_fail (display != NULL, NULL);
@@ -616,6 +617,7 @@ myDisplayGetScreenFromOutput (DisplayInfo *display, Window output)
         }
     }
     TRACE ("myDisplayGetScreenFromOutput: no screen found for output window %p", output);
+#endif
 
     return NULL;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list