Commit graph

2589 commits

Author SHA1 Message Date
Drew DeVault
78740b9785
Merge pull request #1801 from bobsaintcool/r0.15/man/scale_typo
<sway/man: In sway(5) treat scale as keyword for output command>
2018-04-12 11:06:49 -04:00
Quentin Bourgeois
bd3e4e326e
<sway/man: In sway(5) treat scale as keyword for output command>
Signed-off-by: Quentin Bourgeois <quentin@bourgeois.eu>
2018-04-12 14:59:57 +00:00
Drew DeVault
22db601331
Merge pull request #1720 from bobsaintcool/r0.15/doc/fix_security_path
<sway/man: Fix path typo for sway-security(7) default path>
2018-04-03 20:22:55 -04:00
Quentin Bourgeois
85e60dd0ba
<sway/man: Fix path typo for sway-security(7) default path>
Update the path provided in the documentation that refer to the
default security value provided by swaywm project.
2018-04-04 00:05:12 +00:00
Drew DeVault
0c8bc0264a
Merge pull request #1640 from taiyu-len/fix_remove_view_from_scratchpad
fix remove_view_from_scratchpad
2018-03-28 16:58:56 -04:00
taiyu
e4e8b66efd Clean up scratchpad logging 2018-03-28 12:48:01 -07:00
taiyu
52b9a62b31 fix remove_view_from_scratchpad 2018-03-27 21:34:55 -07:00
Drew DeVault
f99a653bd3
Merge pull request #1639 from taiyu-len/save_errno
save errno to avoid issues with it being overwritten in sway_log_errno
2018-03-27 22:55:08 -04:00
taiyu
125d4fdf2e restore errno 2018-03-27 19:33:59 -07:00
Drew DeVault
ef169fcaeb
Merge pull request #1636 from jrouleau/master
swaybar: correctly render min_width for strings
2018-03-27 08:36:29 -04:00
taiyu
97ad9ab984 save errno to avoid issues with it being overwritten 2018-03-27 02:59:41 -07:00
Jonathan Rouleau
54444e7587 swaybar: correctly render min_width for strings
fixes #1635
2018-03-27 06:56:09 +00:00
Drew DeVault
45f14fcb24
Merge pull request #1633 from mckinney-subgraph/0.15
Fixed missing icons bug in index.theme parsing (2)
2018-03-24 19:28:52 -04:00
David McKinney
4d5fae4567 Merge remote-tracking branch 'remotes/origin/bugfix/iconsnotfound' into 0.15 2018-03-24 19:05:12 -04:00
David McKinney
8d95d2f924
Fixed missing icons bug in index.theme parsing and a path concatenation bug in find_inherits() 2018-03-24 12:49:15 -04:00
Drew DeVault
6726f2402d Remove hackathon notice from README 2018-03-21 14:48:39 -04:00
Drew DeVault
0088aa4f9f
Merge pull request #1615 from mikkeloscar/arch-travis-fix-next
Enable docker service in travis
2018-03-03 10:42:02 -05:00
Mikkel Oscar Lyderik Larsen
2c2193bb99
Enable docker service in travis
Adds the docker service in travis which is now required by arch-travis.

See: https://github.com/mikkeloscar/arch-travis/pull/40
2018-03-03 16:36:25 +01:00
Drew DeVault
30ae1e32d7
Merge pull request #1598 from DarkReef/master
Translation update
2018-02-20 08:35:43 -05:00
Dark Rift
a0417b10cc Translation update 2018-02-20 18:18:18 +00:00
Drew DeVault
a274777ade
Merge pull request #1596 from nickbp/0.15
Fix segfault if swaybg is run without Wayland
2018-02-19 18:13:39 -05:00
Nick Parker
6816253110 Fix segfault if swaybg is run without Wayland
Mirrors a similar check in `swaylock/main.c`
2018-02-19 15:04:51 -08:00
Drew DeVault
ee52bc79a3 Shill harder 2018-02-18 15:53:50 -05:00
Drew DeVault
ddc8000384
Merge pull request #1592 from dlrobertson/fix_mem_errors
Fix more leaks
2018-02-11 15:53:13 -05:00
Dan Robertson
15f9c89e84
Fix more leaks
- get_parent_pid: free buffer returned from read_line after use.
 - workspace_for_pid: ensure free_pid_workspace is called when
   pid_workspaces are removed from config->pid_workspaces.
 - cmd_split: return the cmd_results from _do_split, so that the
   parent function may free it.
