Not logged inOpenClonk Forum
Up Topic Multi pointer X (MPX) for multiplaying on same computer

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther

> *configure fails if Xi is missing (shoud be conditional/optional, but I do not know how to do it)


instead of unconditionally calling AC_DEFINE, only do it if libXi is found. See the autoconf manual on AC_CHECK_LIB for where to place that.

You should be able to just include the MPX events as a case in the normal switch(e.type). XEvent is an union, e.xcookie.type is the same as e.type.

Do we really need to use XI for normal keyboard text input and focus stuff? Each player having their own keyboard and being able to chat sounds like a fringe case to me.

>StdXApp.cpp has several
> CStdWindow * pWindow = Priv->GetWindow(event.xany.window);
> and pWindow
> Are some of these 'global' (from StdWindow.h) and some local?


See src/platform/StdXPrivate.h and the functions it declares.

> Are copy-pasting-events used in game: SelectionClear, SelectionRequest, SelectionNotify?


Our text input boxes support copy&paste, yes.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill