On 10/12/2015 02:42 PM, Anthony Walter wrote:
""Maybe, but only in case if it's easy to extract information if we are
under unity wm or other wm (I guess that it should not be an issue)."

{ UnityAppIndicatorInit returns true if Unity is the current desktop and
   the required appindicator libraries can be loaded }

function UnityAppIndicatorInit: Boolean;

The relevant HOWTO:

https://github.com/sysrpl/Lazarus.UnityAppIndicators/blob/master/lazarus/lcl/interfaces/gtk2/unitywsctrls.pas#L263-L267
https://github.com/sysrpl/Lazarus.UnityAppIndicators/blob/master/changes.patch#L18

ok, thanks. Can you provide result of TGtk2WidgetSet.GetWindowManager when you running simple app under unity ?

zeljko

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to