Login  Register

Re: KDE task bar is always on top of fullscreen Java applications

Posted by Sven Gothel on Jun 29, 2011; 9:20am
URL: https://forum.jogamp.org/KDE-task-bar-is-always-on-top-of-fullscreen-Java-applications-tp3088594p3120877.html

On Wednesday, June 29, 2011 10:58:07 AM gouessej [via jogamp] wrote:
>
> @Sven An Oracle engineer told me that we should not have to call
> XChangeProperty, XSendEvent should be enough, using XChangeProperty there is
> not conformant with the spec according ot him. Is it right?
>

(1) All I have ready is that XChangeProperty changes the windows properties (local),
which can be tested w/ xprop.

(2) XSendEvent notifies the WM, which is the 'real deal' here, indeed.


See
  http://mailman.linuxchix.org/pipermail/techtalk/2003-May/015402.html
  http://standards.freedesktop.org/wm-spec/wm-spec-latest.html

I haven't seen that (1) is a violation of the spec though,
but I am not sure if those props are actually persistent w/ the window.
Hence I don't know for sure if (1) is redundant on all X11 systems,
so we kept it in the NEWT implementation.

You see, that after (1), we perform (2) in the NEWT code.

If you can verify that (1) is in violation and may even cause harm,
then let's correct the code by removing it's call.

Hope this helps a bit.

~Sven