<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"> It's called "XLib", but since
Wayland, and Canonical's Mir are coming out, XServer will
(eventually) be left in the dust as outdated (I'm sure they'll
have compatibility for awhile). Or someone could be a dear, and
write a libEGL version with custom components, and use hardware
acceleration for the entire interface, and shaders for some nice
effects like shadows, etc. The whole thing being smoothly
animated, and .. Oh yeah, so back to the topic: Until then as long
as you're using an XLib (X Protocol) based desktop, then using
those functions should be easy. Just grab a display handle, and a
window handle from GTK, and use the functions!<br>
<br>
- Dennis Fehr<br>
<br>
P.S. Where's my penny? (joking haha) ;)<br>
<br>
On 2015-10-28 04:05 PM, Anthony Walter wrote:<br>
</div>
<blockquote
cite="mid:CAHmPLWVmBKZ_M99i3TQtMWB4yM+CfpPBpAf78mxP2kMhbuwKuQ@mail.gmail.com"
type="cite">
<div dir="ltr">Does anyone have experience or interest in
enhancing window management support for Linux with Lazarus?
<div><br>
</div>
<div>I was reading up on the window management systems for Linux
like Compiz, KWin, Xcfe and found they and many other support
a common protocol for doing things like:</div>
<div><br>
</div>
<div>* altering window z-order</div>
<div>* making window sticky or above<br>
</div>
<div>* switching windows between desktop</div>
<div>* listing desktops</div>
<div>* adding or removing desktops</div>
<div>* switching between desktop</div>
<div>* listing windows</div>
<div>* resizing windows</div>
<div>* activating and deactiving windows for user input</div>
<div><br>
</div>
<div>... and more</div>
<div><br>
</div>
<div>The program wmctrl is an example of such how functionality
can be administered programatically.</div>
<div><br>
</div>
<div>I think it would be very useful if some of these
functionality could be brought into Lazarus, especially in
areas with Lazarus which don't work as desired
(Application.BringToFront) on some Linux systems.</div>
<div><br>
</div>
<div>A specification for administering these tasks on X windows
is NetWM. Here is some reference material if anyone cares to
look at it.</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://standards.freedesktop.org/wm-spec/wm-spec-latest.html">http://standards.freedesktop.org/wm-spec/wm-spec-latest.html</a></div>
<div><a moz-do-not-send="true"
href="http://en.wikipedia.org/wiki/Extended_Window_Manager_Hints">http://en.wikipedia.org/wiki/Extended_Window_Manager_Hints</a><br>
</div>
<div><a moz-do-not-send="true"
href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/netwm_8h.html">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/netwm_8h.html</a><br>
</div>
<div><br>
</div>
<div>Maybe we can add this type of functionality to a Lazarus
package and perhaps use it to plug a few holes with LCL on
Linux.<br>
</div>
<div><br>
</div>
<div>or </div>
<div><br>
</div>
<div>Maybe we can use this type of functionality to increase our
programatic access to window management on Linux.</div>
<div><br>
</div>
<div>A penny for your thoughts.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>