@ -1,411 +1,259 @@
set ( SERVER_LIB_SRCS
a b s t r a c t _ d a t a _ s o u r c e . c p p
a b s t r a c t _ d r o p _ h a n d l e r . c p p
a p p m e n u _ i n t e r f a c e . c p p
b l u r _ i n t e r f a c e . c p p
c l i e n t b u f f e r . c p p
c l i e n t b u f f e r i n t e g r a t i o n . c p p
c l i e n t c o n n e c t i o n . c p p
c o m p o s i t o r _ i n t e r f a c e . c p p
c o n t r a s t _ i n t e r f a c e . c p p
d a t a c o n t r o l d e v i c e _ v 1 _ i n t e r f a c e . c p p
d a t a c o n t r o l d e v i c e m a n a g e r _ v 1 _ i n t e r f a c e . c p p
d a t a c o n t r o l o f f e r _ v 1 _ i n t e r f a c e . c p p
d a t a c o n t r o l s o u r c e _ v 1 _ i n t e r f a c e . c p p
d a t a d e v i c e _ i n t e r f a c e . c p p
d a t a d e v i c e m a n a g e r _ i n t e r f a c e . c p p
d a t a o f f e r _ i n t e r f a c e . c p p
d a t a s o u r c e _ i n t e r f a c e . c p p
d i s p l a y . c p p
d p m s _ i n t e r f a c e . c p p
d r m c l i e n t b u f f e r . c p p
d r m l e a s e d e v i c e _ v 1 _ i n t e r f a c e . c p p
f a k e i n p u t _ i n t e r f a c e . c p p
f i l t e r e d _ d i s p l a y . c p p
i d l e _ i n t e r f a c e . c p p
i d l e i n h i b i t _ v 1 _ i n t e r f a c e . c p p
i n p u t m e t h o d _ v 1 _ i n t e r f a c e . c p p
k e y b o a r d _ i n t e r f a c e . c p p
k e y b o a r d _ s h o r t c u t s _ i n h i b i t _ v 1 _ i n t e r f a c e . c p p
k e y s t a t e _ i n t e r f a c e . c p p
l a y e r s h e l l _ v 1 _ i n t e r f a c e . c p p
l i n u x d m a b u f v 1 c l i e n t b u f f e r . c p p
o u t p u t _ i n t e r f a c e . c p p
o u t p u t d e v i c e _ v 2 _ i n t e r f a c e . c p p
o u t p u t c o n f i g u r a t i o n _ v 2 _ i n t e r f a c e . c p p
o u t p u t m a n a g e m e n t _ v 2 _ i n t e r f a c e . c p p
o u t p u t c h a n g e s e t _ v 2 . c p p
p l a s m a s h e l l _ i n t e r f a c e . c p p
p l a s m a v i r t u a l d e s k t o p _ i n t e r f a c e . c p p
p l a s m a w i n d o w m a n a g e m e n t _ i n t e r f a c e . c p p
p o i n t e r _ i n t e r f a c e . c p p
p o i n t e r c o n s t r a i n t s _ v 1 _ i n t e r f a c e . c p p
p o i n t e r g e s t u r e s _ v 1 _ i n t e r f a c e . c p p
p r i m a r y o u t p u t _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n d e v i c e _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n d e v i c e m a n a g e r _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n o f f e r _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n s o u r c e _ v 1 _ i n t e r f a c e . c p p
r e g i o n _ i n t e r f a c e . c p p
r e l a t i v e p o i n t e r _ v 1 _ i n t e r f a c e . c p p
s c r e e n c a s t _ v 1 _ i n t e r f a c e . c p p
s e a t _ i n t e r f a c e . c p p
s e r v e r _ d e c o r a t i o n _ i n t e r f a c e . c p p
s e r v e r _ d e c o r a t i o n _ p a l e t t e _ i n t e r f a c e . c p p
s h a d o w _ i n t e r f a c e . c p p
s h m c l i e n t b u f f e r . c p p
s l i d e _ i n t e r f a c e . c p p
s u b c o m p o s i t o r _ i n t e r f a c e . c p p
s u r f a c e _ i n t e r f a c e . c p p
s u r f a c e r o l e . c p p
t a b l e t _ v 2 _ i n t e r f a c e . c p p
t e x t i n p u t . c p p
t e x t i n p u t _ v 2 _ i n t e r f a c e . c p p
t e x t i n p u t _ v 3 _ i n t e r f a c e . c p p
t o u c h _ i n t e r f a c e . c p p
v i e w p o r t e r _ i n t e r f a c e . c p p
x d g a c t i v a t i o n _ v 1 _ i n t e r f a c e . c p p
x d g d e c o r a t i o n _ v 1 _ i n t e r f a c e . c p p
x d g f o r e i g n _ v 2 _ i n t e r f a c e . c p p
x d g o u t p u t _ v 1 _ i n t e r f a c e . c p p
x d g s h e l l _ i n t e r f a c e . c p p
)
add_subdirectory ( tools )
ecm_qt_declare_logging_category ( SERVER_LIB_SRCS
H E A D E R l o g g i n g . h
I D E N T I F I E R K W A Y L A N D _ S E R V E R
C A T E G O R Y _ N A M E k w a y l a n d - s e r v e r
D E F A U L T _ S E V E R I T Y C r i t i c a l
D E S C R I P T I O N " K W a y l a n d S e r v e r L i b r a r y "
E X P O R T K W A Y L A N D S E R V E R
)
if ( BUILD_TESTING )
add_subdirectory ( autotests )
add_subdirectory ( tests )
endif ( )
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
set ( WaylandProtocols_xml_SOURCES )
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d _ D A T A D I R } / w a y l a n d . x m l
B A S E N A M E w a y l a n d
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / k d e - o u t p u t - d e v i c e - v 2 . x m l
B A S E N A M E k d e - o u t p u t - d e v i c e - v 2
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / k d e - p r i m a r y - o u t p u t - v 1 . x m l
B A S E N A M E k d e - p r i m a r y - o u t p u t - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / k d e - o u t p u t - m a n a g e m e n t - v 2 . x m l
B A S E N A M E k d e - o u t p u t - m a n a g e m e n t - v 2
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / p l a s m a - s h e l l . x m l
B A S E N A M E p l a s m a - s h e l l
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / p l a s m a - v i r t u a l - d e s k t o p . x m l
B A S E N A M E o r g - k d e - p l a s m a - v i r t u a l - d e s k t o p
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / p l a s m a - w i n d o w - m a n a g e m e n t . x m l
B A S E N A M E p l a s m a - w i n d o w - m a n a g e m e n t
)
ecm_add_wayland_server_protocol ( SERVER_LIB_SRCS
ecm_add_wayland_server_protocol ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / s u r f a c e - e x t e n s i o n . x m l
B A S E N A M E q t - s u r f a c e - e x t e n s i o n
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / i d l e . x m l
B A S E N A M E i d l e
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / f a k e - i n p u t . x m l
B A S E N A M E f a k e - i n p u t
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / s h a d o w . x m l
B A S E N A M E s h a d o w
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRC S
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / d p m s . x m l
B A S E N A M E d p m s
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / b l u r . x m l
B A S E N A M E b l u r
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / c o n t r a s t . x m l
B A S E N A M E c o n t r a s t
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / r e l a t i v e - p o i n t e r / r e l a t i v e - p o i n t e r - u n s t a b l e - v 1 . x m l
B A S E N A M E r e l a t i v e - p o i n t e r - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / s l i d e . x m l
B A S E N A M E s l i d e
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / s e r v e r - d e c o r a t i o n . x m l
B A S E N A M E s e r v e r - d e c o r a t i o n
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / t e x t - i n p u t / t e x t - i n p u t - u n s t a b l e - v 1 . x m l
B A S E N A M E t e x t - i n p u t - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / t e x t - i n p u t - u n s t a b l e - v 2 . x m l
B A S E N A M E t e x t - i n p u t - u n s t a b l e - v 2
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / t e x t - i n p u t / t e x t - i n p u t - u n s t a b l e - v 3 . x m l
B A S E N A M E t e x t - i n p u t - u n s t a b l e - v 3
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / p o i n t e r - g e s t u r e s / p o i n t e r - g e s t u r e s - u n s t a b l e - v 1 . x m l
B A S E N A M E p o i n t e r - g e s t u r e s - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / p o i n t e r - c o n s t r a i n t s / p o i n t e r - c o n s t r a i n t s - u n s t a b l e - v 1 . x m l
B A S E N A M E p o i n t e r - c o n s t r a i n t s - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / x d g - f o r e i g n / x d g - f o r e i g n - u n s t a b l e - v 2 . x m l
B A S E N A M E x d g - f o r e i g n - u n s t a b l e - v 2
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / i d l e - i n h i b i t / i d l e - i n h i b i t - u n s t a b l e - v 1 . x m l
B A S E N A M E i d l e - i n h i b i t - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / a p p m e n u . x m l
B A S E N A M E a p p m e n u
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / s e r v e r - d e c o r a t i o n - p a l e t t e . x m l
B A S E N A M E s e r v e r - d e c o r a t i o n - p a l e t t e
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / x d g - o u t p u t / x d g - o u t p u t - u n s t a b l e - v 1 . x m l
B A S E N A M E x d g - o u t p u t - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / s t a b l e / x d g - s h e l l / x d g - s h e l l . x m l
B A S E N A M E x d g - s h e l l
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / x d g - d e c o r a t i o n / x d g - d e c o r a t i o n - u n s t a b l e - v 1 . x m l
B A S E N A M E x d g - d e c o r a t i o n - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / k e y s t a t e . x m l
B A S E N A M E k e y s t a t e
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / l i n u x - d m a b u f / l i n u x - d m a b u f - u n s t a b l e - v 1 . x m l
B A S E N A M E l i n u x - d m a b u f - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / t a b l e t / t a b l e t - u n s t a b l e - v 2 . x m l
B A S E N A M E t a b l e t - u n s t a b l e - v 2
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
P R O T O C O L $ { P R O J E C T _ S O U R C E _ D I R } / s r c / p r o t o c o l s / w l r - d a t a - c o n t r o l - u n s t a b l e - v 1 . x m l
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P R O J E C T _ S O U R C E _ D I R } / s r c / w a y l a n d / p r o t o c o l s / w l r - d a t a - c o n t r o l - u n s t a b l e - v 1 . x m l
B A S E N A M E w l r - d a t a - c o n t r o l - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
P R O T O C O L $ { P R O J E C T _ S O U R C E _ D I R } / s r c / p r o t o c o l s / w l r - l a y e r - s h e l l - u n s t a b l e - v 1 . x m l
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P R O J E C T _ S O U R C E _ D I R } / s r c / w a y l a n d / p r o t o c o l s / w l r - l a y e r - s h e l l - u n s t a b l e - v 1 . x m l
B A S E N A M E w l r - l a y e r - s h e l l - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / k e y b o a r d - s h o r t c u t s - i n h i b i t / k e y b o a r d - s h o r t c u t s - i n h i b i t - u n s t a b l e - v 1 . x m l
B A S E N A M E k e y b o a r d - s h o r t c u t s - i n h i b i t - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / s t a b l e / v i e w p o r t e r / v i e w p o r t e r . x m l
B A S E N A M E v i e w p o r t e r
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / p r i m a r y - s e l e c t i o n / p r i m a r y - s e l e c t i o n - u n s t a b l e - v 1 . x m l
B A S E N A M E w p - p r i m a r y - s e l e c t i o n - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { P L A S M A _ W A Y L A N D _ P R O T O C O L S _ D I R } / s c r e e n c a s t . x m l
B A S E N A M E z k d e - s c r e e n c a s t - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / u n s t a b l e / i n p u t - m e t h o d / i n p u t - m e t h o d - u n s t a b l e - v 1 . x m l
B A S E N A M E i n p u t - m e t h o d - u n s t a b l e - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / s t a g i n g / x d g - a c t i v a t i o n / x d g - a c t i v a t i o n - v 1 . x m l
B A S E N A M E x d g - a c t i v a t i o n - v 1
)
ecm_add_qtwayland_server_protocol_kde ( SERVER_LIB_SRCS
ecm_add_qtwayland_server_protocol_kde ( WaylandProtocols_xml_SOURCES
P R O T O C O L $ { W a y l a n d P r o t o c o l s _ D A T A D I R } / s t a g i n g / d r m - l e a s e / d r m - l e a s e - v 1 . x m l
B A S E N A M E d r m - l e a s e - v 1
)
add_library ( KWaylandServer ${ SERVER_LIB_SRCS } )
# C M a k e h a s a k n o w n b u g w h e r e target_source ( ) d o e s n ' t w o r k a s e x p e c t e d w i t h f i l e s g e n e r a t e d
# i n a d i r e c t o r y o t h e r t h a n t h e o n e w h e r e t h e t a r g e t i s d e f i n e d . I t s h o u l d b e f i x e d i n 3 . 2 0 .
add_library ( WaylandProtocols_xml OBJECT ${ WaylandProtocols_xml_SOURCES } )
target_link_libraries ( WaylandProtocols_xml Qt::Core Wayland::Server )
target_link_libraries ( kwin WaylandProtocols_xml )
target_sources ( kwin PRIVATE
a b s t r a c t _ d a t a _ s o u r c e . c p p
a b s t r a c t _ d r o p _ h a n d l e r . c p p
a p p m e n u _ i n t e r f a c e . c p p
b l u r _ i n t e r f a c e . c p p
c l i e n t b u f f e r . c p p
c l i e n t b u f f e r i n t e g r a t i o n . c p p
c l i e n t c o n n e c t i o n . c p p
c o m p o s i t o r _ i n t e r f a c e . c p p
c o n t r a s t _ i n t e r f a c e . c p p
d a t a c o n t r o l d e v i c e _ v 1 _ i n t e r f a c e . c p p
d a t a c o n t r o l d e v i c e m a n a g e r _ v 1 _ i n t e r f a c e . c p p
d a t a c o n t r o l o f f e r _ v 1 _ i n t e r f a c e . c p p
d a t a c o n t r o l s o u r c e _ v 1 _ i n t e r f a c e . c p p
d a t a d e v i c e _ i n t e r f a c e . c p p
d a t a d e v i c e m a n a g e r _ i n t e r f a c e . c p p
d a t a o f f e r _ i n t e r f a c e . c p p
d a t a s o u r c e _ i n t e r f a c e . c p p
d i s p l a y . c p p
d p m s _ i n t e r f a c e . c p p
d r m c l i e n t b u f f e r . c p p
d r m l e a s e d e v i c e _ v 1 _ i n t e r f a c e . c p p
f a k e i n p u t _ i n t e r f a c e . c p p
f i l t e r e d _ d i s p l a y . c p p
i d l e _ i n t e r f a c e . c p p
i d l e i n h i b i t _ v 1 _ i n t e r f a c e . c p p
i n p u t m e t h o d _ v 1 _ i n t e r f a c e . c p p
k e y b o a r d _ i n t e r f a c e . c p p
k e y b o a r d _ s h o r t c u t s _ i n h i b i t _ v 1 _ i n t e r f a c e . c p p
k e y s t a t e _ i n t e r f a c e . c p p
l a y e r s h e l l _ v 1 _ i n t e r f a c e . c p p
l i n u x d m a b u f v 1 c l i e n t b u f f e r . c p p
o u t p u t _ i n t e r f a c e . c p p
o u t p u t d e v i c e _ v 2 _ i n t e r f a c e . c p p
o u t p u t c o n f i g u r a t i o n _ v 2 _ i n t e r f a c e . c p p
o u t p u t m a n a g e m e n t _ v 2 _ i n t e r f a c e . c p p
o u t p u t c h a n g e s e t _ v 2 . c p p
p l a s m a s h e l l _ i n t e r f a c e . c p p
p l a s m a v i r t u a l d e s k t o p _ i n t e r f a c e . c p p
p l a s m a w i n d o w m a n a g e m e n t _ i n t e r f a c e . c p p
p o i n t e r _ i n t e r f a c e . c p p
p o i n t e r c o n s t r a i n t s _ v 1 _ i n t e r f a c e . c p p
p o i n t e r g e s t u r e s _ v 1 _ i n t e r f a c e . c p p
p r i m a r y o u t p u t _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n d e v i c e _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n d e v i c e m a n a g e r _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n o f f e r _ v 1 _ i n t e r f a c e . c p p
p r i m a r y s e l e c t i o n s o u r c e _ v 1 _ i n t e r f a c e . c p p
r e g i o n _ i n t e r f a c e . c p p
r e l a t i v e p o i n t e r _ v 1 _ i n t e r f a c e . c p p
s c r e e n c a s t _ v 1 _ i n t e r f a c e . c p p
s e a t _ i n t e r f a c e . c p p
s e r v e r _ d e c o r a t i o n _ i n t e r f a c e . c p p
s e r v e r _ d e c o r a t i o n _ p a l e t t e _ i n t e r f a c e . c p p
s h a d o w _ i n t e r f a c e . c p p
s h m c l i e n t b u f f e r . c p p
s l i d e _ i n t e r f a c e . c p p
s u b c o m p o s i t o r _ i n t e r f a c e . c p p
s u r f a c e _ i n t e r f a c e . c p p
s u r f a c e r o l e . c p p
t a b l e t _ v 2 _ i n t e r f a c e . c p p
t e x t i n p u t . c p p
t e x t i n p u t _ v 2 _ i n t e r f a c e . c p p
t e x t i n p u t _ v 3 _ i n t e r f a c e . c p p
t o u c h _ i n t e r f a c e . c p p
v i e w p o r t e r _ i n t e r f a c e . c p p
x d g a c t i v a t i o n _ v 1 _ i n t e r f a c e . c p p
x d g d e c o r a t i o n _ v 1 _ i n t e r f a c e . c p p
x d g f o r e i g n _ v 2 _ i n t e r f a c e . c p p
x d g o u t p u t _ v 1 _ i n t e r f a c e . c p p
x d g s h e l l _ i n t e r f a c e . c p p
)
if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
target_sources ( KWaylandServer PRIVATE utils/executable_path_proc.cpp )
target_sources ( kwin PRIVATE utils/executable_path_proc.cpp )
elseif ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
target_sources ( KWaylandServer PRIVATE utils/executable_path_sysctl.cpp )
target_sources ( kwin PRIVATE utils/executable_path_sysctl.cpp )
else ( )
message ( FATAL_ERROR "Unsupported platform ${CMAKE_SYSTEM_NAME}" )
endif ( )
add_library ( Plasma::KWaylandServer ALIAS KWaylandServer )
ecm_generate_export_header ( KWaylandServer
B A S E _ N A M E
K W a y l a n d S e r v e r
E X P O R T _ F I L E _ N A M E
K W a y l a n d S e r v e r / k w a y l a n d s e r v e r _ e x p o r t . h
G R O U P _ B A S E _ N A M E K F
V E R S I O N $ { P R O J E C T _ V E R S I O N }
)
target_include_directories ( KWaylandServer INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}>" )
target_link_libraries ( KWaylandServer
P U B L I C
Q t : : G u i
W a y l a n d : : S e r v e r
P R I V A T E
E G L : : E G L
Q t : : C o n c u r r e n t
)
target_compile_definitions ( KWaylandServer PRIVATE
M E S A _ E G L _ N O _ X 1 1 _ H E A D E R S
E G L _ N O _ X 1 1
E G L _ N O _ P L A T F O R M _ S P E C I F I C _ T Y P E S
)
set_target_properties ( KWaylandServer PROPERTIES VERSION ${ KWAYLANDSERVER_VERSION }
S O V E R S I O N $ { K W A Y L A N D S E R V E R _ S O V E R S I O N }
)
install ( TARGETS KWaylandServer EXPORT KWaylandServerTargets ${ KF5_INSTALL_TARGETS_DEFAULT_ARGS } )
set ( SERVER_LIB_HEADERS
$ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / K W a y l a n d S e r v e r / k w a y l a n d s e r v e r _ e x p o r t . h
a b s t r a c t _ d a t a _ s o u r c e . h
a b s t r a c t _ d r o p _ h a n d l e r . h
a p p m e n u _ i n t e r f a c e . h
b l u r _ i n t e r f a c e . h
c l i e n t b u f f e r . h
c l i e n t b u f f e r i n t e g r a t i o n . h
c l i e n t c o n n e c t i o n . h
c o m p o s i t o r _ i n t e r f a c e . h
c o n t r a s t _ i n t e r f a c e . h
d a t a c o n t r o l d e v i c e _ v 1 _ i n t e r f a c e . h
d a t a c o n t r o l d e v i c e m a n a g e r _ v 1 _ i n t e r f a c e . h
d a t a c o n t r o l o f f e r _ v 1 _ i n t e r f a c e . h
d a t a c o n t r o l s o u r c e _ v 1 _ i n t e r f a c e . h
d a t a d e v i c e _ i n t e r f a c e . h
d a t a d e v i c e m a n a g e r _ i n t e r f a c e . h
d a t a o f f e r _ i n t e r f a c e . h
d a t a s o u r c e _ i n t e r f a c e . h
d i s p l a y . h
d p m s _ i n t e r f a c e . h
d r m c l i e n t b u f f e r . h
d r m l e a s e d e v i c e _ v 1 _ i n t e r f a c e . h
f a k e i n p u t _ i n t e r f a c e . h
f i l t e r e d _ d i s p l a y . h
i d l e _ i n t e r f a c e . h
i d l e i n h i b i t _ v 1 _ i n t e r f a c e . h
i n p u t m e t h o d _ v 1 _ i n t e r f a c e . h
k e y b o a r d _ i n t e r f a c e . h
k e y b o a r d _ s h o r t c u t s _ i n h i b i t _ v 1 _ i n t e r f a c e . h
k e y s t a t e _ i n t e r f a c e . h
l a y e r s h e l l _ v 1 _ i n t e r f a c e . h
l i n u x d m a b u f v 1 c l i e n t b u f f e r . h
o u t p u t _ i n t e r f a c e . h
o u t p u t c h a n g e s e t _ v 2 . h
o u t p u t c o n f i g u r a t i o n _ v 2 _ i n t e r f a c e . h
o u t p u t d e v i c e _ v 2 _ i n t e r f a c e . h
o u t p u t m a n a g e m e n t _ v 2 _ i n t e r f a c e . h
p l a s m a s h e l l _ i n t e r f a c e . h
p l a s m a v i r t u a l d e s k t o p _ i n t e r f a c e . h
p l a s m a w i n d o w m a n a g e m e n t _ i n t e r f a c e . h
p o i n t e r _ i n t e r f a c e . h
p o i n t e r c o n s t r a i n t s _ v 1 _ i n t e r f a c e . h
p o i n t e r g e s t u r e s _ v 1 _ i n t e r f a c e . h
p r i m a r y o u t p u t _ v 1 _ i n t e r f a c e . h
p r i m a r y s e l e c t i o n d e v i c e _ v 1 _ i n t e r f a c e . h
p r i m a r y s e l e c t i o n d e v i c e m a n a g e r _ v 1 _ i n t e r f a c e . h
p r i m a r y s e l e c t i o n o f f e r _ v 1 _ i n t e r f a c e . h
p r i m a r y s e l e c t i o n s o u r c e _ v 1 _ i n t e r f a c e . h
r e l a t i v e p o i n t e r _ v 1 _ i n t e r f a c e . h
s c r e e n c a s t _ v 1 _ i n t e r f a c e . h
s e a t _ i n t e r f a c e . h
s e r v e r _ d e c o r a t i o n _ i n t e r f a c e . h
s e r v e r _ d e c o r a t i o n _ p a l e t t e _ i n t e r f a c e . h
s h a d o w _ i n t e r f a c e . h
s h m c l i e n t b u f f e r . h
s l i d e _ i n t e r f a c e . h
s u b c o m p o s i t o r _ i n t e r f a c e . h
s u r f a c e _ i n t e r f a c e . h
t a b l e t _ v 2 _ i n t e r f a c e . h
t e x t i n p u t . h
t e x t i n p u t _ v 2 _ i n t e r f a c e . h
t e x t i n p u t _ v 3 _ i n t e r f a c e . h
t o u c h _ i n t e r f a c e . h
u t i l s . h
v i e w p o r t e r _ i n t e r f a c e . h
x d g a c t i v a t i o n _ v 1 _ i n t e r f a c e . h
x d g d e c o r a t i o n _ v 1 _ i n t e r f a c e . h
x d g f o r e i g n _ v 2 _ i n t e r f a c e . h
x d g o u t p u t _ v 1 _ i n t e r f a c e . h
x d g s h e l l _ i n t e r f a c e . h
)
install ( FILES
$ { S E R V E R _ L I B _ H E A D E R S }
D E S T I N A T I O N $ { K D E _ I N S T A L L _ I N C L U D E D I R } / K W a y l a n d S e r v e r C O M P O N E N T D e v e l
)
# m a k e a v a i l a b l e t o e c m _ a d d _ q c h i n p a r e n t f o l d e r
set ( KWaylandServer_APIDOX_SRCS ${ SERVER_LIB_HEADERS } PARENT_SCOPE )
set ( KWaylandServer_APIDOX_BUILD_INCLUDE_DIRS ${ CMAKE_CURRENT_BINARY_DIR } PARENT_SCOPE )