aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-07-07Don't clear when using opaque lockscreenRyan Dwyer-9/+0
2018-07-07Detect opaque lockscreen when using a solid colorRyan Dwyer-4/+7
2018-07-07Use infinite opaque region in swaylockRyan Dwyer-14/+14
2018-07-07Use pixman_region32_contains_rectangleRyan Dwyer-10/+7
2018-07-07Use opaque region to determine if frame done should be sentRyan Dwyer-2/+52
2018-07-07Don't send frame done to surfaces behind lockscreenRyan Dwyer-1/+30
Also, when rendering, don't descend into the tree if the lockscreen is active. Just render the lockscreen's surfaces.
2018-07-06Merge pull request #2220 from ianyfan/remove-input-fixemersion-3/+3
Attach destroy handler earlier for input devices
2018-07-06Merge branch 'master' into remove-input-fixDrew DeVault-15/+32
2018-07-06Attach destroy handler earlierIan Fan-3/+3
This prevents it from being bypassed when the device has no seat configuration
2018-07-06Merge pull request #2217 from RedSoxFan/fix-663Drew DeVault-8/+27
Implement mode --pango_markup
2018-07-06Merge pull request #2219 from RedSoxFan/fix-2111Drew DeVault-7/+5
Send pointer button events for keyboard-interactive layer surfaces
2018-07-05Fix pointer button events for layer surfacesBrian Ashworth-7/+5
2018-07-05Implement mode --pango_markupBrian Ashworth-8/+27
2018-07-05Merge pull request #2185 from swaywm/update-wlroots-1076emersion-17/+23
Updates per wlroots#1076
2018-07-05Merge pull request #2212 from BlueGone/fix-sway-input-manDrew DeVault-2/+2
Escape underscore in sway-input(5) man page to avoid invalid colors
2018-07-05Escape underscore in sway-input(5) man page to avoid invalid colorsThomas Plaçais-2/+2
2018-07-05pango/cairo: set default font map to NULL to free itDominique Martinet-0/+3
2018-07-05cmd_results_to_json: return copied string and properly free the jsonDominique Martinet-9/+8
The only user of this function would copy the string right away to get rid of the const flag anyway, and freeing a const string afterwards might work but is not meant to be done according to the json-c API.
2018-07-05Use wlr_surface.buffer_damageemersion-3/+9
2018-07-05Updates per wlroots#1076Drew DeVault-16/+16
2018-07-05workspace_next_name: free targets later than these already found in orderDominique Martinet-0/+2
2018-07-05view_map: free criterias as the list it isDominique Martinet-1/+1
2018-07-05container_free: free formatted titleDominique Martinet-0/+1
2018-07-05ipc-server: free clients at destroyDominique Martinet-0/+5
2018-07-05config: add a couple of forgotten freesDominique Martinet-1/+7
2018-07-05keyboard: free xkb keymap on destroyDominique Martinet-0/+3
2018-07-05Merge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiledemersion-0/+2
Call view_set_tiled for mapping non-floating views
2018-07-05Call view_set_tiled for mapping non-floating viewsRyan Dwyer-0/+2
Fixes #2209.
2018-07-04Merge pull request #2205 from RyanDwyer/fix-border-weirdnessDrew DeVault-4/+1
Fix border weirdness
2018-07-04Merge pull request #2208 from RyanDwyer/instruction-use-after-freeRyan Dwyer-1/+3
Fix use after free in transaction code
2018-07-04Fix use after free in transaction codeRyan Dwyer-1/+3
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.
2018-07-04Merge pull request #2200 from mucamaca/fix_transparencyemersion-0/+3
Fix #1857 -> transparency in swaylock
2018-07-04Fix booleanRyan Dwyer-1/+1
2018-07-04Merge pull request #2203 from martinetd/ipc-server-display-destroyemersion-18/+20
ipc-server: add display destroy listener
2018-07-04Merge branch 'master' into fix_transparencyBor Grošelj Simić-2/+2
2018-07-04Only call view_set_tiled when switching floating modeRyan Dwyer-4/+1
Otherwise it repeatedly sets the view's border to the config's default.
2018-07-04Fix transparency in background images in swaylockBor Grošelj Simić-2/+3
2018-07-04ipc-server: add display destroy listener and remove ipc_terminateDominique Martinet-18/+20
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
2018-07-04Merge pull request #2202 from RyanDwyer/fix-focus-damageemersion-1/+1
Fix focus related damage
2018-07-04Merge pull request #2201 from martinetd/setenv-wl-displayemersion-1/+1
startup: move setenv WAYLAND_DISPLAY before config execs
2018-07-04Fix focus related damageRyan Dwyer-1/+1
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.
2018-07-04startup: move setenv WAYLAND_DISPLAY before config execsDominique Martinet-1/+1
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)
2018-07-04Fix #1857Bor Grošelj Simić-0/+2
2018-07-02Merge pull request #2194 from RyanDwyer/fix-incorrect-renderemersion-6/+6
Don't return pending children in seat_get_active_current_child
2018-07-02Don't return pending children in seat_get_active_current_childRyan Dwyer-6/+6
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.
2018-07-02Merge pull request #2193 from RyanDwyer/fix-fullscreen-damageemersion-6/+6
Fix damage on swaybar when view requests to exit fullscreen
2018-07-02Fix damage on swaybar when view requests to exit fullscreenRyan Dwyer-6/+6
Fixes #2191
2018-07-02Merge pull request #2187 from martinetd/idle-inhibitemersion-2/+120
Idle inhibit
2018-07-02Merge pull request #2186 from martinetd/static-analysisemersion-62/+113
Static analysis fixes
2018-07-02idle_inhibit: move server data to its own structDominique Martinet-26/+53