Skip to content

bug: fix view centering

Simon Ser requested to merge github/fork/acrisci/bug/fix-view-centering into master

Created by: acrisci

Make view initialization never fail instead of doing the initialization at some point in the future and flashing partially rendered content:

  1. fix xdg-shell so it emits the new event with window geometry (the first commit after ack_configure)
  2. pick the center output if no output is found under the cursor as a sensible default

Also, use the effective resolution of the output to determine centering so it works correctly on rotated outputs (this is understandably confusing and probably needs to be made clearer).

Merge request reports