Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config events not working properly with stardust examples. #2

Closed
PetrosKataras opened this issue Jul 26, 2015 · 4 comments

Comments

@PetrosKataras
Copy link
Owner

@PetrosKataras PetrosKataras commented Jul 26, 2015

Mouse events arriving to seq::detail::MasterConfig::handleEvent are broken when running stardust examples. On single-window config no mouse events are being reported and on multi-window configs sometimes they are reported and sometimes not. This behavior is not present when running the seqPly example.
Maybe @eile you have an idea on what could be the reason for this ?

@PetrosKataras

This comment has been minimized.

Copy link
Owner Author

@PetrosKataras PetrosKataras commented Jul 27, 2015

If I change from WINDOW_POINTER_* to CHANNEL_POINTER_* in processEvent of the renderer, events are being forward properly and everything works as expected.

@eile

This comment has been minimized.

Copy link

@eile eile commented Jul 28, 2015

Yes, window events are translated into a channel event whenever a channel can be identified. This way you also have the associated render context.

@PetrosKataras

This comment has been minimized.

Copy link
Owner Author

@PetrosKataras PetrosKataras commented Jul 28, 2015

So is this expected behavior and the solution is just to switch to CHANNEL_POINTER_* ? This way you can't handle directly WINDOW_POINTER_* events from Renderer::processEvent and maybe it should be documented .

@eile

This comment has been minimized.

Copy link

@eile eile commented Jul 28, 2015

Yes, WINDOW_POINTER is just for unassigneable events. Will document.

eile pushed a commit to eile/Equalizer that referenced this issue Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.