aboutsummaryrefslogtreecommitdiff
path: root/rootston/xdg_shell_v6.c
AgeCommit message (Collapse)Author
2019-07-27Remove all wayland-server.h includesSimon Ser
The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration.
2019-07-15xdg_shell(_v6): Take maximize/fullscreen state into account on view initSebastian Krzyszkowiak
set_maximized and set_fullscreen calls can come before the view is constructed and before its signal handlers are registered.
2019-04-13output: remove lx, lyemersion
Fixes https://github.com/swaywm/wlroots/issues/1610
2019-03-02rootston: refactor renderingemersion
This implements rootston surface iterators to ease rendering, sending frame/presentation events and accumulating damage.
2019-02-23rootston: make roots_view embedded and remove unionsemersion
2019-02-23rootston: add a view child interfaceemersion
2019-02-23rootston: move part of desktop.c to view.c, use an interface for viewsemersion
2018-12-08rootston: add support for wlr_foreign_toplevel_management_v1Ilia Bozhinov
2018-12-08rootston: add title/app_id/class listenersIlia Bozhinov
2018-12-05rootston: use box for views positionLouis Taylor
2018-07-29rootston: focus newly-created surfacesIlia Bozhinov
Whenever a new surface is created, we have to update the cursor focus, even if there's no input event. So, we generate one motion event, and reuse the code to update the proper cursor focus. We need to do this for all surface roles - toplevels, popups, subsurfaces. Fixes #1162
2018-07-09util: add wlr_ prefix to log symbolsemersion
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