summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Flatten container in workspace_rejiggerLibravatar Ryan Dwyer2018-09-23
|
* Fix some bugs as a result of removing move_out_of_tabs_stacksLibravatar Ryan Dwyer2018-09-23
|
* Remove move_out_of_tabs_stacksLibravatar Ryan Dwyer2018-09-23
| | | | | | | | | | | | | | | | | This fixes the following. Create these layouts and run move right: (Initial layout -> expected result -> actual result) * `H[S[unfocused focused] unfocused]` -> `H[S[unfocused] focused unfocused]` -> `H[H[S[unfocused] focused] unfocused]` * `H[S[unfocused focused] V[unfocused]]` -> `H[S[unfocused] V[unfocused focused]]` -> `H[H[S[unfocused] focused] V[unfocused]]` move_out_of_tabs_stacks was originally made to allow views to move out of the tabbed/stacked container in the parallel direction, but at some point this has started working using the regular logic.
* Merge pull request #2688 from RyanDwyer/exec-commands-without-focusLibravatar Drew DeVault2018-09-22
|\ | | | | Allow running commands on containers without focusing them
| * Allow running commands on containers without focusing themLibravatar Ryan Dwyer2018-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a `con` argument to `execute_command` which allows you to specify the container to execute the command on. In most cases it leaves it as `NULL` which makes it use the focused node. We only set it when executing `for_window` criteria such as when a view maps. This means we don't send unnecessary IPC focus events, and fixes a crash when the criteria command is `move scratchpad` (because we can't give focus to a hidden scratchpad container). Each of the shell map handlers now check to see if the view has a workspace. It won't have a workspace if criteria has moved it to the scratchpad.
* | Merge pull request #2690 from ianyfan/commandsLibravatar Ryan Dwyer2018-09-23
|\ \ | | | | | | commands: remove obselete code for sticky windows when switching workspace
| * \ Merge branch 'master' into commandsLibravatar Ryan Dwyer2018-09-23
| |\ \ | |/ / |/| |
* | | Remove contrib/awesome.configLibravatar Drew DeVault2018-09-22
| | | | | | | | | | | | We deprecated the stuff necessary to make this work.
* | | Merge pull request #2691 from ggreer/pango-font-optionsLibravatar Drew DeVault2018-09-22
|\ \ \ | |_|/ |/| | Call pango_cairo_context_set_font_options().
| * | Call pango_cairo_context_set_font_options().Libravatar Geoff Greer2018-09-22
|/ / | | | | | | Call pango_cairo_context_set_font_options() before pango_cairo_update_layout() and pango_cairo_show_layout(). By default, Pango "merges" the Cario font options with its own, which doesn't enable full hinting.
| * commands: remove obselete code for sticky windows when switching workspaceLibravatar Ian Fan2018-09-22
|/
* Merge pull request #2677 from ggreer/pretty-fontsLibravatar Drew DeVault2018-09-22
|\ | | | | Render fonts slightly nicer
| * swaybar, swaylock, & tree/container: Set cairo font options to render text ↵Libravatar Geoff Greer2018-09-22
|/ | | | and lines with subpixel hinting (if available).
* Merge pull request #2660 from RyanDwyer/fix-scratchpad-iterationLibravatar emersion2018-09-22
|\ | | | | Fix double iteration of scratchpad containers
| * Fix double iteration of scratchpad containersLibravatar Ryan Dwyer2018-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | root_for_each_container and root_find_container were using incorrect logic to determine if a container was hidden in the scratchpad. Containers will have a NULL parent if they are a direct child of a workspace. Containers will have a NULL workspace if they are hidden in the scratchpad. The incorrect check meant that root_for_each_container would run the callback on scratchpad containers twice. This meant that executing a command such as `[class="$something"] scratchpad show` would cause the command to run twice, resulting in the container being shown and hidden again which is effectively a no op. Fixes #2655.
* | Merge pull request #2687 from ianyfan/swaybarLibravatar Ryan Dwyer2018-09-22
|\ \ | | | | | | swaybar: explicitly check return value of getdelim
| * | swaybar: explicitly check return value of getdelimLibravatar Ian Fan2018-09-22
|/ / | | | | | | | | | | This prevents an signed-to-unsigned conversion error on buffer_index if getdelim fails and returns -1, which caused swaybar to try to search the header for the array and immediately failing
* | Merge pull request #2679 from RyanDwyer/fix-pango-escapingLibravatar emersion2018-09-22
|\ \ | | | | | | Fix pango escaping and refactor escape_markup_text
| * | Use pango_layout_set_text instead of pango_layout_set_markupLibravatar Ryan Dwyer2018-09-22
| | |
| * | Fix pango escaping and refactor escape_markup_textLibravatar Ryan Dwyer2018-09-22
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2674. The cause of the issue was in get_pango_layout. When we call pango_parse_markup, `text` is the escaped string, and the unescaped string is then computed and written to `buf`. We were then passing the unescaped string to pango_layout_set_markup, but this function needs the escaped string. `buf` is not needed and has been removed. The other part of this PR refactors escape_markup_text to remove the dest_length argument and removes the -1 return value on error. It now assumes that you've allocated dest to the correct length.
* | Merge pull request #2678 from RyanDwyer/reconfigure-on-repositionLibravatar emersion2018-09-22
|\ \ | | | | | | Reconfigure xwayland views when repositioned
| * | Reconfigure xwayland views when repositionedLibravatar Ryan Dwyer2018-09-21
| | | | | | | | | | | | Fixes #2673.
* | | Merge pull request #2666 from emersion/swaybar-hotplugLibravatar Brian Ashworth2018-09-21
|\ \ \ | | | | | | | | swaybar: handle hotplugging
| * \ \ Merge branch 'master' into swaybar-hotplugLibravatar Brian Ashworth2018-09-21
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2672 from ianyfan/swaybarLibravatar Drew DeVault2018-09-21
|\ \ \ \ | | | | | | | | | | swaybar: fix parsing errors when json is sent in parts
| * | | | swaybar: log invalid i3bar jsonLibravatar Ian Fan2018-09-21
| | | | |
| * | | | swaybar: reset tokener if json is incompleteLibravatar Ian Fan2018-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the tokener parses incomplete json, it sets its error value to json_tokener_continue. This means that extra json should be provided, but the code was providing the entire object again. In the interest of simplicity, the tokener is reset so that buffer_pos always points to the start of the current object.
| * | | | swaybar: update buffer_pos when moving object to start of bufferLibravatar Ian Fan2018-09-21
| | |/ / | |/| |
* | | | Merge pull request #2683 from ammgws/patch-1Libravatar Drew DeVault2018-09-21
|\ \ \ \ | |/ / / |/| | | stabilityに関する注記を更新
| * | | stabilityに関する注記を更新Libravatar Jason2018-09-21
|/ / /
* | | Update stability notice in README1.0-alpha.6Libravatar Drew DeVault2018-09-21
| | |
* | | Merge pull request #2680 from marienz/no-x11-backendLibravatar emersion2018-09-21
|\ \ \ | | | | | | | | Fix compilation against wlroots without X11 backend
| * | | Fix compilation against wlroots without X11 backendLibravatar Marien Zwart2018-09-21
|/ / /
* | | Merge pull request #2665 from emersion/render-output-segfaultLibravatar Ryan Dwyer2018-09-21
|\ \ \ | | | | | | | | Fix segfault in output_render
| * \ \ Merge branch 'master' into render-output-segfaultLibravatar Ryan Dwyer2018-09-21
| |\ \ \ | |/ / / |/| | |
| * | | Fix segfault in output_renderLibravatar emersion2018-09-19
| | |/ | |/|
| | * swaybar: don't wl_display_roundtrip on each frameLibravatar emersion2018-09-20
| | | | | | | | | | | | | | | | | | | | | This was the source of numerous bugs, from hotplug events not being received to segfaults because wl_display_roundtrip was making the bar process unplug events while blocking in an iteration over all outputs.
| | * swaybar: handle hotpluggingLibravatar emersion2018-09-20
| |/ |/| | | | | Don't kill and respawn swaybars on hotplug.
* | Merge pull request #2671 from emersion/output-execute-no-focusLibravatar emersion2018-09-20
|\ \ | | | | | | Fix segfault when executing command without focus
| * | Fix segfault when executing command without focusLibravatar emersion2018-09-19
| | |
* | | Merge pull request #2676 from ianyfan/ipcLibravatar Drew DeVault2018-09-19
|\ \ \ | | | | | | | | ipc: add pid information for views in layout tree
| * | | ipc: add pid information for views in layout treeLibravatar Ian Fan2018-09-19
| | | |
* | | | Merge pull request #2669 from RyanDwyer/create-output-commandLibravatar Drew DeVault2018-09-19
|\ \ \ \ | |_|/ / |/| | | Introduce create_output command (for developer use)
| * | | Merge branch 'master' into create-output-commandLibravatar emersion2018-09-19
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2670 from ianyfan/commandsLibravatar Drew DeVault2018-09-19
|\ \ \ \ | | | | | | | | | | config: free strings fields when freeing input config
| * | | | config: free strings fields when freeing input configLibravatar Ian Fan2018-09-19
|/ / / /
| * / / Introduce create_output command (for developer use)Libravatar Ryan Dwyer2018-09-19
|/ / / | | | | | | | | | Should help with testing hotplugging.
* | | Merge pull request #2640 from ianyfan/swaybarLibravatar Drew DeVault2018-09-18
|\ \ \ | |_|/ |/| | Overhaul swaybar protocol handling (+fixes)
| * | swaybar: only free tokener when using i3bar protocolLibravatar Ian Fan2018-09-18
| |/
| * swaybar: add debugging statements for handling i3bar jsonLibravatar Ian Fan2018-09-18
| |