2018-02-11 20:45:06 +00:00
Drew DeVault
4a76d06f33
Merge pull request #1591 from dlrobertson/fix_mem_errors
Fix memory errors
2018-02-11 11:37:06 -05:00
Dan Robertson
aa15629f17
Fix memory errors
- read_line: OOB write when a line in /proc/modules contains a
   terminating character at size position.
 - handle_view_created: Ensure that the list_t returned by criteria_for
   is free'd after use
 - ipc_event_binding_keyboard/ipc_event_binding: Properly handle
   json_object reference counting and ownership.
2018-02-11 04:57:54 +00:00
Drew DeVault
a571506d0e
Merge pull request #1584 from 4e554c4c/no_more_hups
Handle swaybar status line errors
2018-02-05 18:11:07 -05:00
Calvin Lee
a83bca6db5 Handle swaybar status line errors
The event loop API was redesigned to avoid race conditions as well.
Fixes #1583
2018-02-04 12:31:07 -07:00
Drew DeVault
6ffcb031f9
Merge pull request #1579 from tmccombs/patch-1
Add description of clipboard command to man page
2018-01-29 16:17:04 -05:00
Thayne McCombs
12f6dfec2e
Add description of clipboard command to man page 2018-01-27 01:03:52 -07:00
Drew DeVault
fab88cd96a
Merge pull request #1563 from nearffxx/0.15
Fix out of focus when using mouse to change workspace
2018-01-21 12:18:48 -05:00
Drew DeVault
0ff89cf0d1
Merge pull request #1564 from pvsr/0.15
Calculate positions of empty blocks in swaybar
2018-01-13 09:17:54 -05:00
Peter Rice
efe5a6fc0a Calculate positions of empty blocks in swaybar 2018-01-12 23:12:23 -05:00
Chengyu Zheng
89188cf2b5 Fix out of focus when using mouse to change workspace
by preventing focus to C_OUTPUT when WLC_BUTTON_STATE_RELEASED event occurs.
2018-01-10 17:30:48 +01:00
Drew DeVault
3e3014df4d
Merge pull request #1561 from pvsr/0.15
Handle forward/back mouse buttons in swaybar
2018-01-08 09:18:46 -05:00
Peter Rice
e2d54d36d2 Handle forward/back mouse buttons in swaybar 2018-01-07 19:27:34 -05:00
Drew DeVault
c6d54f364f
Merge pull request #1559 from 4e554c4c/invalid_free
Prevent invalid free of workspace name
2018-01-06 21:55:06 -05:00
Calvin Lee
be39e84875 Prevent invalid free of workspace name
An allocated pointer was incremented before being freed in
`sway/workspace.c` which led to an invalid free. This has been fixed by
keeping the pointer in place and moving the data instead.

Fixes #1548
2018-01-06 19:20:29 -07:00
Drew DeVault
a74d1a1992
Merge pull request #1516 from AGausmann/issue-1507
Patch #1507: Clicking on invisible title bars switches focus
2018-01-05 09:20:19 -05:00
Drew DeVault
1e87c90923
Merge pull request #1431 from 4e554c4c/sni_sucks
Support libappindicator
2017-12-29 14:24:23 -05:00
gnidorah
4d34bc393e Keep tray separate 2017-12-29 12:11:51 -07:00
gnidorah
87a55dfe5c Fix icon updating on secondary outputs 2017-12-29 12:11:51 -07:00
gnidorah
cbd0c49a8c Allow correct item to get icon updates for both kde and gtk implementation 2017-12-29 12:11:51 -07:00
Calvin Lee
13b81f9fb9 Fix get_icon
Property reply functions are now notified if there was an error with the
property instead of silent failure. Also issues in `get_item` were
resolved.
2017-12-29 12:11:51 -07:00
Calvin Lee
87035380e3 Add dbus_get_prop_async utility
This drastically reduces the amount of boilerplate needed to get a
property from a bus object.
2017-12-29 12:11:51 -07:00
Calvin Lee
b9f36716b5 Plug memory dbus_message_iter_get_signature leak 2017-12-29 12:11:51 -07:00
Calvin Lee
5c8dc9cb73 Correct context menu placement if bar is bottom
Originally the context menu would draw at the top of the screen, which
is incorrect.
2017-12-29 12:11:51 -07:00
gnidorah
2f1eb30c38 Reply in case of object path item 2017-12-29 12:11:51 -07:00
Calvin Lee
3137f32711 Allow correct item to get icon updates 2017-12-29 12:11:51 -07:00