Xinerama support



Hi,

here is a patch to make gtk+ Xinerama-aware. Its against the gtk-multihead
branch, since
the GdkScreen introduced in that branch seems like a natural place to store
the Xinerama
information.

The patch adds the necessary configury to detect and use libXinerama, the
necessary
GdkScreen API to request Xinerama info. It changes the behaviour of
GTK_WIN_POS_CENTER
to always center on the head containing the pointer (or the first head, if
the pointer is in "dead" space),
and it changes gtk_menu_position to ensure that menus are restricted to a
single head.

Could this be considered for inclusion in the multihead branch ?

Matthias

For reference, I've also put the patch in bugzilla (#56104).


Attachment: DIFF
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]