Commit Graph

2564 Commits

Author SHA1 Message Date
Drew DeVault 4ca1e77fdb Add views to tree and render them 2017-11-22 21:06:08 -05:00
Drew DeVault aeda2e077f Add workspace to outputs 2017-11-22 20:39:50 -05:00
Drew DeVault 68036018c8
Merge pull request #1472 from martinetd/wlroots
Fix build with recent wlroots
2017-11-22 18:52:26 -05:00
Dominique Martinet 977c1f6a30 common/util: replace WLC_BIT_MOD_* by WLR_MODIFIER_*
This removes the last wlc/wlc.h include actually in use
2017-11-23 00:23:37 +01:00
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
2017-11-23 00:19:11 +01:00
Dominique Martinet b8f8de27b8 wlr_data_device header update
wlroots 6a7560 renamed the header file
2017-11-23 00:19:11 +01:00
Drew DeVault c301b14a42 Remove wlc dependency 2017-11-19 17:05:25 -05:00
Drew DeVault db4fb1c85c Add outputs to the tree 2017-11-19 17:04:28 -05:00
Drew DeVault 733993a651 Move everything to sway/old/ 2017-11-18 11:22:02 -05:00
Drew DeVault 0c8491f7d0 Initial (awful) pass on xdg shell support 2017-11-11 18:06:50 -05:00
Drew DeVault 1efd5f819f Wire up output frame loop 2017-11-11 14:41:18 -05:00
Drew DeVault 7eafcc75f6 Initialize outputs from backend and add to tree 2017-11-11 11:58:43 -05:00
Drew DeVault 0ba6554c4f Move sway's internal tree code to sway/tree/ 2017-11-11 11:00:18 -05:00
Drew DeVault 0f45fad18c Establish sway input submodule 2017-11-11 09:09:17 -05:00
Drew DeVault 7414d92327 Also need meson 2017-11-11 09:09:17 -05:00
Drew DeVault c3457de28a Fix build yml files 2017-11-11 09:09:17 -05:00
Drew DeVault 7c448b4081 Fire up the wlroots backend and run the event loop 2017-11-11 09:08:50 -05:00
Drew DeVault 6edc32848f Find and link to wlroots 2017-11-11 09:08:50 -05:00
Drew DeVault 7c3b0ffc32
Merge pull request #1455 from etam/dbus_dependency
Update dbus dependency
2017-11-05 14:41:14 -05:00
Adam Mizerski e677888b62 Add dbus info to readme 2017-11-05 20:24:57 +01:00
Drew DeVault c4d4af7913
Merge pull request #1454 from etam/fix_init_tray
Fix init_tray function declaration
2017-11-05 14:23:47 -05:00
Adam Mizerski 4623900898 Dbus must be at least version 1.10
Function dbus_message_iter_get_element_count is available since 1.10.
2017-11-05 20:19:38 +01:00
Adam Mizerski 501c788f5f Fix init_tray function declaration
This fixes compilation failure:
error: call to function 'init_tray' without a real prototype
2017-11-05 20:09:16 +01:00
Drew DeVault c352cae55e
Merge pull request #1443 from gferon/gferon-readme-edit
Update README.md
2017-11-02 12:38:18 -04:00
Gabriel Féron 4ab66bbbc3 Update README.md 2017-11-02 17:35:57 +01:00
Drew DeVault 42cfe1cf34
Merge pull request #1446 from kon14/patch-1
Update README.el.md
2017-11-01 08:42:41 -04:00
Drew DeVault 11e79f639a
Merge pull request #1445 from yuilib/update-readme-ja
Update README.ja.md
2017-11-01 08:42:30 -04:00
Konstantinos Feretos 7f7e94bf59
Update README.el.md 2017-11-01 12:08:23 +02:00
yuilib 85159b03b7 Update README.ja.md 2017-11-01 16:58:34 +09:00
Drew DeVault ccf7e5ad7e
Merge pull request #1441 from ptMuta/master
Removed trailing comma from swaybar click event json
2017-10-28 10:45:39 -04:00
Joona Romppanen 675e4b7de7 Removed trailing comma from swaybar click event json 2017-10-28 17:35:48 +03:00
Drew DeVault c57f68566a Merge pull request #1436 from dlrobertson/add_asan_build
Add Address Sanitized build type
2017-10-27 08:46:29 -04:00
Drew DeVault ee6ed89e36 Merge pull request #1438 from mariusor/explicit_json-c_version
Explicitly setting the version of json-c required
2017-10-27 08:18:00 -04:00
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
2017-10-27 12:17:02 +02:00
Dan Robertson 3d209be3d6
Add Address Sanitized build type
- Add -DCMAKE_BUILD_TYPE=ASAN to possible builds
2017-10-27 03:25:30 +00:00
Drew DeVault d75ee3f9ce Merge pull request #1430 from dlrobertson/nvidia_drm
nvidia: Validate the nvidia_drm module options
2017-10-24 20:29:06 -04:00
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.
2017-10-24 22:35:31 +00:00
Drew DeVault 5551bf92a9 Merge pull request #1427 from ranisalt/patch-1
Use add_compile_options instead of interpolation
2017-10-23 21:48:31 -04:00
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.
2017-10-24 01:43:11 +00:00
Drew DeVault b31b11f139 Merge pull request #1425 from ggreer/grab-error
swaygrab: Add some error handling.
2017-10-22 21:15:43 -04:00
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.
2017-10-22 18:09:36 -07:00
Drew DeVault d10e723183 Merge pull request #1424 from ggreer/swaygrab-json
swaygrab: Prevent segfault if IPC response can't be parsed.
2017-10-22 19:50:43 -04:00
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.
2017-10-22 14:09:50 -07:00
Drew DeVault 66d3777c14 Merge pull request #1419 from 4e554c4c/better_logs
Print log level even if STDERR is not a tty
2017-10-20 18:35:32 -04:00
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`.
2017-10-20 15:12:28 -06:00
Drew DeVault b930003008 Remove broken link to Spanish translation
Fixes #1417
2017-10-20 13:07:59 -04:00
Drew DeVault 4ded091491 Merge pull request #1412 from Hummer12007/rcfix
handlers: preserve parent pointer value
2017-10-17 16:56:06 -04:00
Mykyta Holubakha 22906f7fce
handlers: preserve parent pointer value 2017-10-17 23:45:57 +03:00
Drew DeVault a996ee485d Add feature freeze notice to readme 2017-10-16 21:12:18 -04:00
Drew DeVault b16dbf6d64 Fix crash closing fullscreen windows in container 2017-10-16 21:07:55 -04:00