You are not logged in.

#1 2017-07-25 12:42:06

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

[SOLVED] X11, Is there a method to check if a compositor is running?

I wrote a tool that optionally make uses of transparency/shadows
The problem is that when compositor is turned off, it becomes ugly, so i wonder if there is a way to detect if a compositor is running and so automatically turn it off as needed.

Thanks.

--EDIT--
Marked as solved, but i've had to shorten the subject to prepend [SOLVED]

Last edited by kokoko3k (2017-07-25 17:33:55)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2017-07-25 13:59:51

phw
Member
Registered: 2013-05-27
Posts: 318

Re: [SOLVED] X11, Is there a method to check if a compositor is running?

What toolkit is it using? The screenshot looks kinda like GTK, there you have gdk_screen_is_composited (). Other toolkits possible provide something similar.

I don't know how to check this on a lower level, but maybe you want to dive into the code smile

Offline

#3 2017-07-25 16:56:44

seth
Member
Registered: 2012-09-03
Posts: 51,317

Offline

#4 2017-07-25 17:33:03

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: [SOLVED] X11, Is there a method to check if a compositor is running?

Nice spotting seth!
I searched but come up empty, thank you both for answering.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB