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

Fix mouse warping container #2820

Merged
merged 4 commits into from
Oct 17, 2018

Commits on Oct 16, 2018

  1. view: move arrange_workspace into view_map

    For mouse_warping cursor to correctly work on newly spawned containers,
    the workspace needs to be arranged before the cursor is warped.
    
    The shell functions each implement their own fullscreen and arrange checks,
    move them into the view_map function and pass their states via boolean arguments.
    
    Fixes swaywm#2819
    Emantor committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    892446a View commit details
    Browse the repository at this point in the history
  2. cursor: functions to warp cursor to container and workspace

    The new functions allow a cursor to be warped without changing the focus.
    This is a preparation commit to handle cursor warping not only in
    seat_set_focus_warp.
    Emantor committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    0969bf7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d69cf4c View commit details
    Browse the repository at this point in the history
  4. view: rewarp cursor during view_unmap

    If the cursor is warped during the destruction of the workspace, we end up in
    the wrong position. Warp the cursor after arrange_workspace() so we end up in
    the correct position.
    Emantor committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    1f0aeae View commit details
    Browse the repository at this point in the history