summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * | fixup! config.c: re-enable backslash continuation in config fileLibravatar Ian Fan2019-01-01
| | |
| * | config.c: re-enable backslash continuation in config fileLibravatar Ian Fan2019-01-01
| | |
| * | Remove readline.cLibravatar Ian Fan2019-01-01
| | | | | | | | | | | | | | | All occurrences of read_line have been replaced by getline. peek_line has been absorbed into detect_brace.
| * | stringop.c: rewrite strip_whitespaceLibravatar Ian Fan2019-01-01
| | |
* | | Merge pull request #3337 from RedSoxFan/fix-seat-cmd-cursorLibravatar emersion2019-01-08
|\ \ \ | | | | | | | | seat_cmd_cursor: work on seat name provided
| * | | seat_cmd_cursor: work on seat name providedLibravatar Brian Ashworth2018-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of simulating events on the current seat, this makes it so seat_cmd_cursor respects the seat name provided by `seat <name> cursor <args>`. It also adds support for simulating events on all seats when the wildcard is given. This also defers the command when reading the config, which allows the user to set the initial position of the cursor when the command is included in the config file.
* | | | Add data-control-v1Libravatar emersion2019-01-07
| | | |
* | | | seat: unhide the cursor if it is warped to focusLibravatar Rouven Czerwinski2019-01-07
| | | | | | | | | | | | | | | | | | | | | | | | Unhide the cursor if container warping is enabled. Also set the image_surface to NULL during view_unmap, otherwise the cursor will try to access the surface which is currently being unmapped.
* | | | view: use seat_consider_warp_to_focus in view_unmapLibravatar Rouven Czerwinski2019-01-07
| | | | | | | | | | | | | | | | | | | | The view_unmap function contained an open coded version of seat_consider_warp_to_focus, replace it with a call to the function.
* | | | cursor: move unhide and timeout retrieval into separate functionsLibravatar Rouven Czerwinski2019-01-07
| | | | | | | | | | | | | | | | | | | | The unhide and timeout retrieval functions are needed in a later commit. No functional changes.
* | | | Merge pull request #3381 from oscarwcl/swayidle-inhibit-sleepLibravatar emersion2019-01-07
|\ \ \ \ | | | | | | | | | | swayidle: Fix sleep inhibitor not being acquired
| * | | | swayidle: Fix sleep inhibitor not being acquiredLibravatar Oscar Cowdery Lack2019-01-07
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3377. The sleep lock file descriptor was immediately closed after it was acquired due to the dbus message being freed. Now the fd is duplicated before the message is freed so the inhibitor stays active.
* | | | Merge pull request #3378 from jbeich/masterLibravatar emersion2019-01-06
|\ \ \ \ | | | | | | | | | | Unbreak build on 32bit platforms
| * | | | Use %z for printing size_tLibravatar Jan Beich2019-01-06
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ../sway/desktop/transaction.c:367:17: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] transaction, transaction->num_waiting); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wlr/util/log.h:56:72: note: expanded from macro 'wlr_log' _wlr_log(verb, "[%s:%d] " fmt, _wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^~~~~~~~~~~ ../sway/desktop/transaction.c:477:5: error: format specifies type 'long' but the argument has type 'unsigned int' [-Werror,-Wformat] transaction->num_configures - transaction->num_waiting + 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wlr/util/log.h:56:72: note: expanded from macro 'wlr_log' _wlr_log(verb, "[%s:%d] " fmt, _wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^~~~~~~~~~~ ../sway/desktop/transaction.c:478:5: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] transaction->num_configures, ms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wlr/util/log.h:56:72: note: expanded from macro 'wlr_log' _wlr_log(verb, "[%s:%d] " fmt, _wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^~~~~~~~~~~
* | | | Merge pull request #3367 from oscarwcl/swaylock-fix-capslockLibravatar Drew DeVault2019-01-05
|\ \ \ \ | | | | | | | | | | swaylock: Fix caps lock not updating immediately
| * | | | swaylock: Fix caps lock not updating immediatelyLibravatar Oscar Cowdery Lack2019-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially fixes #2788. This change makes it so the lock screen is redrawn whenever the caps lock modifier state changes, rather on relying on the keypress event. This didn't work because caps lock is disabled when the key is released, not pressed, so the caps lock indicator does not go away until the next keypress event.
* | | | | Fix urgency documentationLibravatar Ryan Dwyer2019-01-05
| | | | |
* | | | | Update README.mdLibravatar Drew DeVault2019-01-05
| |_|_|/ |/| | |
* | | | Fixed formulations.Libravatar PlusMinus02019-01-04
| | | |
* | | | Update sway-output.5.scdLibravatar PlusMinus02019-01-04
| | | | | | | | | | | | Some more clarifications because it seems scale questions are recurring.
* | | | Apply tiling_drag_threshold to all containersLibravatar David962019-01-03
| | | |
* | | | completion: use jq instead of sed for swaybar completionLibravatar Réouven Assouly2019-01-02
| | | |
* | | | zsh: update completionsLibravatar Réouven Assouly2019-01-02
| | | |
* | | | Implement tiling_drag_thresholdLibravatar Brian Ashworth2019-01-02
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Implements `tiling_drag_threshold <threshold>` to prevent accidental dragging of tiling containers. If a container (and all of its descendants) are unfocused and the tile bar is pressed, a threshold will be used before actually starting the drag. Once the threshold has been exceeded, the cursor will change to the grab icon and the operation will switch from `OP_MOVE_TILING_THRESHOLD` to `OP_MOVE_TILING`.
* | / Fix fullscreen view rendering crashLibravatar Mack Straight2019-01-01
| |/ |/| | | | | | | | | | | See issue #3359 for reproduction details. When a fullscreen view is unmapped and there's a preceding transaction waiting, there may be neither a saved buffer or a surface to render. This change matches the equivalent code in render_view.
* | bash: add completion for swaybarLibravatar Gaël PORTAY2018-12-31
| |
* | Merge pull request #3249 from ianyfan/trayLibravatar Drew DeVault2018-12-31
|\ \ | | | | | | Swaybar tray
| * | swaybar: use KDE's SNI IconThemePath propertyLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: handle new and lost StatusNotifierWatcherLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: draw a sad face if SNI has no iconLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: do not create tray if hiddenLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: set bar dirty on SNI eventLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: implement mouse events for trayLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: implement tray renderingLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: implement tray configLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: add StatusNotifierItem to trayLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: add StatusNotifierHost to trayLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: implement icon themes and lookup for trayLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: add StatusNotifierWatcher to trayLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: add skeleton dbus code to trayLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: add tray interfaceLibravatar Ian Fan2018-12-31
| | |
| * | swaybar: remove old tray implementationLibravatar Ian Fan2018-12-31
|/ /
* | Apply implicit fallback seat configLibravatar Brian Ashworth2018-12-31
| | | | | | | | | | | | The implicit fallback seat config needs to be applied (if created). Otherwise, the input devices will still be removed from the implicit default seat on reload when there is any seat config.
* | Set font options when computing text width.Libravatar John Chen2018-12-31
| | | | | | | | Fix #2869
* | swaybar: fix double freeLibravatar Mack Straight2018-12-31
| | | | | | | | | | | | | | | | | | | | | | status->text should not be freed here. There are two scenarios: * status->text has been set to an error by status_error. In this case the value shouldn't be freed because it's always a reference to a constant. * status->text has been set to status->buffer because the bar is in text protocol mode. In this case it's a double free because the buffer is already freed after.
* | Merge pull request #3352 from emersion/env-docsLibravatar Brian Ashworth2018-12-30
|\ \ | | | | | | Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZE
| * | Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZELibravatar emersion2018-12-31
|/ / | | | | | | | | | | | | | | These are not yet implemented, and will be exposed as a configuration command rather than env variables when implemented. This also adds a reference to sway-input(5) in xkb env configuration. Maybe we should just un-document these instead.
* | hide_cursor: change to a seat subcommandLibravatar Brian Ashworth2018-12-30
| | | | | | | | | | This makes hide_cursor a seat subcommand, which allows for seat specific timeouts.
* | Verify seat fallback settings on reloadLibravatar Brian Ashworth2018-12-30
|/ | | | | | | | | | | | | This fixes an issue where on reload, all input devices that were added via an implicit fallback to the default seat would be removed from the default seat and applications would crash due to the seat having no capabilities. On reload, there is a query for a seat config with the fallback setting set (it can either be true or false). If no such seat config exists, the default seat is created (if needed) and has the implicit fallback true applied to its seat config. This is the same procedure that occurs when a new input is detected.
* Revamp seat configsLibravatar Brian Ashworth2018-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes seat configs work like output and input configs do. This also adds support for wildcard seat configs. A seat config is still created in the main seat command handler, but instead of creating a new one in the subcommands and destroying the main seat command's instance, the seat subcommands modify the main one. The seat config is then stored, where it is merged appropriately. The seat config returned from `store_seat_config` is then applied. When attempting to apply a wildcard seat config, a seat specific config is queried for and if found, that is used. Otherwise, the wildcard config is applied directly. Additionally, instead of adding input devices to the default seat directly when there is no seat configs, a seat config for the default seat is created with only fallback set to true, which is more explicit. It also fixes an issue where running a seat command at runtime (with no seat config in the sway config), would result in all input devices being removed from the default seat and leaving sway in an unusable state. Also, instead of checking for any seat config, the search is for a seat config with a fallback option seat. This makes it so if there are only seat configs with fallback set to -1, the default seat is still created since there is no explicit notion on what to do regarding fallbacks. However, if there is even a single fallback 0, then the default seat is not used as a fallback. This will be needed for seat subcommands like hide_cursor where the user may only want to set that property without effecting anything else.