aboutsummaryrefslogtreecommitdiff
path: root/rootston/xdg_shell_v6.c
AgeCommit message (Collapse)Author
2018-06-01Add wlr_surface_get_geometryMarkus Ongyerth
This function defaults and clips the xdg-surface geometry to the bounding box of the surface + its subsurfaces, as specified by the protocol spec.
2018-05-30rootston: xdg-shell*: Fix get_size() for newly-mapped viewsGenki Sky
The user-visible issue is that newly-mapped xdg-shell* windows would sometimes start with their top-left-corner, rather than their center, in the center of the screen. This is because get_size() would conservatively fall back on (width, height) == (0, 0) if both set_window_geometry() had not been called, and it found view->wlr_surface to be NULL. But, view->wlr_surface is only set to non-NULL in view_map(). We call get_size() before this. Fortunately, the wlr_surface in question is accessible via view->xdg_shell{,_v6}->surface, so always fall back on that. We can assert its presence instead of further falling back on (width, height) == (0, 0). Signed-off-by: Genki Sky <sky@genki.is>
2018-05-04Fix a rootston crash when a client creates non-topmost popupsemersion
2018-03-28toplevel_box to toplevel_sx_boxTony Crisci
2018-03-28add todo for rotated unconstrained popupTony Crisci
2018-03-28add comment for output box in toplevel coordsTony Crisci
2018-03-28popup constraint handle empty output layoutTony Crisci
2018-03-28xdg-positioner: honor constraint flagsTony Crisci
2018-03-28xdg-positioner wlr abstractionsTony Crisci
2018-03-28positioner rootston cleanup and bugfixTony Crisci
2018-03-28fix xdg-positioner left constrain bugTony Crisci
2018-03-28cleanup xdg-positioner rootston codeTony Crisci
2018-03-28Merge branch 'master' into xdg-positionerTony Crisci
2018-03-27Address feedbackDrew DeVault
2018-03-27Merge pull request #754 from emersion/popup-map-unmap-damageTony Crisci
[WIP] xdg-shell: damage view when popup is mapped/unmapped
2018-03-27rootston: damage view when zxdg-popup-v6 is mapped/unmappedemersion
2018-03-27basic xdg-positionerTony Crisci
2018-03-27unconstrain stubsTony Crisci
2018-03-27implement flip_xTony Crisci
2018-03-26xdg-positioner constraint detectionTony Crisci
2018-03-26xdg-shell-v6: move toplevel specific fields in wlr_xdg_toplevel_v6emersion
2018-03-24unified xdg-surface closeTony Crisci
2018-03-13xdg-shell-v6: next_geometry and geometry fields are not longer pointers in ↵emersion
wlr_xdg_surface_v6
2018-03-13xdg-shell-v6: rename toplevel and popup fields in wlr_xdg_surface_v6 for ↵emersion
consistency
2018-03-13xdg-shell-v6: redesign the configure/ack_configure workflowemersion
2018-03-12rootston: don't segfault when getting size of an unmapped xdg-shell viewemersion
2018-03-12rootston: add destroy to view interfaceemersion
2018-03-12rootston: remove xdg-shell-v6 map/unmap listeners on destroyemersion
2018-03-10xdg-shell-v6: add map signalemersion
2018-03-09rootston: add view_map and view_unmapemersion
2018-02-25rootston: add view_createGuido Günther
so we can do basic view setup. Will be used to initialize alpha.
2018-02-12Reformat all #include directivesemersion
2018-02-09Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-07Fix style errorVincent Vanlaer
2018-02-07Fix jitter when quickly resizing windowsVincent Vanlaer
Surfaces and views get resized only on commit, therefore we may only change the position of a window if there are no pending commits.
2018-01-28rootston: fix damage tracking for SSDemersion
2018-01-21rootston: damage tracking for xdg popupsemersion
2018-01-21rootston: track subsurface damageemersion
2018-01-20rootston: fix artifacts when un-maximizing a viewemersion
2018-01-18rootston: replace view_damage with view_apply_damage and view_damage_wholeemersion
2018-01-18rootston: damage views when movedemersion
2018-01-18rootston: do not redraw if output has no damageemersion
2017-12-27xdg-shell: role-committed funcTony Crisci
2017-11-21Merge branch 'master' into fullscreenemersion
2017-11-21Merge pull request #387 from emersion/laggy-move-resizeDrew DeVault
Fix laggy move-resize
2017-11-20Merge branch 'master' into fullscreenemersion
2017-11-20Fix segfault when closing xwayland viewsemersion
2017-11-20Initial fullscreen supportemersion
2017-11-20Merge branch 'master' into laggy-move-resizeemersion
2017-11-20Fix laggy move-resize for xwayland viewsemersion