Hello Sieghard.

> A dependency to wine? Certainly not.

No, it is a dependency that emulator wine uses to render rounded corner if the 
Windows application was compiled with
CreateRoundRectRgn() and SetWindowRgn().

That dependency is part of the libXExt library.
But I did not find any Pascal translated code of shape.h (one of the header of 
libExt to deal with shape of forms).
And I fail to translate it using h2pas from fpc.

>  have a look at a very simple (leisure) application for Linux that uses them, 
> named "XTeddy"

Thanks, I will do.

I found some example how to do shaped forms with Xorg:

https://lists.freedesktop.org/archives/xorg/2005-October/010747.html

But it uses libXExt dependency:
<https://lists.freedesktop.org/archives/xorg/2005-October/010747.html>

#include <X11/extensions/shape.h>

Fre;D


________________________________
De : Sieghard <[email protected]>
Envoyé : mardi 6 juillet 2021 22:52
À : [email protected] 
<[email protected]>
Objet : Re: [MSEide-MSEgui-talk] Topmost/Above for MSE window

Hallo Fred van Stappen,

Du schriebst am Tue, 6 Jul 2021 13:07:03 +0000:

> Yes, it works fine with wine when liXbext is installed.
> Should we add that dependency to enable custom shaped form for Linux?

A dependency to wine? Certainly not.





________________________________
De : Sieghard <[email protected]>
Envoyé : mardi 6 juillet 2021 22:52
À : [email protected] 
<[email protected]>
Objet : Re: [MSEide-MSEgui-talk] Topmost/Above for MSE window

Hallo Fred van Stappen,

Du schriebst am Tue, 6 Jul 2021 13:07:03 +0000:

> Yes, it works fine with wine when liXbext is installed.
> Should we add that dependency to enable custom shaped form for Linux?

A dependency to wine? Certainly not.

> Or maybe better forget it and be happy to already have it for Windows?

As for shaped windows, you might perhaps have a look at a very simple
(leisure) application for Linux that uses them, named "XTeddy" (Andreas
Tille <[email protected]>, Homepage http://fam-tille.de). The author
seems to have it updated as recently as 2009.
But _do_ take into account that under X11, differently from Windows,
there's (usually) always a window manager "in the background" that's
eager to manage every window on the display. The window manager's task
is to "decorate" all the windows according to their style, mainly that
the user can handle them (by mouse, usually).
There may be window managers that don't allow to turn this behaviour
off, and others (like my openbox) that require some special
configuration to allow for undecorated windows, which then may or may
not be movable, sizaable or whatever one does to windows.
I hope that this information can be useful.

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to