aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2017-12-03Merge branch 'wlroots' into feature/wl-shellTony Crisci
2017-12-03basic wl-shellTony Crisci
2017-12-03use "size" instead of "dimensions"Tony Crisci
2017-12-03sway wl_shellTony Crisci
2017-12-03basic get_treeTony Crisci
2017-11-25Handle view destruction properlyDrew DeVault
2017-11-25Fix rendering issues, wire up some xdg listenersDrew DeVault
2017-11-25Arrange windows on desktopDrew DeVault
2017-11-22Remove IPC_GET_PIXELSDrew DeVault
2017-11-22Wire up IPC serverDrew DeVault
2017-11-22Add initial command subsystem (untested)Drew DeVault
Need to spin up the IPC server to test this
2017-11-22Add views to tree and render themDrew DeVault
2017-11-22Add workspace to outputsDrew DeVault
2017-11-23wlr_data_device header updateDominique Martinet
wlroots 6a7560 renamed the header file
2017-11-19Add outputs to the treeDrew DeVault
2017-11-18Move everything to sway/old/Drew DeVault
2017-11-11Initial (awful) pass on xdg shell supportDrew DeVault
2017-11-11Wire up output frame loopDrew DeVault
2017-11-11Initialize outputs from backend and add to treeDrew DeVault
2017-11-11Establish sway input submoduleDrew DeVault
2017-11-11Fix build yml filesDrew DeVault
2017-11-11Fire up the wlroots backend and run the event loopDrew DeVault
2017-11-05Fix init_tray function declarationAdam Mizerski
This fixes compilation failure: error: call to function 'init_tray' without a real prototype
2017-10-08Merge pull request #1263 from nyorain/masterDrew DeVault
Implement get_clipboard ipc message
2017-08-29click_events as documented at https://i3wm.org/docs/i3bar-protocol.htmlakokshar@redhat.com
2017-07-31Allow swaylock indicator size to be configurableCalvin Lee
2017-07-13Don't trust SNI names, fixes #1274Calvin Lee
If an item doesn't have a well-formed name, it will not be added to the tray.
2017-07-12Use WLC v2 pointer interfaceScott Anderson
2017-07-07Rework get_clipboard implementationnyorain
2017-07-07Implement ipc get_clipboardnyorain
2017-07-01Add the 'clipboard' command to set the clipboardnyorain
2017-06-14Merge branch 'master' into server-decorationDrew DeVault
2017-06-13Remove Xembed SupportCalvin Lee
Xembed support is premature in sway and should be postponed. This commit only removes swaybar starting xembedsniproxy, if users would like, they can still start xembedsniproxy manually, however there will be no official support.
2017-06-07Reorganize Tray CodeCalvin Lee
Remove tray code from bar.c and render.c
2017-06-07Implement Tray IconsCalvin Lee
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
2017-04-28Implement KDE's server-side decoration protocolDrew DeVault
2017-04-26Implement no_focusDrew DeVault
Ref #2
2017-04-20Make sway_abort() report locationJerzi Kaminsky
2017-04-16Add resolve_path() to utilsJerzi Kaminsky
2017-04-16Move get_feature_policy to sway/security.cJerzi Kaminsky
2017-04-16Disambiguate get_*_policy() and get_*_policy_mask()Jerzi Kaminsky
2017-04-16Fix location reported by sway_assertJerzi Kaminsky
2017-04-16Fix variadic forwarding in sway_assertJerzi Kaminsky
_sway_assert is a variadic function which tries to delegate to another variadic function. This requires a vprintf-style variant of the delegate. https://stackoverflow.com/a/150616
2017-04-10Merge branch 'master' into pretty-print-swaymsgDrew DeVault
2017-04-05Improve criteria handlingCalvin Lee
This commit changes how commands decide what container to act on. Commands get the current container though `current_container`, a global defined in sway/commands.c. If a criteria is given before a command, then the following command will be run once for every container the criteria matches with a reference to the matching container in 'current_container'. Commands should use this instead of `get_focused_container()` from now on. This commit also fixes a few (minor) mistakes made in implementing marks such as non-escaped arrows in sway(5) and calling the "mark" command "floating" by accident. It also cleans up `criteria.c` in a few places.
2017-04-03Impliment i3-style marksCalvin Lee
This commit adds three commands to sway: `show_marks`, `mark` and `unmark`. Marks are displayed right-aligned in the window border as i3 does. Marks may be found using criteria. Fixes #1007
2017-04-03Add pretty printing to swaymsgDrew DeVault
If stdout is a tty, it will pretty print unless -r (--raw) is given. Sample outputs: ``` ~/s/s/build > ./bin/swaymsg fullscreen toggle Error: Permission denied for fullscreen toggle via IPC ~/s/s/build > ./bin/swaymsg -t get_workspaces Workspace 3:三 Output: DVI-I-1 Layout: splith Workspace 1:一 (off-screen) Output: HDMI-A-1 Layout: splith Workspace 5:五 (focused) Output: HDMI-A-1 Layout: splith ~/s/s/build > ./bin/swaymsg -t get_inputs Input device Metadot - Das Keyboard Das Keyboard Type: Keyboard Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb Input device Wacom Intuos S 2 Pen Type: Tablet tool Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Wacom Intuos S 2 Pad Type: Tablet pad Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Logitech Gaming Mouse G502 Type: Keyboard, Mouse Sway ID: 1133:49277:Logitech_Gaming_Mous ~/s/s/build > ./bin/swaymsg -t get_outputs Output DVI-I-1 Geometry: 1920x1080 @ 3840,0 Scale factor: 1x Workspace: 3:三 Output DVI-D-1 Geometry: 1920x1080 @ 0,0 Scale factor: 1x Workspace: 4:四 Output HDMI-A-1 Geometry: 1920x1080 @ 1920,0 Scale factor: 1x Workspace: 5:五 ```
2017-03-18wl_poitner -> wl_pointerZandr Martin
2017-03-14Removed superfluous include, causing failures if WLC headers aren't ↵Sebastian Noack
installed globally
2017-03-13Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliasesZandr Martin