Commit graph

3228 commits

Author SHA1 Message Date
Geoff Greer
ad6aa21c43 swaylock: Securely zero-out password.
- Replace char* with static array. Any chars > 1024 will be discarded.
- mlock() password buffer so it can't be written to swap.
- Clear password buffer after auth succeeds or fails.

This is basically the same treatment I gave the 0.15 branch in https://github.com/swaywm/sway/pull/1519
2018-04-12 17:49:21 -07:00
Drew DeVault
200d0360ea Merge branch 'master' of github.com:swaywm/sway 2018-04-12 20:22:59 -04:00
Drew DeVault
f0ddf6d74c Add README.md 2018-04-12 20:22:27 -04:00
Drew DeVault
cd1b32453a Merge branch 'wlroots' 2018-04-12 20:19:54 -04:00
Drew DeVault
5785170421 Fix separator height calculation
Fixes #1796

Also rearranged this code to more closely mirror the similar code above
so future discrepancies are easier to spot.
2018-04-10 22:18:54 -04:00
emersion
84243a708e
Merge pull request #1792 from RyanDwyer/fix-swaybar-status-blocks
Fix swaybar not showing all status blocks
2018-04-10 18:38:43 -04:00
Ryan Dwyer
7dfc0409eb Check height in surface local coordinates and rename some variables. 2018-04-11 08:34:21 +10:00
emersion
96118be241
Merge pull request #1793 from PyroLagus/input-simulation
Cursor input simulation with sway commands.
2018-04-10 18:17:51 -04:00
Drew DeVault
23df5b637e
Merge pull request #1794 from thejan2009/swaybar-ipc-mode-fix
fix swaybar ipc handling
2018-04-10 16:33:52 -04:00
db
39e3319394 fix swaybar ipc handling
Swap return with break in IPC_EVENT_WORKSPACE case to free resp.

Change default return value to true. This causes IPC_EVENT_MODE changes to be
rendered instantly.
2018-04-10 22:01:22 +02:00
Danny Bautista
c53b2edd41 Add documentation for seat cursor command. 2018-04-10 15:44:02 -04:00
Danny Bautista
c355d680e9 Clean up cursor simulation code. 2018-04-10 15:40:27 -04:00
Danny Bautista
1edb2bd892 Implement cursor event simulation with sway commands. 2018-04-10 12:40:50 -04:00
emersion
4240ede065
Merge pull request #1791 from RyanDwyer/fix-swaybar-output-config
Fix swaybar output config
2018-04-10 10:48:03 -04:00
Ryan Dwyer
1a0d367f22 Fix swaybar not showing all status blocks. 2018-04-10 16:08:08 +10:00
Ryan Dwyer
c38de16722 Fix swaybar output config. 2018-04-10 13:38:15 +10:00
emersion
48fca1c7ec
Merge pull request #1788 from thejan2009/move_auto_back_and_forth
Add workspace_auto_back_and_forth for move cmd
2018-04-09 17:40:55 -04:00
db
63b2543749 Add workspace_auto_back_and_forth for move cmd 2018-04-09 21:34:56 +02:00
emersion
78b6ac6aa1
Merge pull request #1783 from RyanDwyer/swaybar-buffer-fixes
Fix buffer issues in swaybar status line
2018-04-09 08:10:51 -04:00
Drew DeVault
ac3be29517 Fix some more bugs 2018-04-09 08:07:54 -04:00
Ryan Dwyer
bac65078a2 Fix buffer issues in swaybar status line. 2018-04-09 17:25:39 +10:00
Drew DeVault
07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
Focus inactive fixes
2018-04-08 16:05:03 -04:00
Tony Crisci
e7771c507a 80char 2018-04-08 15:32:19 -04:00
emersion
4493761716
Merge pull request #1781 from swaywm/map-to-output
Add input "identifier" map_to_output "identifier"
2018-04-08 15:11:31 -04:00
Drew DeVault
0e3ddf255e Add input "identifier" map_to_output "identifier" 2018-04-08 15:09:12 -04:00
Drew DeVault
69239f1d30
Merge pull request #1782 from coderkun/readme-de
Fix some typographic characters in German README
2018-04-08 15:01:31 -04:00
Tony Crisci
8ecd89b7ef address feedback 2018-04-08 14:22:20 -04:00
coderkun
94d90f8751 Fix some typographic characters in German README 2018-04-08 20:14:31 +02:00
Drew DeVault
3679323ce5
Merge pull request #1780 from emersion/fix-swaybar-hidpi-rounding
Fix swaybar HiDPI rounding issue
2018-04-08 13:52:40 -04:00
emersion
16e363e3e2
Fix swaybar HiDPI rounding issue 2018-04-08 13:49:11 -04:00
Drew DeVault
26e5974496
Merge pull request #1778 from swaywm/fix-cursor
Fix cursor motion issues
2018-04-08 13:20:14 -04:00
Tony Crisci
ae78f6fb93 Merge branch 'wlroots' into focus-inactive-fixes 2018-04-08 12:47:56 -04:00
Drew DeVault
9c5a88a7bd Fix cursor motion issues
Use only one canonical cursor x/y position and send cursor enter when
mouse is warped.

