Skip to content

Unable to move window when cursor capture is enabled #1755

@tintinhamans

Description

@tintinhamans

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

When the mouse cursor capture feature is enabled, you are unable to move the game window normally. When you grab the window frame, the window slides downwards on your screen on its own.

Reproduction Steps

  1. Start the game with the following configuration (options.ini):
    CursorCaptureEnabledInWindowedGame = yes
    CursorCaptureEnabledInWindowedMenu = yes
  2. Alt + Tab to uncapture the cursor.
  3. Select the window frame as if you wanted to move the window.
  4. Witness the window slide downwards on your screen.

Additional Context

cursor-capture.webm

Metadata

Metadata

Assignees

Labels

BugSomething is not working right, typically is user facingInputMinorSeverity: Minor < Major < Critical < BlockerThisProjectThe issue was introduced by this project, or this task is specific to this project

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions