Drew DeVault
b379b40071
Invoke command handlers once parsed
7 years ago
Drew DeVault
7753a0ec75
Wire up IPC server
7 years ago
Drew DeVault
d7d21bb0f8
Add initial command subsystem (untested)
...
Need to spin up the IPC server to test this
7 years ago
Drew DeVault
4ca1e77fdb
Add views to tree and render them
7 years ago
Drew DeVault
aeda2e077f
Add workspace to outputs
7 years ago
Drew DeVault
68036018c8
Merge pull request #1472 from martinetd/wlroots
...
Fix build with recent wlroots
7 years ago
Dominique Martinet
977c1f6a30
common/util: replace WLC_BIT_MOD_* by WLR_MODIFIER_*
...
This removes the last wlc/wlc.h include actually in use
7 years ago
Dominique Martinet
6c1cd82e32
xdg_shell_v6: add _POSIX_C_SOURCE define for struct timespec
...
wlroots 1e0e73 added struct timespec to wlr_seat.h, so we need to
define a _POSIX_C_SOURCE large enough whenever we include wlr_seat.h
7 years ago
Dominique Martinet
b8f8de27b8
wlr_data_device header update
...
wlroots 6a7560 renamed the header file
7 years ago
Drew DeVault
c301b14a42
Remove wlc dependency
7 years ago
Drew DeVault
db4fb1c85c
Add outputs to the tree
7 years ago
Drew DeVault
733993a651
Move everything to sway/old/
7 years ago
Drew DeVault
0c8491f7d0
Initial (awful) pass on xdg shell support
7 years ago
Drew DeVault
1efd5f819f
Wire up output frame loop
7 years ago
Drew DeVault
7eafcc75f6
Initialize outputs from backend and add to tree
7 years ago
Drew DeVault
0ba6554c4f
Move sway's internal tree code to sway/tree/
7 years ago
Drew DeVault
0f45fad18c
Establish sway input submodule
7 years ago
Drew DeVault
7414d92327
Also need meson
7 years ago
Drew DeVault
c3457de28a
Fix build yml files
7 years ago
Drew DeVault
7c448b4081
Fire up the wlroots backend and run the event loop
7 years ago
Drew DeVault
6edc32848f
Find and link to wlroots
7 years ago
Drew DeVault
7c3b0ffc32
Merge pull request #1455 from etam/dbus_dependency
...
Update dbus dependency
7 years ago
Adam Mizerski
e677888b62
Add dbus info to readme
7 years ago
Drew DeVault
c4d4af7913
Merge pull request #1454 from etam/fix_init_tray
...
Fix init_tray function declaration
7 years ago
Adam Mizerski
4623900898
Dbus must be at least version 1.10
...
Function dbus_message_iter_get_element_count is available since 1.10.
7 years ago
Adam Mizerski
501c788f5f
Fix init_tray function declaration
...
This fixes compilation failure:
error: call to function 'init_tray' without a real prototype
7 years ago
Drew DeVault
c352cae55e
Merge pull request #1443 from gferon/gferon-readme-edit
...
Update README.md
7 years ago
Gabriel Féron
4ab66bbbc3
Update README.md
7 years ago
Drew DeVault
42cfe1cf34
Merge pull request #1446 from kon14/patch-1
...
Update README.el.md
7 years ago
Drew DeVault
11e79f639a
Merge pull request #1445 from yuilib/update-readme-ja
...
Update README.ja.md
7 years ago
Konstantinos Feretos
7f7e94bf59
Update README.el.md
7 years ago
yuilib
85159b03b7
Update README.ja.md
7 years ago
Drew DeVault
ccf7e5ad7e
Merge pull request #1441 from ptMuta/master
...
Removed trailing comma from swaybar click event json
7 years ago
Joona Romppanen
675e4b7de7
Removed trailing comma from swaybar click event json
7 years ago
Drew DeVault
c57f68566a
Merge pull request #1436 from dlrobertson/add_asan_build
...
Add Address Sanitized build type
7 years ago
Drew DeVault
ee6ed89e36
Merge pull request #1438 from mariusor/explicit_json-c_version
...
Explicitly setting the version of json-c required
7 years ago
Marius Orcsik
69e9b1386f
Explicitly setting the version of json-c required
...
to 0.12.1. This is needed because the development
version breaks the existing API of json_object_array_length()
by moving the return from int to size_t.
This would fix #1355
7 years ago
Dan Robertson
3d209be3d6
Add Address Sanitized build type
...
- Add -DCMAKE_BUILD_TYPE=ASAN to possible builds
7 years ago
Drew DeVault
d75ee3f9ce
Merge pull request #1430 from dlrobertson/nvidia_drm
...
nvidia: Validate the nvidia_drm module options
7 years ago
Dan Robertson
88d042ec49
nvidia: Validate the nvidia_drm module options
...
When the proprietary nvidia driver is used, ensure the modeset option is
set instead of checking /proc/cmdline for nvidia-drm.modeset=1.
7 years ago
Drew DeVault
5551bf92a9
Merge pull request #1427 from ranisalt/patch-1
...
Use add_compile_options instead of interpolation
7 years ago
Ranieri Althoff
0d2baa1c89
Use add_compile_options instead of interpolation
...
Uses CMake's `add_compile_options` directive instead of interpolating `CMAKE_C_FLAGS` for adding compilation flags.
7 years ago
Drew DeVault
b31b11f139
Merge pull request #1425 from ggreer/grab-error
...
swaygrab: Add some error handling.
7 years ago
Geoff Greer
29f27c7cdc
swaygrab: Add some error handling.
...
- If IPC response contains `success: false`, abort and print error message.
- If tree has no nodes, abort with error msg instead of segfaulting.
7 years ago
Drew DeVault
d10e723183
Merge pull request #1424 from ggreer/swaygrab-json
...
swaygrab: Prevent segfault if IPC response can't be parsed.
7 years ago
Geoff Greer
98875443ea
swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC response can't be parsed.
...
The default max nesting depth of json-c is 32, which can cause some valid trees to fail to be parsed, so increase that. Also instead of segfaulting, just abort and print the error returned by json-c.
7 years ago
Drew DeVault
66d3777c14
Merge pull request #1419 from 4e554c4c/better_logs
...
Print log level even if STDERR is not a tty
7 years ago
Calvin Lee
016261fd64
Print log level even if STDERR is not a tty
...
Makes reading debug logs much easier, debug lines will start with `E`,
info lines with `I` and error lines with `E`.
7 years ago
Drew DeVault
b930003008
Remove broken link to Spanish translation
...
Fixes #1417
7 years ago
Drew DeVault
4ded091491
Merge pull request #1412 from Hummer12007/rcfix
...
handlers: preserve parent pointer value
7 years ago