Tangentally related to #1714
2018-04-08 12:42:56 -04:00
Tony Crisci
70b33342fe criteria match containers 2018-04-08 12:13:09 -04:00
Drew DeVault
ebabcc8b44
Merge pull request #1777 from emersion/unmanaged-cursor-input
Use wlr_surface_point_accepts_input for unmanaged surfaces
2018-04-08 11:52:47 -04:00
emersion
5ebc99253a
Use wlr_surface_point_accepts_input for unmanaged surfaces 2018-04-08 11:43:18 -04:00
Tony Crisci
46280460a5 push all parents of focused container in focus stack 2018-04-08 11:34:38 -04:00
Drew DeVault
efff7c4225
Merge pull request #1776 from emersion/wlroots-remove-backend-egl
Update for wlroots#850
2018-04-08 11:34:02 -04:00
emersion
9570e37016
Update for wlroots#850 2018-04-08 11:19:14 -04:00
Drew DeVault
8763957344
Merge pull request #1774 from swaywm/tablet-tool
Implement tablet tool support
2018-04-08 11:16:56 -04:00
Drew DeVault
e10dc77fc6
Merge pull request #1775 from thejan2009/workspace_auto_back_and_forth
Add workspace_auto_back_and_forth command
2018-04-08 10:57:02 -04:00
Drew DeVault
9114d3b84c Implement tablet tool support 2018-04-08 10:48:13 -04:00
db
042b80b9fa Add workspace_auto_back_and_forth command
This is the only missing piece - other code regarding this functionality has
already been ported from pre-wlroots source.
2018-04-08 16:44:59 +02:00
Drew DeVault
4ba6545c65 Fixup for #1773 2018-04-08 10:04:23 -04:00
Drew DeVault
bd236b6587
Merge pull request #1773 from thejan2009/issue/swaybar-mouse
Use full ws->name in swaybar hotspot callback
2018-04-08 10:03:22 -04:00
db
257a831c72 Use full ws->name in swaybar hotspot callback
If strip_workspace_numbers option is enabled, we must preserve the right
workspace name for hotspot.
2018-04-08 15:48:59 +02:00
Drew DeVault
2e41804b54
Merge pull request #1772 from bpinto/feature/improve-dependency-check
Improve dependency check for libinput
2018-04-07 20:38:22 -04:00
Bruno Pinto
b24b319bdf
Improve dependency checks 2018-04-08 00:34:12 +01:00
Tony Crisci
9db859585e container_create_notify on split 2018-04-07 18:01:18 -04:00
Tony Crisci
0ff22c1755 implement ipc focus stack 2018-04-07 16:23:53 -04:00