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
Drew DeVault
eb7b920303
Document new criteria
...
Via #1387
7 years ago
Drew DeVault
a6d5cad309
Document swaylock -f, scratchpad show
7 years ago
Drew DeVault
6d83a59b46
Merge pull request #1263 from nyorain/master
...
Implement get_clipboard ipc message
7 years ago
Drew DeVault
5ecedc7199
Remove destroyed views from scratchpad
...
Fixes #1363
7 years ago
Drew DeVault
46e5aeac50
Fix crash on swaygrab with scratchpad populated
...
Fixes #1217
7 years ago
lbonn
61005c3bda
ipc/window-event: fill "container" on close events
...
Also use the recursive description to include children as well
Careful: send the event before deleting the parent
7 years ago
lbonn
b2d4caf6c3
commands: fail when criteria match nothing
...
For whatever command, this probably was not intended by the user
7 years ago
lbonn
514eed7e4b
commands: allow criterion values to be unquoted
...
Sometimes it doesn't really make sense to quote them (numeric values for
example)
In that case, the value is parsed until the next space or the end of the
whole criteria expression
7 years ago
lbonn
d879e5b15d
commands: implement 3 missing criteria from i3
...
* con_id
* floating
* tiling
7 years ago
lbonn
fd7c4bacbd
ipc/tree: populate `focus` fields
...
Ids of children, by order of focus
7 years ago
lbonn
661625b29e
ipc/tree: output mandatory fields for all nodes
...
Still missing: focus
7 years ago
lbonn
e7df811f10
Security config: skip hidden files
...
Also: fix a small memory leak
7 years ago
lbonn
a7e1a0eea9
Make `workspace_next_name` work with spaces
...
`workspace_next_name` parses workspace commands to find the default
workspace names. It handled " " as a separator, which prevents the use
of workspace names with spaces.
7 years ago
lbonn
6197fff0b4
Fix move to named workspaces
...
The command parsing did not handle workspaces with spaces in their name
(like it's done in `cmd_workspace`)
7 years ago
Drew DeVault
c850d433a7
Merge pull request #1383 from kasicka/macarena
...
Fix github links in doc
7 years ago
Zuzana Svetlikova
ef0c51b2f3
Fix github links in doc
7 years ago
Calvin Lee
419a1087ac
Clean up output command
...
Plugs memory leaks during failure of the output command and in other
circumstances and fixes `bg` option.
Fixes #1381
7 years ago
Jonas Karlsson
05aeccfca0
Fix issue #1287
...
All variables without a $ prefix lost their last character due to off by one error
7 years ago
azarus
5987f19eb2
Check for Raspberry Pi
7 years ago
Hummer12007
6f355c6ff7
Raise max ipc message size limit to 256 MB
7 years ago
Drew DeVault
3553fa0a74
One more
7 years ago
Drew DeVault
03af90d302
Clean up fallthrough issues
7 years ago
Ilya Lukyanov
1c5a96c112
Implement nonblocking IO in IPC server
...
Added client write buffer and handler for writable status on client
socket.
7 years ago
Calvin Lee
3c93e2cf1b
Prevent race condition in the kill command
...
When killing views with `close_views` a use-after-free can sometimes
occur because parent views are killed before their children. This commit
makes `container_map` run functions on child containers before their
parent, fixing the race.
Fixes #1302
7 years ago
Drew DeVault
14eeeed7e0
Remove test clipboard code
7 years ago
Scott Anderson
c29e5bbde8
Use WLC v2 pointer interface
7 years ago
nyorain
1cca551c6f
Add get_clipbard ipc errors; Adapt swaymsg
...
Also increase the get_clipboard timeout to 30 secs
7 years ago
nyorain
20888fbb5e
Close fd in clipboard request
7 years ago
nyorain
727215c907
Add timeout; Fix receive loop & style issues
7 years ago
Johannes Lundberg
a3c07273ba
Add secucity config for FreeBSD.
7 years ago
Tobias Blass
566863ba5d
fix use-after-free bug
7 years ago
nyorain
f0463dab32
Signal base64 in clipboard type; Reimplement loop
7 years ago
nyorain
1e894c1166
Handle x11 text atoms in get_clipboard ipc
7 years ago
nyorain
c0f2acce4e
Rework get_clipboard implementation
7 years ago
nyorain
42547cafb6
Fix/Simplify get_clipboard ipc-server impl
8 years ago
nyorain
02c75ebe37
Implement ipc get_clipboard
8 years ago
Drew DeVault
23a1e94402
Make asciidoc (and man pages) optional
...
And remove it from the build
8 years ago
Mykyta Holubakha
7d8a84b587
Do not add empty policies
...
Policy allocation failure is non-fatal
8 years ago
Mykyta Holubakha
4f905ecb96
permit.c: check for NULL pointer dereference
8 years ago
nyorain
60fa626116
Add the 'clipboard' command to set the clipboard
8 years ago
Drew DeVault
298f56353e
Merge branch 'master' into server-decoration
8 years ago
Drew DeVault
76fcfa1e7f
Force focus on unmanaged views during pointer test
8 years ago
Drew DeVault
d158e18308
Fix Firefox address bar thing
...
And probably some other stuff too
8 years ago
Calvin Lee
843ad38b3c
Implement Tray Icons
...
This commit implements the StatusNotifierItem protocol, and enables
swaybar to show tray icons. It also uses `xembedsniproxy` in order to
communicate with xembed applications.
The tray is completely optional, and can be disabled on compile time
with the `enable-tray` option. Or on runtime with the bar config option
`tray_output none`.
Overview of changes:
In swaybar very little is changed outside the tray subfolder except
that all events are now polled in `event_loop.c`, this creates no
functional difference.
Six bar configuration options were added, these are detailed in
sway-bar(5)
The tray subfolder is where all protocol implementation takes place and
is organised as follows:
tray/sni_watcher.c:
This file contains the StatusNotifierWatcher. It keeps track of
items and hosts and reports when they come or go.
tray/tray.c
This file contains the StatusNotifierHost. It keeps track of
sway's version of the items and represents the tray itself.
tray/sni.c
This file contains the StatusNotifierItem struct and all
communication with individual items.
tray/icon.c
This file implements the icon theme protocol. It allows for
finding icons by name, rather than by pixmap.
tray/dbus.c
This file allows for asynchronous DBus communication.
See #986 #343
8 years ago
johalun
7fef283044
FreeBSD fixes
...
Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic).
8 years ago
Mykyta Holubakha
93cf21fb9a
Terminate when both suid bit and filecaps are set
8 years ago
Mykyta Holubakha
f736198c31
Initialise logging earlier
8 years ago
wdbw
264a9ee9d8
Add missing send-event mode to sway-input(5)
...
Also, fix a small typo.
8 years ago
Josip Janzic
400998d6d2
Add mouse button bindings
...
Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle
8 years ago
Zandr Martin
51ce752ebf
document font command
8 years ago
Zandr Martin
f65a88e68d
prevent crash when `layout auto` is missing args
8 years ago
Drew DeVault
816ceddcbd
Set child border to background if not specified
8 years ago