Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2018-06-30 | sway views: add helpers to get view and layer from wlr_surface | Dominique Martinet | |
2018-06-30 | Merge remote-tracking branch 'upstream/master' into atomic | Ryan Dwyer | |
2018-06-30 | container_at_view: don't offset the view by the window geometry | Rostislav Pehlivanov | |
Fixes floating window input offsets. As discussed on IRC with emersion, this shouldn't have been done in the first place. | |||
2018-06-30 | Revert "Don't unmaximize floating views" | Rostislav Pehlivanov | |
This reverts commit 97672295ed50d1d6272876c4a3b6b5607cab05c6. | |||
2018-06-30 | Fix floating views not receiving frame events | emersion | |
That happened when they were in tabbed or stacked containers. Fixes #2161 | |||
2018-06-27 | Move unsetting of view->surface into view_unmap | Ryan Dwyer | |
2018-06-27 | Fix memleak in container_get_box | Ryan Dwyer | |
Rather than allocate a structure and expect callers to free it, take a pointer to an existing struct as an argument. This function is no longer called anywhere though. | |||
2018-06-27 | Remove transaction_add_damage | Ryan Dwyer | |
Instead, damage each container when applying the transaction. | |||
2018-06-27 | Fix nitpicks | Ryan Dwyer | |
2018-06-26 | Remove incorrect assertion and supporting code | Ryan Dwyer | |
Children can exist when destroying a container, such as when destroying the last output. Sway is not terminating in that case. | |||
2018-06-26 | Fix crash when closing output window from outer session | Ryan Dwyer | |
Emitting the close event needs to happen before container_output_destroy, because container_output_destroy sets the sway_output to NULL and sway_output is used in IPC. |