summaryrefslogtreecommitdiffstats
path: root/sway/server.c
Commit message (Collapse)AuthorAge
* Merge pull request #2272 from RyanDwyer/simplify-transactionsLibravatar Drew DeVault2018-07-15
|\ | | | | Simplify transactions by using a dirty flag on containers
| * Simplify transactions by utilising a dirty flag on containersLibravatar Ryan Dwyer2018-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove orbital screenshooterLibravatar emersion2018-07-13
|/
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* startup: move setenv WAYLAND_DISPLAY before config execsLibravatar Dominique Martinet2018-07-04
| | | | | | | | | We would previously run all config commands without the environment, which would appear to work as our socket name is the default one, but wayland clients would start up in the wrong sway session. (This explains why 'sometimes' my swayidle processes wouldn't die with sway, as they weren't listening to the correct socket)
* idle_inhibit: move server data to its own structLibravatar Dominique Martinet2018-07-02
|
* idle_inhibit: stop inhibitor when views become invisibleLibravatar Dominique Martinet2018-07-02
|
* Add idle inhibit unstable v1 supportLibravatar Dominique Martinet2018-07-02
|
* Init screencopy managerLibravatar emersion2018-07-01
|
* Merge remote-tracking branch 'upstream/master' into atomicLibravatar Ryan Dwyer2018-06-29
|\
| * Merge branch 'master' into xwayland-wants-floatLibravatar Ryan Dwyer2018-06-27
| |\
| * | Automatically float xwayland windowsLibravatar emersion2018-06-18
| | |
* | | Allow views to skip configuresLibravatar Ryan Dwyer2018-06-27
| | | | | | | | | | | | | | | To do this properly, the transaction queue will only be processed if it can be completely processed.
* | | Implement transaction timings debugLibravatar Ryan Dwyer2018-06-25
| | | | | | | | | | | | Launch sway with SWAY_DEBUG=txn_timings to enable it.
* | | Merge remote-tracking branch 'upstream/master' into atomicLibravatar Ryan Dwyer2018-06-23
|\ \ \ | | |/ | |/|
| * | Merge pull request #2146 from ↵Libravatar Drew DeVault2018-06-22
| |\ \ | | | | | | | | | | | | | | | | tobiasblass/prepare_server_before_dropping_privileges Perform (partial) server initialization before dropping privileges.
| | * | Perform (partial) server initialization before dropping privileges.Libravatar Tobias Blass2018-06-19
| | |/ | | | | | | | | | | | | | | | | | | | | | 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.
| * / Init the dmabuf exporting protocol in wlrootsLibravatar Rostislav Pehlivanov2018-06-22
| |/ | | | | | | Allows desktop capture via the dmabuf-capture wlroots example client.
* / Implement atomic layout updates for tree operationsLibravatar Ryan Dwyer2018-06-23
|/ | | | | This implements atomic layout updates for when views map, reparent or unmap.
* Update for swaywm/wlroots#1000Libravatar emersion2018-05-25
|
* Update for swaywm/wlroots#993Libravatar emersion2018-05-21
|
* sway: run commands without waiting for XwaylandLibravatar Dominique Martinet2018-05-16
| | | | Xwayland is lazy now, there is no need to wait at all
* Kill wl_shellLibravatar emersion2018-05-14
|
* Enable lazy xwayland1.0-alpha.2Libravatar Drew DeVault2018-05-13
|
* Merge pull request #1970 from emersion/xdg-shell-stableLibravatar Drew DeVault2018-05-13
|\ | | | | Add xdg-shell stable support
| * Add xdg-shell stable supportLibravatar emersion2018-05-13
| |
* | Idle handling for dpms/lockscreen et alLibravatar Mattias Eriksson2018-05-13
|/ | | | | | | | | 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
* Fix null deref in server_initLibravatar Dan Robertson2018-05-09
| | | | | If the backend fails to be created, log an error and immidiately return from server_init.
* Update xwayland start for new APILibravatar Vincent Vanlaer2018-05-07
| | | | https://github.com/swaywm/wlroots/pull/959
* Use wlr_renderer_init_wl_shmLibravatar emersion2018-04-21
|
* Destroy display in server_finiLibravatar emersion2018-04-17
|
* Update for wlroots#850Libravatar emersion2018-04-08
|
* Add basic server decorations supportLibravatar Drew DeVault2018-04-07
|
* Configure wlr_xdg_output_manager during initLibravatar Drew DeVault2018-04-05
|
* rename input-manager functionsLibravatar Tony Crisci2018-04-02
|
* Set Xwayland seat on focusLibravatar Drew DeVault2018-03-31
| | | | Necessary to make primary selection syncronize
* Configure linux_dmabuf, primary_selectionLibravatar Drew DeVault2018-03-31
|
* Set xwayland cursorLibravatar emersion2018-03-31
|
* Cleanup and remove global renderer referenceLibravatar emersion2018-03-30
|
* Set WAYLAND_DISPLAY earlier in startupLibravatar Drew DeVault2018-03-30
|
* Spawn swaybars when outputs are addedLibravatar Drew DeVault2018-03-29
|
* Add initial layer shell skeletonLibravatar Drew DeVault2018-03-28
|
* Update wlroots APILibravatar emersion2018-03-19
| | | | | Breaking changes in wlr_xdg_shell_v6 and wlr_renderer have been made upstream.
* take seat param for handle_command and renameLibravatar Tony Crisci2018-02-24
|
* output destroyLibravatar Tony Crisci2018-02-14
|
* Execute pending commands when Xwayland is readyLibravatar Drew DeVault2018-01-30
|
* Consolidate WLR and Sway loggingLibravatar Calvin Lee2017-12-31
| | | | See #1390
* sway input deviceLibravatar Tony Crisci2017-12-12
|
* input include directoryLibravatar Tony Crisci2017-12-08
|
* rename input to input-managerLibravatar Tony Crisci2017-12-07
|