Commit graph

2822 commits

Author SHA1 Message Date
Tony Crisci 6993a76232 set mode on output 2017-11-28 04:46:22 -05:00
Drew DeVault 8caabe59c2 Handle view destruction properly 2017-11-25 16:30:15 -05:00
Drew DeVault a57d462926 Fix rendering issues, wire up some xdg listeners 2017-11-25 15:49:10 -05:00
Drew DeVault ce1936bc65 Arrange windows on desktop 2017-11-25 11:19:25 -05:00
Drew DeVault 289ba64bde Remove IPC_GET_PIXELS 2017-11-22 21:47:22 -05:00
Drew DeVault b379b40071 Invoke command handlers once parsed 2017-11-22 21:39:35 -05:00
Drew DeVault 7753a0ec75 Wire up IPC server 2017-11-22 21:37:07 -05:00
Drew DeVault d7d21bb0f8 Add initial command subsystem (untested)
Need to spin up the IPC server to test this
2017-11-22 21:20:41 -05:00
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