aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Implement mode --pango_markupLibravatar Brian Ashworth2018-07-05
|
* Merge pull request #2185 from swaywm/update-wlroots-1076Libravatar emersion2018-07-05
|\ | | | | Updates per wlroots#1076
| * Use wlr_surface.buffer_damageLibravatar emersion2018-07-05
| |
| * Updates per wlroots#1076Libravatar Drew DeVault2018-07-05
| |
* | Merge pull request #2212 from BlueGone/fix-sway-input-manLibravatar Drew DeVault2018-07-05
|\ \ | |/ |/| Escape underscore in sway-input(5) man page to avoid invalid colors
| * Escape underscore in sway-input(5) man page to avoid invalid colorsLibravatar Thomas Plaçais2018-07-05
|/
* Merge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiledLibravatar emersion2018-07-05
|\ | | | | Call view_set_tiled for mapping non-floating views
| * Call view_set_tiled for mapping non-floating viewsLibravatar Ryan Dwyer2018-07-05
|/ | | | Fixes #2209.
* Merge pull request #2205 from RyanDwyer/fix-border-weirdnessLibravatar Drew DeVault2018-07-04
|\ | | | | Fix border weirdness
| * Fix booleanLibravatar Ryan Dwyer2018-07-04
| |
| * Only call view_set_tiled when switching floating modeLibravatar Ryan Dwyer2018-07-04
| | | | | | | | Otherwise it repeatedly sets the view's border to the config's default.
* | Merge pull request #2208 from RyanDwyer/instruction-use-after-freeLibravatar Ryan Dwyer2018-07-04
|\ \ | | | | | | Fix use after free in transaction code
| * | Fix use after free in transaction codeLibravatar Ryan Dwyer2018-07-04
|/ / | | | | | | | | | | | | | | | | If we set an instruction as ready twice, it decreases the transaction's num_waiting a second time and applies the transaction earlier than it should. This no doubt has undesired effects, probably resulting in a use after free. Hopefully fixes the first part of #2207.
* | Merge pull request #2200 from mucamaca/fix_transparencyLibravatar emersion2018-07-04
|\ \ | | | | | | Fix #1857 -> transparency in swaylock
| * | Merge branch 'master' into fix_transparencyLibravatar Bor Grošelj Simić2018-07-04
| |\|
| * | Fix transparency in background images in swaylockLibravatar Bor Grošelj Simić2018-07-04
| | |
| * | Fix #1857Libravatar Bor Grošelj Simić2018-07-04
| | |
* | | Merge pull request #2203 from martinetd/ipc-server-display-destroyLibravatar emersion2018-07-04
|\ \ \ | |_|/ |/| | ipc-server: add display destroy listener
| * | ipc-server: add display destroy listener and remove ipc_terminateLibravatar Dominique Martinet2018-07-04
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wl_event_source_remove() is illegal after display has been destroyed, so just destroy everything when we still can. ==20392==ERROR: AddressSanitizer: heap-use-after-free on address 0x607000001240 at pc 0x00000048e86e bp 0x7ffe4b557e00 sp 0x7ffe4b557df0 READ of size 8 at 0x607000001240 thread T0 #0 0x48e86d in wl_list_insert ../common/list.c:149 #1 0x7fdf673d4d7d in wl_event_source_remove src/event-loop.c:487 #2 0x41b742 in ipc_terminate ../sway/ipc-server.c:94 #3 0x40b1ad in main ../sway/main.c:440 #4 0x7fdf6664c18a in __libc_start_main ../csu/libc-start.c:308 #5 0x409359 in _start (/opt/wayland/bin/sway+0x409359) 0x607000001240 is located 48 bytes inside of 72-byte region [0x607000001210,0x607000001258) freed by thread T0 here: #0 0x7fdf692c4880 in __interceptor_free (/lib64/libasan.so.5+0xee880) #1 0x7fdf673d371a in wl_display_destroy src/wayland-server.c:1097 previously allocated by thread T0 here: #0 0x7fdf692c4c48 in malloc (/lib64/libasan.so.5+0xeec48) #1 0x7fdf673d4d9e in wl_event_loop_create src/event-loop.c:522 #2 0x40acb2 in main ../sway/main.c:363 #3 0x7fdf6664c18a in __libc_start_main ../csu/libc-start.c:308
* | Merge pull request #2202 from RyanDwyer/fix-focus-damageLibravatar emersion2018-07-04
|\ \ | | | | | | Fix focus related damage
| * | Fix focus related damageLibravatar Ryan Dwyer2018-07-04
| |/ | | | | | | | | | | | | | | When you have an unfocused container (so one view is focused_inactive), and you focus any other view in that container, the view with focused_inactive was not damaged. This is because we damaged the previous focus and new focus, but needed to damage the parent of the new focus.
* | Merge pull request #2201 from martinetd/setenv-wl-displayLibravatar emersion2018-07-04
|\ \ | |/ |/| startup: move setenv WAYLAND_DISPLAY before config execs
| * startup: move setenv WAYLAND_DISPLAY before config execsLibravatar Dominique Martinet2018-07-04
|/ | | | | | | | | We would previously run all config commands without the environment, which would appear to work as our socket name is the default one, but wayland clients would start up in the wrong sway session. (This explains why 'sometimes' my swayidle processes wouldn't die with sway, as they weren't listening to the correct socket)
* Merge pull request #2194 from RyanDwyer/fix-incorrect-renderLibravatar emersion2018-07-02
|\ | | | | Don't return pending children in seat_get_active_current_child
| * Don't return pending children in seat_get_active_current_childLibravatar Ryan Dwyer2018-07-02
| | | | | | | | | | | | | | | | | | | | Fixes #2192. seat_get_active_current_child is intended to return a child of the given container which has finished its mapping transaction and is able to be rendered on screen. The previous implementation was capable of returning a pending child, which caused a child of a tabbed or stacked view to be rendered prematurely while it was mapping.
* | Merge pull request #2193 from RyanDwyer/fix-fullscreen-damageLibravatar emersion2018-07-02
|\ \ | |/ |/| Fix damage on swaybar when view requests to exit fullscreen
| * Fix damage on swaybar when view requests to exit fullscreenLibravatar Ryan Dwyer2018-07-02
|/ | | | Fixes #2191
* Merge pull request #2187 from martinetd/idle-inhibitLibravatar emersion2018-07-02
|\ | | | | Idle inhibit
| * idle_inhibit: move server data to its own structLibravatar Dominique Martinet2018-07-02
| |
| * idle_inhibit: stop inhibitor when views become invisibleLibravatar Dominique Martinet2018-07-02
| |
| * Add idle inhibit unstable v1 supportLibravatar Dominique Martinet2018-07-02
| |
* | Merge pull request #2186 from martinetd/static-analysisLibravatar emersion2018-07-02
|\ \ | |/ |/| Static analysis fixes
| * swaylock daemonize: fix leak of devnull fdLibravatar Dominique Martinet2018-07-02
| |
| * load_config: move NULL path check before first useLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis
| * config include: fix leak on relative include pathLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis
| * bar config: fix uninitialized accesses on init errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | | | | | If init fails halfway through it will call the destroy function, which needs some coherent stuff filled. Allocate with calloc and fill in what cannot fail first Found through static analysis.
| * cmd_assign: fix leak on errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * utf8_size: fix loop boundaryLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis
| * bar_cmd_modifier: fix use-after-free on errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * bar_cmd_font: fix leak of fontLibravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | join_args is a freshly allocated string and can be used as is. Found through static analysis.
| * get_parent_pid: fix memory leakLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * read_config: fix leak on errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * cmd_background: fix leak on errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * transaction_apply: use float for quotientLibravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | Pre-dividing 1000/60 would lose 2/3 due to round-up Found through static analysis
| * workspace_next_name: fix string length for ws_num >= 100Libravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | | | | | | | | | | | 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.
| * find prev/next output/workspace: add NULL checkLibravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | These could be called with NULL if there is no focus Found through static analysis.
| * output commands: move !argc checks after argc gets decrementedLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * config_commands_command: make alloc failure check more permanentLibravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | policy is accessed again later Found through static analysis
| * input_config: free new_input_config on errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | Found through static analysis.
| * ipc-server: fix more use-after-frees on ipc_send_reply errorLibravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | | | Since ipc_send_reply frees the client on error, we need to check the return value properly as we access client later on Found through static analysis.