Dominique Martinet
f5b33cb4b6
fix typos in comments/messages; add shutting down message
7 years ago
Dominique Martinet
28b8ea9f1e
cmd_input: cleanup around current_input_config
...
- Restore old one if we weren't part of a block (should be NULL anyway)
- Check current_input_config got properly allocated
- free temporary current_input_config when done using it
7 years ago
Dominique Martinet
afca73b6fc
apply_input_config: restore previous `current_input_config`
...
This is important for freeing the proper one at end of block
7 years ago
Drew DeVault
91313d3847
Merge pull request #1539 from acrisci/bindings
...
Bindings
7 years ago
Drew DeVault
bc7011db3c
Merge pull request #1543 from emersion/output-config-by-identifier
...
Allow to configure outputs by their identifier
7 years ago
Tony Crisci
b01a53abfb
Merge branch 'wlroots' into bindings
7 years ago
Tony Crisci
8b4eb5d7d1
cleanup bindings
7 years ago
Tony Crisci
50e791cadb
binding release
7 years ago
Calvin Lee
7196f59db0
Consolidate WLR and Sway logging
...
See #1390
7 years ago
emersion
ead3f1e676
Allow to configure outputs by their identifier
7 years ago
Tony Crisci
bd3ca70e3d
fix nitpicks
7 years ago
Tony Crisci
62b7ab3959
overwrite old bindings
7 years ago
Tony Crisci
0b8481f41a
fix keyboard_execute_bindcode
7 years ago
Tony Crisci
8d567cd062
bindcode
7 years ago
Tony Crisci
27cd633b40
run compositor bindings last
7 years ago
Tony Crisci
ccaedf5b15
run binding command
7 years ago
emersion
21c61f1c09
Refactor output command, add output enable
7 years ago
Tony Crisci
d941246d58
match user bindsym
7 years ago
Tony Crisci
daad222337
compositor bindings
7 years ago
Tony Crisci
eea80e7276
keyboard translate keysyms
7 years ago
Tony Crisci
ba69f06695
binding config
7 years ago
Drew DeVault
e1c5adc918
Merge pull request #1535 from martinetd/libinput
...
Libinput config
7 years ago
Tony Crisci
2f7e435c6f
desktop: use wlr-surface commit
7 years ago
Dominique Martinet
f3d8df45fc
seat_configure_pointer: apply libinput config
...
Restore the code that used to be in config.c:apply_input_config() pre-wlroots
7 years ago
Tony Crisci
63f7fb9517
cleanup
7 years ago
Tony Crisci
f35575f71d
handle keymap not found
7 years ago
Tony Crisci
39e7871a85
dont set cursor image on motion
7 years ago
Tony Crisci
5c036a3eac
error on not enough input/seat args for cmd
7 years ago
Tony Crisci
730af5e721
use snprintf to get identifier len
7 years ago
Tony Crisci
9df4a2c7a8
document fallback seat
7 years ago
Tony Crisci
f2985000f3
ipc get_inputs
7 years ago
Tony Crisci
a949d7de5a
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
a87960711a
Merge branch 'feature/input' of github.com:acrisci/sway into feature/input
7 years ago
Tony Crisci
4c436a1a6f
remove assumption of one device per identifier
7 years ago
Tony Crisci
483ede0146
improve xkb command logging
7 years ago
Drew DeVault
eb4f66f785
Merge pull request #1526 from emersion/fractional-output-scale
...
Add support for fractional output scale
7 years ago
emersion
c815d6d1a9
Add support for fractional output scale
7 years ago
emersion
4e2ab53119
Add IPC get_outputs
7 years ago
Tony Crisci
41e71d950a
remove verbose commit logging
7 years ago
Drew DeVault
b0291d126f
Fix compile error
7 years ago
Tony Crisci
a27736adcd
cleanup input-manager
7 years ago
Tony Crisci
88bcd43ebf
seat fallback config
7 years ago
Tony Crisci
e27eff8a29
send keyboard enter on keyboard configuration
7 years ago
Tony Crisci
c41801b75e
set keyboard config at runtime
7 years ago
Tony Crisci
0256cd1473
fix keyboard hotplugging
7 years ago
Tony Crisci
9e4fc7253e
get device id correctly
7 years ago
Tony Crisci
b0ed1ad28d
device add/remove logging
7 years ago
Tony Crisci
24e2406429
strip whitespace for device id
7 years ago
Tony Crisci
b8261ab24b
expect exactly one xkb arg
7 years ago
Tony Crisci
f16aa3c0ad
rename config apply cmds
7 years ago
Tony Crisci
f4a5a0ead4
put seat and input config in their own files
7 years ago
Tony Crisci
2624f55f8d
input and seat command docs
7 years ago
Tony Crisci
b3a0309f26
fix logging issue for new wlroots
7 years ago
Tony Crisci
9fa70ce426
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
030fcb64da
keyboard cleanup
7 years ago
Tony Crisci
9eecbb5d8a
xkb config
7 years ago
Tony Crisci
92fef27eaa
basic configuration
7 years ago
emersion
cba592b3d2
Use strtol instead of atoi in output command
7 years ago
emersion
9254c5a93f
Fail if unknown output subcommand
7 years ago
emersion
4d389f8b65
Replace refresh_rate and position by mode in output command
7 years ago
emersion
ec2fd6e5c0
Handle output remove
7 years ago
emersion
a4619e98c4
Update output containers on output layout change
7 years ago
emersion
d293c42942
Update output container box in event handler
7 years ago
emersion
c7abb77f22
Listen to output layout change
7 years ago
emersion
f3d880b0ec
Add scale and transform events to sway_output
7 years ago
Tony Crisci
c173d30b92
seat configuration
7 years ago
Tony Crisci
538903bc5a
config cleanup
7 years ago
Tony Crisci
163edc5a90
sway input device
7 years ago
emersion
475a0132a9
Use custom modes when output has no mode
7 years ago
Tony Crisci
462a451328
input config
7 years ago
Tony Crisci
9ae906cd37
sway pointer
7 years ago
Tony Crisci
4d449743c5
keyboard remove
7 years ago
Tony Crisci
5e9ee32d63
set focus on new window
7 years ago
Tony Crisci
609f63934a
basic keyboard
7 years ago
Tony Crisci
6339c4f161
remove pointer device
7 years ago
Tony Crisci
21626e8153
seat focus on button press
7 years ago
Tony Crisci
0fdecb4d3a
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
5f644d78fc
button and axis events
7 years ago
Tony Crisci
e69b052a6d
working pointer motion
7 years ago
Tony Crisci
9333a7eb53
working xcursor
7 years ago
Tony Crisci
7c67bea942
sway xcursor manager
7 years ago
emersion
4a14aa9ad9
Remove output from layout
7 years ago
Tony Crisci
d76e745b73
input include directory
7 years ago
Tony Crisci
ec7fc42a00
sway cursor
7 years ago
Tony Crisci
f6f63f60d6
basic input manager and seat
7 years ago
Tony Crisci
21ce20885a
rename input to input-manager
7 years ago
emersion
8764dc26c6
Add new_output_config, update root container size on output hotplug
7 years ago
emersion
41dd291612
Use wlr_output_layout_get_box
7 years ago
emersion
7c5d8c553c
Simplify free calls, use wlr_output_set_scale
7 years ago
emersion
c25ad5e7c4
Merge branch 'wlroots' into output-config
7 years ago
Drew DeVault
ab36a5a4d7
Merge pull request #1501 from emersion/command-include
...
Add include command
7 years ago
Tony Crisci
338a0399f8
input skeleton
7 years ago
Tony Crisci
47f268d8fa
view activate
7 years ago
emersion
68ae989cee
Init, merge output config params, use wlr_output_layout
7 years ago
emersion
aaae59026f
Add output config
7 years ago
emersion
9aeda82477
Add include command
7 years ago
Drew DeVault
3fe64482bb
Merge pull request #1498 from emersion/config
...
Add minimal config subsystem
7 years ago
Tony Crisci
8bdf3b1b02
view set position
7 years ago
emersion
90f7f1a0e6
Add minimal config subsystem
7 years ago
emersion
514c819ff9
Add exec and exec_always commands
7 years ago
Tony Crisci
0896b68675
Merge branch 'wlroots' into feature/xwayland
7 years ago
Tony Crisci
1870f116ba
xwayland shell
7 years ago
Tony Crisci
9afcfd44c4
wl-shell: class instead of app_id
7 years ago
Tony Crisci
6a694853e5
wl-shell: dimensions to size
7 years ago
Tony Crisci
823f6ee122
Merge branch 'wlroots' into feature/wl-shell
7 years ago
Tony Crisci
8239067da4
basic wl-shell
7 years ago
Tony Crisci
802e7392f8
use "size" instead of "dimensions"
7 years ago
Tony Crisci
59db38ce17
sway wl_shell
7 years ago
Drew DeVault
b6f4120afc
Merge pull request #1489 from acrisci/feature/basic-get-tree
...
basic get_tree
7 years ago
Tony Crisci
9220225f1d
remove unused timespec_to_msec
7 years ago
Tony Crisci
421f49fe03
basic get_tree
7 years ago
Tony Crisci
7152075681
log env after ipc init
7 years ago
Drew DeVault
1cfebe827a
Merge pull request #1479 from acrisci/feature/meson-build
...
meson build
7 years ago
Tony Crisci
31e44c01b4
send callbacks with send_frame_done
7 years ago
Tony Crisci
517af37cc9
remove relevant CMakeLists.txt
7 years ago
Tony Crisci
2f3633433e
add meson install files
7 years ago
Tony Crisci
cc310cffb0
meson: common static library
7 years ago
Tony Crisci
88cc7e3178
use meson subdirectories
7 years ago
Drew DeVault
974d510585
Merge pull request #1477 from acrisci/bug/set-mode
...
set mode on output
7 years ago
Tony Crisci
9696f50eba
remove nvidia support claim
7 years ago
Tony Crisci
6993a76232
set mode on output
7 years ago
Drew DeVault
8caabe59c2
Handle view destruction properly
7 years ago
Drew DeVault
a57d462926
Fix rendering issues, wire up some xdg listeners
7 years ago
Drew DeVault
ce1936bc65
Arrange windows on desktop
7 years ago
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
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
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
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
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
Mykyta Holubakha
22906f7fce
handlers: preserve parent pointer value
7 years ago
Drew DeVault
b16dbf6d64
Fix crash closing fullscreen windows in container
7 years ago
David Hurst
ee15068a8f
Add scale to merge_output_config
7 years ago
Drew DeVault
2216e830be
Merge pull request #1398 from johalun/freebsd-fix
...
Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
madblobfish
93fe8ae705
Various manpage edits
...
Fix some spelling mistakes, missing punctuation and made some paragraphs more clear.
7 years ago
Johannes Lundberg
5a63f0f57b
Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
David Zero
03f8a8ae05
Update man 5 page
...
Changes 'orientation' to 'default_orientation' to match commands.c
7 years ago
Drew DeVault
a82aa2a20d
Fix use-after free introduced by cbe7364
7 years ago
Drew DeVault
6271abd644
Fix #1291
7 years ago