Re: How to prevent windows to be raised at the top of the stack when clicked?
- From: "Olivier Guillion - Myriad" <olivier myriad-online com>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to prevent windows to be raised at the top of the stack when clicked?
- Date: Mon, 18 Feb 2013 18:07:16 +0100
Hi,
I made some more tests about the solutions that seem to be useable. It appears
that they are not.
Reminder: the problem is to let the application manage window stacking (z-
order), instead of letting the Window manager do most of the job by itself.
- The gtk_windows_set_transient_for() function works but :
. It's not possible to change anything in the window stacking order without
rebuilding the whole list from scratch
. When the list reaches 16 windows and more, this operation takes
exponentially more and more time. With 20 windows, it takes several seconds.
With 25, the whole system hangs.
- The gtk_window_restack() function works but :
. When a window is clicked, it seems that the WM automatically send it to the
frontmost position in the stack, without letting the application avoid that.
. I couldn't find any way to prevent that behaviour from the WM by altering
the .XDefault/.XResources file
Could it be possible to bypass GTK and to access the X structures and events
directly? If yes, is it a way to prevent it to bring automatically the clicked
window to front ?
Regards,
Olivier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]