aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
AgeCommit message (Collapse)Author
2018-08-06Handle views created after decoration mode is sent for xdg-shellemersion
2018-08-06Listen to server-decoration mode changesemersion
2018-07-25more style fixes, included "sway/config.h" where neededPascal Pascher
2018-07-24style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: falsePascal Pascher
2018-07-24Added meson option "enable_xwayland" (default: true) to enable/disable ↵Pascal Pascher
xwayland support
2018-07-19Fix deferred command handlingBrian Ashworth
2018-07-14Simplify transactions by utilising a dirty flag on containersRyan Dwyer
This PR changes the way we handle transactions to a more simple method. The new method is to mark containers as dirty from low level code (eg. arranging, or container_destroy, and eventually seat_set_focus), then call transaction_commit_dirty which picks up those containers and runs them through a transaction. The old methods of using transactions (arrange_and_commit, or creating one manually) are now no longer possible. The highest-level code (execute_command and view implementation handlers) will call transaction_commit_dirty, so most other code just needs to set containers as dirty. This is done by arranging, but can also be done by calling container_set_dirty.
2018-07-02idle_inhibit: move server data to its own structDominique Martinet
2018-07-02idle_inhibit: stop inhibitor when views become invisibleDominique Martinet
2018-07-02Add idle inhibit unstable v1 supportDominique Martinet
2018-06-29Merge remote-tracking branch 'upstream/master' into atomicRyan Dwyer
2018-06-27Allow views to skip configuresRyan Dwyer
To do this properly, the transaction queue will only be processed if it can be completely processed.
2018-06-27Merge branch 'master' into xwayland-wants-floatRyan Dwyer
2018-06-26Remove incorrect assertion and supporting codeRyan Dwyer
Children can exist when destroying a container, such as when destroying the last output. Sway is not terminating in that case.
2018-06-25Implement transaction timings debugRyan Dwyer
Launch sway with SWAY_DEBUG=txn_timings to enable it.
2018-06-24Force transactions to complete in orderRyan Dwyer
This forces transactions to complete in order by using a singly linked list stored in the sway server.
2018-06-23Merge remote-tracking branch 'upstream/master' into atomicRyan Dwyer
2018-06-23Implement atomic layout updates for tree operationsRyan Dwyer
This implements atomic layout updates for when views map, reparent or unmap.
2018-06-19Perform (partial) server initialization before dropping privileges.Tobias Blass
Some operations during backend creation (e.g. becoming DRM master) require CAP_SYS_ADMIN privileges. At this point, sway has dropped them already, though. This patch splits the privileged part of server_init into its own function and calls it before dropping its privileges. This fixes the bug with minimal security implications.
2018-06-18Automatically float xwayland windowsemersion
2018-05-16sway: run commands without waiting for XwaylandDominique Martinet
Xwayland is lazy now, there is no need to wait at all
2018-05-14Kill wl_shellemersion
2018-05-13Merge pull request #1970 from emersion/xdg-shell-stableDrew DeVault
Add xdg-shell stable support
2018-05-13Add xdg-shell stable supportemersion
2018-05-13Idle handling for dpms/lockscreen et alMattias Eriksson
Swayidle handles idle events and allows for dpms and lockscreen handling. It also handles systemd sleep events, and can raise a lockscreen on sleep Fixes #541
2018-03-31Set xwayland cursoremersion
2018-03-30Add lite damage trackingemersion
This skips the renderer if nothing has changed, and renders everything otherwise.
2018-03-30Cleanup and remove global renderer referenceemersion
2018-03-28Add initial layer shell skeletonDrew DeVault
2018-03-19Update wlroots APIemersion
Breaking changes in wlr_xdg_shell_v6 and wlr_renderer have been made upstream.
2018-02-20make handle_output_destroy() staticTony Crisci
2018-02-14output destroyTony Crisci
2018-01-30Execute pending commands when Xwayland is readyDrew DeVault
2017-12-07rename input to input-managerTony Crisci
2017-12-04Merge branch 'wlroots' into feature/xwaylandTony Crisci
2017-12-04xwayland shellTony Crisci
2017-12-03basic wl-shellTony Crisci
2017-12-03sway wl_shellTony Crisci
2017-11-22Add views to tree and render themDrew DeVault
2017-11-23wlr_data_device header updateDominique Martinet
wlroots 6a7560 renamed the header file
2017-11-11Initial (awful) pass on xdg shell supportDrew DeVault
2017-11-11Wire up output frame loopDrew DeVault
2017-11-11Initialize outputs from backend and add to treeDrew DeVault
2017-11-11Establish sway input submoduleDrew DeVault
2017-11-11Fix build yml filesDrew DeVault
2017-11-11Fire up the wlroots backend and run the event loopDrew DeVault