Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xfwm4 xfwm4
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 369
    • Issues 369
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 49
    • Merge requests 49
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XfceXfce
  • xfwm4xfwm4
  • Merge requests
  • !102

Implement grid resize

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Björn Fischer requested to merge bjorn-fischer/xfwm-4-tiling:assisted-tiling-grid into master Dec 29, 2022
  • Overview 0
  • Commits 1
  • Pipelines 10
  • Changes 7

Grid resize is window resizing aligned to a grid. This allows to precisely tile windows to taste. Grid resize can be triggered by window menu or mouse button 9. This feature depends on compositing.

UPDATE: Prefer clientConstrainPos() and clientReconfigure() over clientMaxSpace() and clientConfigure(). Do not grid resize fullscreen clients and clients w/o XFWM_FLAG_HAS_RESIZE | XFWM_FLAG_IS_RESIZABLE. Apply OPACITY_RESIZE during grid resize.

UPDATE 2: Hide grid window from the window manager (override redirect). Allow grid resize during initial window placement triggered by Shift+Control modifiers.

UPDATE 3: With grid window placement, we need to update DisplayInfo timestamp, otherwise order of events may mess up. Do grid placement with active compositor, only. Improve readability of gridResizeEventFilter().

Edited Jan 10, 2023 by Björn Fischer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: assisted-tiling-grid