summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge pull request #2957 from RyanDwyer/rebase-cursor-after-mapLibravatar Drew DeVault2018-10-24
|\ | | | | Rebase the cursor after mapping a view
| * Rebase the cursor after mapping a viewLibravatar Ryan Dwyer2018-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I originally put the rebase at the end of view_map, but at this point the view is still at its native size and will ignore the motion event if it falls outside of its native size. The only way to do this properly is to rebase the cursor later - either after sending the configure, after the view commits with the new size, or after applying the transaction. I chose to do it after applying the transaction for simplicity. I then attempted to just call cursor_rebase after applying every transaction, but this causes crashes when exiting sway (and possibly other places) because cursor_rebase assumes the tree is in a valid state. So my chosen solution introduces transaction_commit_dirty_with_callback which allows handle_map to register a callback which will run when the transaction is applied.
* | Merge pull request #2954 from RyanDwyer/cursor-rebase-after-focus-directionLibravatar Drew DeVault2018-10-24
|\ \ | | | | | | Rebase the cursor after focusing in a direction
| * | Rebase the cursor after focusing in a directionLibravatar Ryan Dwyer2018-10-24
| |/ | | | | | | | | | | | | Prior to this patch, creating a tabbed container with two views, switching tab and then scrolling without motion would cause the scroll events to be sent to the old focus. To fix this, rebasing the cursor is needed after changing focus.
* | Merge pull request #2961 from RyanDwyer/swaylock-multiseatLibravatar emersion2018-10-24
|\ \ | |/ |/| Add multiseat support to swaylock
| * Add multiseat support to swaylockLibravatar Ryan Dwyer2018-10-24
|/
* Merge pull request #2933 from Snaipe/xwayland-window-propertiesLibravatar Drew DeVault2018-10-24
|\ | | | | xwayland: populate window_properties in json for views
| * xwayland: populate window_properties in json for viewsLibravatar Franklin "Snaipe" Mathieu2018-10-23
| | | | | | | | | | | | | | | | | | | | | | window_properties is documented to contain a subset of the X11 properties of a window (its title, class, instance, role, and transient ID). This commit adds the missing json object from the get_tree output for xwayland windows only. This is a follow-up of #2911. Signed-off-by: Franklin "Snaipe" Mathieu <me@snai.pe>
* | Merge pull request #2942 from ianyfan/swaybarLibravatar Drew DeVault2018-10-23
|\ \ | | | | | | swaybar: absorb bar_init function into bar_setup
| * | swaybar: absorb bar_init function into bar_setupLibravatar Ian Fan2018-10-23
| | |
* | | Merge pull request #2944 from RyanDwyer/fix-multiseat-dormant-cursorLibravatar Drew DeVault2018-10-23
|\ \ \ | |/ / |/| | Fix dormant cursor when using multiple seats
| * | seat_update_capabilities: Set cursor image while we have the capabilityLibravatar Ryan Dwyer2018-10-23
| | |
| * | Fix dormant cursor when using multiple seatsLibravatar Ryan Dwyer2018-10-23
|/ / | | | | | | | | | | The cursor's image would be removed or set when the seat's capabilities were updated, but there was nothing to prevent the image from being set at other times.
* | Merge pull request #2941 from ianyfan/commandsLibravatar Ryan Dwyer2018-10-23
|\ \ | | | | | | commands: clean up checkargs function +other small changes
| * | commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOSTLibravatar Ian Fan2018-10-23
| | | | | | | | | | | | This makes it a bit more obvious what the expected number of arguments is.
| * | commands: clean-up checkarg functionLibravatar Ian Fan2018-10-23
| | | | | | | | | | | | | | | Consolidates logic and fixes mistake that used argc instead of val for determining plural.
| * | commands: remove EXPECTED_MORE_THANLibravatar Ian Fan2018-10-23
| | | | | | | | | | | | Its uses have been replaced with EXPECTED_AT_LEAST.
| * | commands: print correct command on error for exec and opacityLibravatar Ian Fan2018-10-23
|/ /
* | Merge pull request #2940 from RyanDwyer/fix-swaybar-crashLibravatar emersion2018-10-23
|\ \ | | | | | | Fix swaybar crash when there's no status_command
| * | Fix swaybar crash when there's no status_commandLibravatar Ryan Dwyer2018-10-23
|/ /
* | Advertize dependency on gitLibravatar Arnaud Vallette d'Osia2018-10-23
| |
* | Merge pull request #2936 from RedSoxFan/fix-swaynag-commandLibravatar emersion2018-10-23
|\ \ | | | | | | cmd_swaynag_command: fix typo in variable
| * | cmd_swaynag_command: fix typo in variableLibravatar Brian Ashworth2018-10-22
|/ / | | | | | | | | The custom swaynag_command was being stored as config->swaybg_command instead of config->swaynag_command.
* | Merge pull request #2935 from mteyssier/ref-output-docsLibravatar Drew DeVault2018-10-23
|\ \ | | | | | | Add references to sway-output(5) in sway(5)
| * | Add references to sway-output(5) in sway(5)Libravatar mteyssier2018-10-23
| | | | | | | | | | | | | | | | | | - update ref in the swaybg_command description - add ref to sway-output(5) in See Also - add an `output` command description
* | | Merge pull request #2934 from RedSoxFan/config-log-cleanupLibravatar Ryan Dwyer2018-10-23
|\ \ \ | |/ / |/| | config: remove peeked + expanded line log entries
| * | config: remove peeked + expanded line log entriesLibravatar Brian Ashworth2018-10-22
|/ / | | | | | | | | | | | | | | The peeked and expanded line log entries were useful during the switch to generic code blocks and subcommands. However, it has been a while since those were introduced and the log entries are no longer helpful for any remaining issues with config parsing. Instead of keeping them as clutter in the log, they can just be removed.
* | Merge pull request #2929 from RyanDwyer/fix-scratchpad-resizeLibravatar Drew DeVault2018-10-22
|\ \ | | | | | | Fix crash when resizing container hidden in the scratchpad
| * \ Merge branch 'master' into fix-scratchpad-resizeLibravatar Brian Ashworth2018-10-22
| |\ \ | |/ / |/| |
* | | Merge pull request #2926 from RyanDwyer/fix-xwayland-floating-logicLibravatar Drew DeVault2018-10-22
|\ \ \ | | | | | | | | Fix xwayland wants_floating logic
| * | | Fix xwayland wants_floating logicLibravatar Ryan Dwyer2018-10-22
| | | |
| | * | Fix crash when resizing container hidden in the scratchpadLibravatar Ryan Dwyer2018-10-23
| |/ / |/| | | | | | | | | | | | | | | | | | | | Firstly, the container was wrongly identifying as a tiling container because it had no workspace. Secondly, when calculating the maximum possible size we can't use the workspace if it's not there, so we'll allow unlimited size in this case.
* | | Merge pull request #2924 from RyanDwyer/fix-qt-menu-crashLibravatar Drew DeVault2018-10-22
|\ \ \ | | | | | | | | Fix crash when quitting a QT app on the wayland backend using menu
| * | | Fix crash when quitting a QT app on the wayland backend using menuLibravatar Ryan Dwyer2018-10-22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QT unmaps the view before destroying the popup. We destroyed the popup in response to the view unmapping, but then we'd attempt to destroy it a second time which caused a crash. The patch removes the listener. I tested it with GTK as well, and can confirm the popup is still being destroyed.
* | | Merge pull request #2923 from RyanDwyer/fix-move-to-fullscreen-crashLibravatar Drew DeVault2018-10-22
|\ \ \ | | | | | | | | Fix crash when moving a container to a fullscreen workspace
| * | | Fix crash when moving a container to a fullscreen workspaceLibravatar Ryan Dwyer2018-10-22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting normal focus to the fullscreen view causes the old workspace to start destroying. We then set focus to the old workspace which is no longer attached in the tree. As we are only setting focus_inactive on the fullscreen container, the fix uses seat_set_raw_focus to avoid all the additional behaviour that comes with it such as destroying the old workspace.
* | | Merge pull request #2922 from RedSoxFan/fix-2905Libravatar Ryan Dwyer2018-10-22
|\ \ \ | |/ / |/| | cmd_reload: recalc font sizing + rebuild textures
| * | cmd_reload: recalc font sizing + rebuild texturesLibravatar Brian Ashworth2018-10-21
|/ / | | | | | | | | | | | | | | | | | | | | When the config gets reloaded, the font height and baseline get reset to 0. If the config does not have a font command in it, the variables will remain at 0 causing a transparent area where the title would be rendered. This makes it so the font height and baseline are recalculated. Additionally, since the font height and baseline may have changed due to the reload, the title and marks textures are rebuilt.
* | Merge pull request #2913 from emersion/fix-swaybar-hotplugLibravatar Drew DeVault2018-10-21
|\ \ | |/ |/| swaybar: fix hotplug
| * swaybar: fix hotplugLibravatar emersion2018-10-21
| |
* | Merge pull request #2909 from makepanic/issues/2906Libravatar Drew DeVault2018-10-21
|\ \ | | | | | | Parse missing i3 window types
| * | Parse missing i3 window typesLibravatar Christian2018-10-21
|/ / | | | | | | fixes the parsing part of #2906
* | Merge pull request #2903 from RyanDwyer/seat-specific-backandforthLibravatar emersion2018-10-21
|\ \ | |/ |/| Make workspace back_and_forth seat-specific
| * Make workspace back_and_forth seat-specificLibravatar Ryan Dwyer2018-10-21
|/ | | | | | | | * When using multiple seats, each seat has its own prev_workspace_name for the purpose of workspace back_and_forth. * Removes prev_workspace_name global variable. * Removes unused next_name_map function in tree/workspace.c. * Fixes memory leak in seat_destroy (seat was not freed).
* Merge pull request #2901 from ianyfan/swaybar1.0-beta.1Libravatar emersion2018-10-20
|\ | | | | swaybar: render with minimum height, nominally text height
| * swaybar: render with minimum height, nominally text heightLibravatar Ian Fan2018-10-20
|/
* Merge pull request #2900 from Hi-Angel/masterLibravatar Drew DeVault2018-10-20
|\ | | | | A script to make inactive windows transparent
| * A script to make inactive windows transparentLibravatar Konstantin Kharlamov2018-10-20
|/ | | | | | | | Sway has ability to apply transparency to arbitrary windows. This script wires up this functional to one of popular use-cases from i3+<compositor_name>. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* Merge pull request #2896 from RyanDwyer/abort-proprietaryLibravatar Drew DeVault2018-10-20
|\ | | | | Abort if proprietary drivers are in use
| * Abort if proprietary drivers are in useLibravatar Ryan Dwyer2018-10-21
|/ | | | | | The idea here is we don't want users to be blissfully unaware that they are running unsupported drivers. So we abort on startup, and force the user to add a specific argument to bypass the check.