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!
- Dennis Fehr
P.S. Where's my penny? (joking haha) ;)
On 2015-10-28 04:05 PM, Anthony Walter wrote:
Does anyone have experience or interest in enhancing window management
support for Linux with Lazarus?
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:
* altering window z-order
* making window sticky or above
* switching windows between desktop
* listing desktops
* adding or removing desktops
* switching between desktop
* listing windows
* resizing windows
* activating and deactiving windows for user input
... and more
The program wmctrl is an example of such how functionality can be
administered programatically.
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.
A specification for administering these tasks on X windows is NetWM.
Here is some reference material if anyone cares to look at it.
http://standards.freedesktop.org/wm-spec/wm-spec-latest.html
http://en.wikipedia.org/wiki/Extended_Window_Manager_Hints
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/netwm_8h.html
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.
or
Maybe we can use this type of functionality to increase our
programatic access to window management on Linux.
A penny for your thoughts.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus