aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* criteria: match containers without viewLibravatar Anders2020-02-04
| | | | | | | | Closes #4929 Replaces criteria_get_views with criteria_get_containers which can return containers without views when the criteria only contains container properties.
* Change wordingLibravatar Cyril Levis2020-02-04
|
* Add the possibility to capture only one screen if several screens are use.Libravatar Cyril Levis2020-02-04
|
* fix typoLibravatar Lucas M. Dutra2020-02-04
|
* ipc: Handle unsupported binding event typesLibravatar Nathan Rossi2020-01-30
| | | | | | Handle binding event types that cannot be encoded gracefully by dropping the event. This prevents issues for binding types like BINDING_SWITCH, where the event would cause a crash.
* add danish READMELibravatar salkin-mada2020-01-27
|
* Docs: Add marks field to get_tree responseLibravatar Jason Nader2020-01-24
|
* Fix compiling with -fno-commonLibravatar thermitegod2020-01-24
|
* Adding the link to the Portuguese on the English version of README.mdLibravatar Jamelly Ferreira2020-01-23
|
* Adding a version of README.md in PortugueseLibravatar Jamelly Ferreira2020-01-23
|
* Update version to 1.4Libravatar Drew DeVault2020-01-22
|
* fish-completion: use the correct fallback directoryLibravatar Eli Schwartz2020-01-22
| | | | | | | | | fish completions should never be installed to share/fish/completions/ as that directory is reserved exclusively for completions shipped as part of the fish source code. Use the same vendor_completions.d/ directory which the default fish configuration uses.
* completion: use pkg-config to get install location for bash/fishLibravatar Eli Schwartz2020-01-22
| | | | | Both shells provide pkg-config files which declare their designated completionsdir. Use this as the primary source of truth.
* meson: use join_paths to build paths, instead of string concatLibravatar Eli Schwartz2020-01-22
| | | | | It makes sure to handle paths as paths, and is generally safer and the blessed solution.
* Add documentation for floating_modifierLibravatar Alex Maese2020-01-20
|
* Add ability to remove the floating modifierLibravatar Alex Maese2020-01-20
|
* Check argc>0 before strcasecmp. Should shortcircuitLibravatar Jason Nader2020-01-18
|
* commands/move: Fix crash when required args not providedLibravatar Jason Nader2020-01-18
| | | | Fixes #4919.
* output: apply oc to outputs using wl_for_each_safeLibravatar Brian Ashworth2020-01-16
| | | | | | If applying an output config to an output fails, the output may be destroyed. To be able to handle this situation correctly, apply_output_config_to_outputs needs to use wl_list_for_each_safe.
* cmd_split: Refuse to split scratchpad hidden split containersLibravatar Ronan Pigott2020-01-16
|
* cmd_move: Fix crash when moving to scratchpad hidden split containersLibravatar Ronan Pigott2020-01-16
|
* Fix crash when showing scratchpad hidden split containersLibravatar Ronan Pigott2020-01-16
|
* desktop/output: fix mem leak in handle_new_outputLibravatar Brian Ashworth2020-01-16
| | | | | | This fixes a memory leak of oc (the output config) in handle_new_output. Output configs returned from find_output_config are not stored and need to be freed after use.
* sway.5: Document missing bindsym flags for unbindsymLibravatar Ronan Pigott2020-01-16
| | | | sway.5: Remove indents within long command descriptions
* sway-input.5: Document repeat_delay and repeat_rate only onceLibravatar Ronan Pigott2020-01-16
|
* ipc-json: Remove unnecessary dereferenceLibravatar Ronan Pigott2020-01-16
|
* commands/split: Fix error message typosLibravatar Ronan Pigott2020-01-16
|
* Revert "Make all the container dimensions integers"Libravatar Simon Ser2020-01-15
| | | | | | This reverts commit 79c5f5ba1245a8c3d575770419a6501447e78919. Fixes: https://github.com/swaywm/sway/issues/4908
* container: add inactive fullscreen to focus stackLibravatar Brian Ashworth2020-01-14
| | | | | | | | | | | | When a container was being made fullscreen and it is on the focused workspace for a seat, focus was being set to the container. However, when the container was on a non-focused workspace, the focus stack wasn't being touched. When assigning a fullscreen container to a workspace or moving a fullscreen container to a different workspace, this would make it so the fullscreen container was never added to the focus stack for the workspace thus preventing access to the workspace. This adds the container to the top of the focus stack, behind the container on the focused workspace.
* Docs: explain why menu command should be passed to swayLibravatar Jason2020-01-13
| | | | It was not obvious to me why until I saw a comment from @RyanDwyer on Reddit, so I think it's better to add an explanation.
* Fix unreliable scaling filterLibravatar Simon Ser2020-01-13
| | | | | | | | | | | | | Two changes were made: - Bind the texture before glTexParameteri - Set the scaling filter before each wlr_render_texture_with_matrix call Logging in wlroots allows to check that the scaling filter is properly set prior to rendering. Fixes: 6968fb3123e6 ("add scale_filter output config option") Closes: https://github.com/swaywm/sway/issues/4798
* Amend typoLibravatar Jason Nader2020-01-13
|
* integer scaling, not integralLibravatar Cassandra McCarthy2020-01-10
|
* Use transparency arg in the window focus eventLibravatar JR Boyens2020-01-09
|
* view: remove workspace pid mapping for assignsLibravatar Brian Ashworth2020-01-09
| | | | | | If a view is mapped to a workspace using an assign, the pid should still be removed from the pid mapping list. This prevents child processes from matching against it and mapping a view to a likely undesired workspace.
* input/cursor: handle setting a NULL image surfaceLibravatar Brian Ashworth2020-01-06
| | | | | | This fixes a crash when attempting to listen to a signal on a NULL cursor image surface. If the surface is NULL, the listener is just reinitialized using wl_list_init.
* input/cursor: handle image surface destroyLibravatar Brian Ashworth2020-01-05
| | | | | | This adds a listener for the destroy event of the cursor image surface. This prevents a use-after-free when the last visible image surface is freed, there has not been a new cursor set, and the cursor is reshown.
* render: do not render indicator on floating viewsLibravatar Brian Ashworth2020-01-05
| | | | | | | | | This adds a check to make it so the indicator is only rendered on views with a parent, which floating views do not. Since floating views do not have a parent, the workspace layout was being incorrectly used to determine whether to show the split indicator previously. This has no impact on floating containers and a view within a floating container will still have indicators rendered appropriately.
* swaybar: Fix input device removalLibravatar Andri Yngvason2020-01-05
| | | | | Before swaybar would exit with a protocol error when a pointer or touch device was removed.
* swaynag: Add multi-seat supportLibravatar Andri Yngvason2020-01-05
| | | | This also adds cleanup for all seat resources
* Fix small typo in sway-input(5)Libravatar Ross Schulman2020-01-05
|
* Add missing items to documentation for GET_TREE response in ipc.Libravatar Thayne McCombs2020-01-05
| | | | | A few items in the response for the get_tree ipc call were missing from the documentation. This adds some documentation for them.
* xwayland: handle size_hints == NULLLibravatar Rouven Czerwinski2020-01-03
| | | | | | | | In case xcb-iccm is not installed on the system, size_hints will be null. Handle this as if the get_constraints functions was not implemented and return the defaults. Fixes #4870
* input: Assign virtual input devices to their selected seatsLibravatar Andri Yngvason2020-01-01
|
* Make all the container dimensions integersLibravatar Pedro Côrte-Real2020-01-01
| | | | | | | | | | | | | Containers are always fixed to the pixel grid so position and size them with integers instead of doubles. Functionally this should be no different since rounding down is already being done on things like layout. But it makes it clear what the intention is and avoids bugs where fractional pixels are used. The translating and moving code is still using doubles because the cursors can have fractional pixels and thus the code is plumbed that way. But that could also probably be changed easily by doing the integer conversions earlier and plumbing with int.
* Make sure we don't calculate fractional pixel gapsLibravatar Pedro Côrte-Real2020-01-01
| | | | | | When gaps are resized for lack of space the calculation could result in a gap size of non-integer pixels. This would result in containers located at non-integer pixels which would be subtly broken.
* Avoid numerical instability in resizeLibravatar Pedro Côrte-Real2020-01-01
| | | | | | | | | | | | | | | | | | | Because the layout code rounds down the dimensions of the windows resizing would often be off by one pixel. The width/height fraction would not exactly reflect the final computed width and so the resize code would end up calculating things wrong. To fix this first snap the container size fractions to the pixel grid and only then do the resize. Also use round() instead of floor() during layout to avoid a slightly too small width. This applies in two cases: 1. For the container we are actually resizing using floor() might result in being 1px too small. 2. For the other containers it might result in resizing them down by 1px and then if the container being resized is the last all those extra pixels would make the resize too large. Fixes #4391
* Update wlroots versionLibravatar Drew DeVault2019-12-31
|
* _incr_version: always overwrite old version numberLibravatar Drew DeVault2019-12-31
|
* _incr_version: prompt for target wlroots releaseLibravatar Drew DeVault2019-12-31
|