yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.15k stars 589 forks source link

Conditional syntax #370

Open andrhua opened 4 years ago

andrhua commented 4 years ago

Man page states that some options accept conditions but it is unclear which ones and how this is supposed to be declared. For example, I'd like to disable vsync on games as it creates noticeable input delay. class_g = '%window name%' vsync = false; yields an exception.

absolutelynothelix commented 4 years ago

about the thing that you want to do: i'm not sure that it's possible to disable vsync for a single window, but if it's possible then i want to know how too.

andrhua commented 4 years ago

@mighty9245 just launch it in a separate X session with no compositor (openbox is well suited for this). I used to do this way but eventually made dual boot os with Windows specifically for gaming. Revisiting this problem after almost 3 years it's a little depressing to find out that nothing has changed. Though probably this is out of picom's area of responsibility.