aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * | Implement floating_modifier <mod> [inverse|normal]Libravatar Brian Ashworth2018-07-24
|/ /
* | Merge pull request #2165 from swaywm/pid-workspacesLibravatar Drew DeVault2018-07-24
|\ \ | | | | | | Implement pid->workspace tracking
| * | Address @emersion's review commentsLibravatar Drew DeVault2018-07-24
| | |
| * | Merge branch 'master' into pid-workspacesLibravatar Drew DeVault2018-07-23
| |\|
| * | Implement pid->workspace trackingLibravatar Drew DeVault2018-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | When you spawn a process with the exec command, sway now notes the workspace you had focused and the pid of the child process, then assigns that workspace to the child when its window appears. Some of this is carried over from sway 0.15, but with some major refactoring and centralization of state.
* | | Merge pull request #2346 from RyanDwyer/fix-crash-on-clickLibravatar Drew DeVault2018-07-24
|\ \ \ | | | | | | | | Fix crash when clicking certain surfaces
| * | | Fix crash when clicking certain surfacesLibravatar Ryan Dwyer2018-07-24
|/ / / | | | | | | | | | cont was NULL.
* | | Merge pull request #2344 from RyanDwyer/mod-resize-any-directionLibravatar emersion2018-07-24
|\ \ \ | | | | | | | | Make mod+resize work in any direction
| * | | Make mod+resize work in any directionLibravatar Ryan Dwyer2018-07-24
|/ / / | | | | | | | | | | | | | | | | | | This makes it so if you hold mod and right click on a surface to resize it, the resize direction is chosen based on which quarter of the surface you've clicked. The previous implementation only resized towards the bottom right.
* | | Merge pull request #2303 from frsfnrrg/mouse-bindingsLibravatar Ryan Dwyer2018-07-24
|\ \ \ | | | | | | | | Implement mouse bindings
| * \ \ Merge branch 'master' into mouse-bindingsLibravatar Ryan Dwyer2018-07-24
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2284 from frsfnrrg/resolve-workspace-name-todoLibravatar Brian Ashworth2018-07-23
|\ \ \ \ | | | | | | | | | | Also extract first workspace name from bindcodes
| * | | | Also extract first workspace name from bindcodesLibravatar frsfnrrg2018-07-23
|/ / / /
* | | | Merge pull request #2340 from RedSoxFan/parse_booleanLibravatar Drew DeVault2018-07-23
|\ \ \ \ | |_|_|/ |/| | | Switch to using a function to parse booleans
| * | | Address review comments on parse_booleanLibravatar Brian Ashworth2018-07-23
| | | |
| * | | Remove unneeded constLibravatar Brian Ashworth2018-07-23
| | | |
| * | | Switch to using a function to parse booleansLibravatar Brian Ashworth2018-07-23
|/ / /
| * | Invoke mouse bindingsLibravatar frsfnrrg2018-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mouse binding logic is inspired/copied from the keyboard binding logic; we store a sorted list of the currently pressed buttons, and trigger a binding when the currently pressed (or just recently pressed, in the case of a release binding) buttons, as well as modifiers/container region, match those of a given binding. As the code to execute a binding is not very keyboard specific, keyboard_execute_command is renamed to seat_execute_command and moved to where the other binding handling functions are. The call to transaction_commit_dirty has been lifted out.
| * | Parse mouse binding optionsLibravatar frsfnrrg2018-07-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, the existing sway_binding structure is given an enumerated type code. As all flags to bindsym/bindcode are boolean, a single uint32 is used to hold all flags. The _BORDER, _CONTENTS, _TITLEBAR flags, when active, indicate in which part of a container the binding can trigger; to localize complexity, they do not overlap with the command line arguments, which center around _TITLEBAR being set by default. The keyboard handling code is adjusted for this change, as is binding_key_compare; note that BINDING_LOCKED is *not* part of the key portion of the binding. Next, list of mouse bindings is introduced and cleaned up. Finally, the binding command parsing code is extended to handle the case where bindsym is used to describe a mouse binding rather than a keysym binding; the difference between the two may be detected as late as when the first key/button is parsed, or as early as the first flag. As bindings can have multiple keycodes/keysyms/buttons, mixed keysym/button sequences are prohibited.
* | Merge pull request #2342 from RyanDwyer/update-cursorLibravatar emersion2018-07-24
|\ \ | | | | | | Fix some cases where the cursor doesn't update
| * | Fix some cases where the cursor doesn't updateLibravatar Ryan Dwyer2018-07-24
|/ / | | | | | | | | | | | | cursor_set_image only uploads the named image if it doesn't match the previous named image. This means when setting the cursor image to a surface as given by a client, we have to clear the currently stored image.
* | Merge pull request #2341 from RedSoxFan/fix-2339Libravatar Drew DeVault2018-07-23
|\ \ | | | | | | Add missing checks to fix 2339
| * | Add missing checks to fix 2339Libravatar Brian Ashworth2018-07-23
|/ /
* | Merge pull request #2338 from somdoron/masterLibravatar emersion2018-07-23
|\ \ | | | | | | fix crash on new output while swaylock is running
| * | fix crash on new output while swaylock is runningLibravatar somdoron2018-07-23
|/ /
* | Merge pull request #2323 from RyanDwyer/scratchpadLibravatar Drew DeVault2018-07-23
|\ \ | | | | | | Implement scratchpad
| * | Store scratchpad list in sway_root instead of serverLibravatar Ryan Dwyer2018-07-23
| | |
| * | Implement scratchpadLibravatar Ryan Dwyer2018-07-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Implements the following commands: * move scratchpad * scratchpad show * [criteria] scratchpad show Also fixes these: * Fix memory leak when executing command with criteria (use `list_free(views)` instead of `free(views)`) * Fix crash when running `move to` with no further arguments
* | Merge pull request #2328 from emersion/xdg-shell-set-titleLibravatar Ryan Dwyer2018-07-23
|\ \ | | | | | | Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
| * | Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6Libravatar emersion2018-07-22
|/ / | | | | | | | | | | This allows to update the title even if the view doesn't commit. This is useful e.g. when a terminal sets its toplevel title to the currently running command and when the view isn't visible.
* | Merge pull request #2296 from RyanDwyer/floating-modifierLibravatar emersion2018-07-22
|\ \ | | | | | | Implement floating_modifier and mouse operations for floating views
| * | Set cursor when beginning resize and move operationsLibravatar Ryan Dwyer2018-07-22
| | |
| * | Fix damage when shrinking a floating view using cursorLibravatar Ryan Dwyer2018-07-22
| | |
| * | Implement request_move and request_resize for xwayland viewsLibravatar Ryan Dwyer2018-07-22
| | | | | | | | | | | | | | | I discovered we have to send a click event when ending the move or resize operation to make xwayland's requests work correctly.
| * | Fix focus bug with floating containersLibravatar Ryan Dwyer2018-07-22
| | |
| * | Deny move/resize events for tiled xdg shell viewsLibravatar Ryan Dwyer2018-07-22
| | |
| * | Consider view's min/max sizes when resizingLibravatar Ryan Dwyer2018-07-22
| | |
| * | Store last button and use it when views request to move or resizeLibravatar Ryan Dwyer2018-07-22
| | |
| * | Prevent re-uploading the same cursor image multiple timesLibravatar Ryan Dwyer2018-07-22
| | |
| * | Replace static handle_end_operation with seat_end_mouse_operationLibravatar Ryan Dwyer2018-07-22
| | |
| * | Remove unnecessary includesLibravatar Ryan Dwyer2018-07-22
| | |
| * | Implement xdg shell request_move and request_resize eventsLibravatar Ryan Dwyer2018-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also does a few other related things: * Now uses enum wlr_edges instead of our own enum resize_edge * Now uses wlr_xcursor_get_resize_name and removes our own find_resize_edge_name * Renames drag to move for consistency
| * | Use wlr_keyboard_get_modifiersLibravatar Ryan Dwyer2018-07-22
| | |
| * | Use separate function for choosing edge cursorLibravatar Ryan Dwyer2018-07-22
| | |
| * | Improve resize performance by partially flushing the transaction queueLibravatar Ryan Dwyer2018-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When interactively resizing some views (eg. Nautilus), new transactions are added to the queue faster than the client can process them. Previously, we would wait for the entire queue to be ready before applying any of them, but in this case the transactions would time out, giving the client choppy performance. This changes the queue handling so it applies the transactions up to the first waiting transaction, without waiting for the entire queue to be ready.
| * | Fix clicking xwayland menusLibravatar Ryan Dwyer2018-07-22
| | |
| * | Use max multiplier when resizing while preserving ratioLibravatar Ryan Dwyer2018-07-22
| | |
| * | Fix damage issue when moving and resizingLibravatar Ryan Dwyer2018-07-22
| | |
| * | Make mod + resize do it from the top left cornerLibravatar Ryan Dwyer2018-07-22
| | |
| * | Use WLR_MODIFIER_SHIFTLibravatar Ryan Dwyer2018-07-22
| | |