Deskflow 1.27.0.5
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ClientInfo Class Reference

Client computer information structure. More...

#include <ProtocolTypes.h>

Public Attributes

int32_t m_x
 Computer position coordinates.
int32_t m_y
 Top edge Y coordinate.
int32_t m_w
 Computer dimensions.
int32_t m_h
 Computer height in pixels.
int32_t obsolete1
 Obsolete jump zone size.
int32_t m_mx
 Current mouse position.
int32_t m_my
 Mouse Y position.

Detailed Description

Client computer information structure.

Contains comprehensive information about a secondary computer, including dimensions, position, and current mouse location. This data is sent via kMsgDInfo messages.

Usage:

  • Sent by client in response to kMsgQInfo
  • Sent when computer resolution changes
  • Used by server for computer layout calculations

Coordinate System:

  • Origin (0,0) is typically top-left corner
  • Coordinates can be negative for multi-monitor setups
  • All values are in pixels
See also
kMsgDInfo, kMsgQInfo
Since
Protocol version 1.0

Member Data Documentation

◆ m_h

int32_t ClientInfo::m_h

Computer height in pixels.

◆ m_mx

int32_t ClientInfo::m_mx

Current mouse position.

The current location of the mouse cursor on this computer. Coordinates are relative to the computer's coordinate system (m_x, m_y represent the origin).

Usage:

  • Updated when mouse moves on this computer
  • Used for cursor synchronization between computers
  • Helps with smooth transitions during computer switching
Since
Protocol version 1.0 Mouse X position

◆ m_my

int32_t ClientInfo::m_my

Mouse Y position.

◆ m_w

int32_t ClientInfo::m_w

Computer dimensions.

The size of the computer in pixels. These values represent the usable computer area for mouse movement and window placement.

Since
Protocol version 1.0 Computer width in pixels

◆ m_x

int32_t ClientInfo::m_x

Computer position coordinates.

The position of the upper-left corner of the computer in the virtual desktop coordinate system. This is typically (0,0) for single-monitor setups, but can be different in multi-monitor configurations.

Since
Protocol version 1.0 Left edge X coordinate

◆ m_y

int32_t ClientInfo::m_y

Top edge Y coordinate.

◆ obsolete1

int32_t ClientInfo::obsolete1

Obsolete jump zone size.

Deprecated
This field is no longer used and should be set to 0
Since
Protocol version 1.0

The documentation for this class was generated from the following file: