Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-24 | style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false | Pascal Pascher | |
2018-07-24 | Added meson option "enable_xwayland" (default: true) to enable/disable ↵ | Pascal Pascher | |
xwayland support | |||
2018-07-24 | Merge pull request #2165 from swaywm/pid-workspaces | Drew DeVault | |
Implement pid->workspace tracking | |||
2018-07-24 | Address @emersion's review comments | Drew DeVault | |
2018-07-23 | Also extract first workspace name from bindcodes | frsfnrrg | |
2018-07-23 | Merge branch 'master' into pid-workspaces | Drew DeVault | |
2018-07-23 | Store scratchpad list in sway_root instead of server | Ryan Dwyer | |
2018-07-23 | Implement scratchpad | Ryan Dwyer | |
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 | |||
2018-07-22 | Consider view's min/max sizes when resizing | Ryan Dwyer | |
2018-07-22 | Replace static handle_end_operation with seat_end_mouse_operation | Ryan Dwyer | |
2018-07-22 | Implement floating_modifier and mouse operations for floating views | Ryan Dwyer | |
This implements the following: * `floating_modifier` configuration directive * Drag a floating window by its title bar * Hold mod + drag a floating window from anywhere * Resize a floating view by dragging the border * Resize a floating view by holding mod and right clicking anywhere on the view * Resize a floating view and keep aspect ratio by holding shift while resizing using either method * Mouse cursor turns into resize when hovering floating border or corner | |||
2018-07-20 | Fix pointer events for overlapping floating views | Ryan Dwyer | |
Fixes #2315. | |||
2018-07-19 | Implement assign to output | Ryan Dwyer | |
Eg. assign [class="Firefox"] output foo | |||
2018-07-19 | Fix crash when moving workspace to output | Ryan Dwyer | |
2018-07-18 | Merge branch 'master' into destroy-output-destroy-empty-workspaces | Ryan Dwyer | |
2018-07-17 | Fix uninitialized pointer in view_unmap | frsfnrrg | |
Otherwise, sway crashes due to uninitialized pointer dereference when AddressSanitizer is active. | |||
2018-07-16 | Merge branch 'master' into default-floating-border | Brian Ashworth | |
2018-07-17 | Remove superfluous IPC urgent events | Ryan Dwyer | |
When an xwayland view is mapped, the IPC urgent event was being sent on every surface commit. I had intentionally ommitted the check because I figured an urgent surface could update its urgent timestamp by sending urgent a second time. But that's not how it works in xwayland's case, and it makes for more complicated code. | |||
2018-07-17 | Implement default_floating_border command and adjust CSD behaviour | Ryan Dwyer | |
2018-07-16 | Merge pull request #2276 from RyanDwyer/urgency | Drew DeVault | |
Implement urgency base functionality | |||
2018-07-16 | Focus view before running criteria when mapping | Ryan Dwyer | |
2018-07-16 | Implement no_focus command | Ryan Dwyer | |
2018-07-16 | Render containers as urgent if they have an urgent child | Ryan Dwyer | |
2018-07-16 | Mark containers as urgent in IPC if they have urgent views | Ryan Dwyer | |
2018-07-16 | Update workspace urgent state when views close or move workspaces | Ryan Dwyer | |
2018-07-16 | Make container_for_each_descendant_dfs descend into floating views | Ryan Dwyer | |
2018-07-16 | Fix urgency IPC events | Ryan Dwyer | |
2018-07-16 | Implement urgency base functionality | Ryan Dwyer | |
Introduces a command to manually set urgency, as well as rendering of urgent views, sending the IPC event, removing urgency after focused for one second, and matching urgent views via criteria. | |||
2018-07-14 | Simplify transactions by utilising a dirty flag on containers | Ryan 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-12 | Don't disable borders for xwayland floating views | emersion | |
2018-07-11 | Updates for swaywm/wlroots#1116 | emersion | |
2018-07-11 | Implement floating_minimum_size and floating_maximum_size | Ryan Dwyer | |
2018-07-09 | Update for swaywm/wlroots#1126 | emersion | |
2018-07-09 | Merge pull request #2223 from RyanDwyer/floating-move | emersion | |
Implement some floating move commands | |||
2018-07-09 | Remove duplicate function declaration and add assertion | Ryan Dwyer | |
2018-07-09 | Implement some floating move commands | Ryan Dwyer | |
This implements the following for floating containers: * move <direction> <amount> * move [absolute] position <x> <y> * move [absolute] position mouse | |||
2018-07-09 | No need to walk to workspace, recursive will | vilhalmer | |
2018-07-09 | Regroup signal | vilhalmer | |
2018-07-08 | Replace empty workspace with moved workspace | vilhalmer | |
2018-07-08 | Destroy empty workspace when destroying its output | vilhalmer | |
2018-07-07 | Fix titles when container titles contain UTF-8 characters | Ryan Dwyer | |
The title and marks textures would have their height set from the config's computed max font height, but the textures were not regenerated when the config's max font height changed which made a gap appear. Rather than making it regenerate the title textures every time the config font height was changed, I've changed it to just make the textures the height of the title itself and fill any gap when rendering. Also, the title_width and marks_width variables have been renamed to make it more obvious that they are in output-buffer-local coordinates. Fixes #1936. | |||
2018-07-06 | Make view_update_* update live props as well | emersion | |
2018-07-05 | workspace_next_name: free targets later than these already found in order | Dominique Martinet | |
2018-07-05 | view_map: free criterias as the list it is | Dominique Martinet | |
2018-07-05 | container_free: free formatted title | Dominique Martinet | |
2018-07-05 | Call view_set_tiled for mapping non-floating views | Ryan Dwyer | |
Fixes #2209. | |||
2018-07-04 | Fix boolean | Ryan Dwyer | |
2018-07-04 | Only call view_set_tiled when switching floating mode | Ryan Dwyer | |
Otherwise it repeatedly sets the view's border to the config's default. | |||
2018-07-02 | workspace_next_name: fix string length for ws_num >= 100 | Dominique Martinet | |
The check didn't include && ws_num < 100 so l would always be 1 or 2 Instead of fixing logic it's simpler to just call snprintf twice to get length and use that. Also change malloc failure check to sway_assert because both callers of this function do not do null check and would segfault... Found through static analysis. | |||
2018-07-02 | find prev/next output/workspace: add NULL check | Dominique Martinet | |
These could be called with NULL if there is no focus Found through static analysis. |