Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add red_channel_get_server() | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 |
| | | | | | Instead of poking into the internals of the RedChannel, provide an accessor. | ||||
* | Add RedsState arg to inputs_channel_new() | Jonathon Jongsma | 2015-02-23 | 1 | -2/+3 |
| | |||||
* | Store a reference to RedsState in Channel base class | Jonathon Jongsma | 2015-02-23 | 1 | -0/+1 |
| | |||||
* | Add RedsState arg to activate_modifiers_watch() | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 |
| | |||||
* | Use strong type on spice_tablet_state_get_server() | Jonathon Jongsma | 2015-02-23 | 1 | -1/+1 |
| | |||||
* | spice_server_kbd_leds: don't use global 'reds' | Jonathon Jongsma | 2015-02-23 | 1 | -3/+11 |
| | | | | Store a reference to the RedsState server in the keyboard state struct | ||||
* | Move 'core' into RedsState struct | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 |
| | | | | Also add reds_get_core_interface() accessor for external use. | ||||
* | Move agent_mouse to RedsState struct | Jonathon Jongsma | 2015-02-23 | 1 | -4/+4 |
| | | | | Required adding a RedsState arg to reds_get_agent_mouse() | ||||
* | Move vdagent to RedsState struct | Jonathon Jongsma | 2015-02-23 | 1 | -4/+4 |
| | | | | | Also change API of reds_has_vdagent() to take RedsState arg. Removes another global variable. | ||||
* | Fix crash when checking mouse mode | Jonathon Jongsma | 2015-02-23 | 1 | -0/+1 |
| | | | | | | Since the mouse mode is now stored in the inputs channel, we were crashing when somebody was calling this API before the inputs channel was created. | ||||
* | Remove use of global 'reds' var from spice_server_remove_interface() | Jonathon Jongsma | 2015-02-23 | 1 | -3/+14 |
| | | | | | | | Since this is public API, we can't easily change the signature of the function to take a RedsState argument, so instead we apply a hack and store the reds argument inside the device state struct when the interface is added, and retrieve it for use later when it is removed. | ||||
* | inputs_init() -> inputs_channel_new() | Jonathon Jongsma | 2015-02-23 | 1 | -1/+1 |
| | | | | Rename function to be more consistent | ||||
* | Remove global inputs channel | Jonathon Jongsma | 2015-02-23 | 1 | -105/+134 |
| | | | | | | | Make the RedsState object own an InputsChannel object rather than having a global inputs channel. This means changing a lot of inputs-related API to take an InputsChannel* argument and moving the keyboard, mouse, and tablet objects into the InputsChannel object. | ||||
* | Change reds_handle_agent_mouse_event() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 |
| | |||||
* | Change reds_get_mouse_mode() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -4/+4 |
| | |||||
* | Change reds_register_channel() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -1/+1 |
| | | | | | | In preparation for getting rid of the global 'reds' variable, we need to pass the RedsState variable to all functions where it is needed. For now the callers just pass in the global reds variable. | ||||
* | Rename reds_stream.[ch] to red-stream.[ch] | Jonathon Jongsma | 2015-02-23 | 1 | -1/+1 |
| | |||||
* | Rename red_channel.[ch] to red-channel.[ch] | Jonathon Jongsma | 2015-02-23 | 1 | -1/+1 |
| | |||||
* | server: rename files | Marc-André Lureau | 2015-02-23 | 1 | -0/+679 |