aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-20extensions: Track panels by wl_resource, position per panel.S. Christoffer Eliesen
Track each panel separately via its wl_resource. `set_panel_position` might be called before `set_panel`, so reuse panel config. Place the position in panel_config so that each panel has its own position.
2015-12-20extensions: panel_config->resource => wl_surface_res.S. Christoffer Eliesen
Change the name to something less ambigious.
2015-12-19Merge pull request #366 from mikkeloscar/fix-swaybar-high-cpuDrew DeVault
swaybar: use select instead of busyloop
2015-12-19swaybar: use select instead of busyloopMikkel Oscar Lyderik
Use of busyloop caused high cpu usage for sway because swaybar had to be redrawn all the time. By using select instead the bar only has to be redrawn when the status_command changes (i.e. every second) or when the workspaces are updated. Fix #345
2015-12-19Merge pull request #364 from cyberhuman/masterDrew DeVault
Update readme dependency list and build instructions
2015-12-19Update readme dependency listRaman Varabets
2015-12-18Merge pull request #362 from crondog/masterDrew DeVault
swaybar: use position from config
2015-12-19swaybar: use position from configcrondog
2015-12-18Just bail if ws_json is fucked upDrew DeVault
2015-12-18Wow that was stupidDrew DeVault
2015-12-18I'm still getting crashes without this lineDrew DeVault
2015-12-18Implement compositor support for swaylockDrew DeVault
This makes swaylock more or less work.
2015-12-18Fix lock extension setup in compositorDrew DeVault
2015-12-18Merge pull request #361 from mikkeloscar/i3bar-commandDrew DeVault
Add support for running swaybar_command
2015-12-19Add support for running swaybar_commandMikkel Oscar Lyderik
2015-12-18Fix default workspace name generationDrew DeVault
This fixes the issue where workspace 10 ends up being the default.
2015-12-18Merge pull request #360 from sce/fix_arrange_windowsDrew DeVault
Fix arrange windows
2015-12-18Drop sway-xorg.desktopDrew DeVault
2015-12-18Merge pull request #359 from mikkeloscar/i3bar-commandDrew DeVault
Add bar option: swaybar_command <command>
2015-12-19Add bar option: swaybar_command <command>Mikkel Oscar Lyderik
2015-12-18Merge pull request #358 from mikkeloscar/reload-swaybg-swaybarDrew DeVault
Reload swaybar/swaybg on config reload.
2015-12-18layout: arrange_windows: Partially fix swaybar irregularties.S. Christoffer Eliesen
2015-12-18layout: arrange_windows: Fix/better debug output.S. Christoffer Eliesen
2015-12-18Terminate children when freeing output containerMikkel Oscar Lyderik
2015-12-18Reload swaybar/swaybg on config reload.Mikkel Oscar Lyderik
This works by tracking the pids of the child processes in the related output container and terminating the processes and spawning new ones on a config reload. Should solve: #347
2015-12-18Merge pull request #357 from sce/fix_swaybar_crashesDrew DeVault
swaybar: ipc_update_ws: Fix memory corruption.
2015-12-18swaybar: ipc_update_ws: Fix memory corruption.S. Christoffer Eliesen
json_object_object_get_ex does not require json_object_put according to docs, this should fix the random crashes.
2015-12-18Fix possible segfault in swaybarDrew DeVault
2015-12-18Add shims for swaylock on compositorDrew DeVault
2015-12-18Merge pull request #356 from sce/output_vs_workspace_sizeDrew DeVault
layout: Keep output at the correct size, workspace can be smaller.
2015-12-18layout: Keep output at the correct size, workspace can be smaller.S. Christoffer Eliesen
If the output is not at the correct size then that info must be queried from wlc. The output size is used by e.g. seamless mouse to detect output edges. With this patch the output size is now correct and the workspace size is adjusted according to any panels. Without this patch seamless mouse would fail to detect outputs above/below each other if there was a panel in between because the output would offically end where the panel started, not at the actual screen edge.
2015-12-18Merge pull request #355 from sce/fix_moving_last_wsDrew DeVault
focus: Fix moving last workspace.
2015-12-18Merge pull request #354 from sce/fix_swaybar_for_fedoraDrew DeVault
swaybar: Remove stropts.h, fixes build for fedora.
2015-12-18focus: Fix moving last workspace.S. Christoffer Eliesen
If there's only one workspace on an output and it's moved to a different output then active workspace will be NULL.
2015-12-18swaybar: Remove stropts.h, fixes build for fedora.S. Christoffer Eliesen
Turns out that fedora killed off stropts.h some time ago [1] and removing it seems to work just fine. (Tested on Fedora 23) [1] https://bugzilla.redhat.com/show_bug.cgi?id=439403
2015-12-17Merge pull request #353 from mikkeloscar/swaybar-close-statuscmdDrew DeVault
swaybar: terminate status_command process
2015-12-18swaybar: terminate status_command processMikkel Oscar Lyderik
Fix #346 Send SIGTERM to the `status_command` process before swaybar exits.
2015-12-17Merge pull request #352 from progandy/workspace-numbersDrew DeVault
Workspace numbers
2015-12-18sway: insert numbered workspaces in orderprogandy
fixes #308 Ordered by number ascending, with insert before same numbers. Workspaces without numbers are appended at the end of the list. Example order: 1 2:named 3:the_second 3:the_first 9 FIRST_NAME SECOND_NAME ...
2015-12-18sway: enable workspace selection by numberprogandy
2015-12-17Merge pull request #351 from mikkeloscar/swaygrab-default-fileDrew DeVault
swaygrab: add default output filename.
2015-12-17swaygrab: add default output filename.Mikkel Oscar Lyderik
With this it's possible to run `swaygrab` without a filename argument. With no filename supplied it will use a default name based on the current time. The default file will get the extension `png` for screenshots and `webm` for video capture.
2015-12-17Merge pull request #350 from mikkeloscar/swaygrab-auto-outputDrew DeVault
swaygrab: update man page
2015-12-17swaygrab: update man pageMikkel Oscar Lyderik
2015-12-17Merge pull request #349 from mikkeloscar/swaygrab-auto-outputDrew DeVault
swaygrab: make focused output default
2015-12-17swaygrab: make focused output defaultMikkel Oscar Lyderik
This makes swaygrab use the currently focused output as source if no other output is defined with the `-o, --output <output>` option.
2015-12-17[swaylock] Stupid implementation of password entryDrew DeVault
2015-12-17Implement PAM password verification in swaylockDrew DeVault
2015-12-17Fix null dereference in swaybarDrew DeVault
2015-12-17Add PAM configuration for swaylockDrew DeVault