summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAge
...
* Send IPC modifier event on bar_modifier up/downLibravatar Mikkel Oscar Lyderik2016-01-05
| | | | | | | | | | | | | | | Detects when a bar modifier key is pressed/released and sends a modifier IPC event to any listeners (usually swaybars). This way a swaybar can listen on the modifier event and hide/show the bar accordingly (not implemented yet) The modifier event looks like this: { "change": "pressed", // or released "modifier": "Mod4" }
* Detect bar modifier pressed/releasedLibravatar Mikkel Oscar Lyderik2016-01-05
|
* swaybar: Implement binding_mode_indicatorLibravatar Mikkel Oscar Lyderik2016-01-03
|
* Add type to returned response.Libravatar Mikkel Oscar Lyderik2016-01-03
| | | | | | | Makes `ipc_recv_response` return a struct with size, type and payload rather than just the payload string. This is useful if the type has to be checked on the client.
* Add IPC event typesLibravatar Mikkel Oscar Lyderik2016-01-03
| | | | Adds custom IPC_EVENT_* types
* Handle SIGTERM sent to swayLibravatar Mikkel Oscar Lyderik2015-12-29
| | | | | | | This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416
* swaybar: fix memory leaksLibravatar progandy2015-12-22
|
* Merge pull request #393 from robotanarchy/musl-libc-compatibilityLibravatar Drew DeVault2015-12-21
|\ | | | | musl libc compatibility
| * replace non-standard qsort_r with qsortLibravatar robotanarchy2015-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've tried to make as few changes, as possible. Usually the reason for using qsort_r is, that you can pass an extra userdata pointer to the compare function. However, in sway list_sort wrapped qsort_r and always called a wrapper function for comparing, the wrapper function then had the real compare function as argument. The only thing, that the wrapper function does, is dereferencing the 'left' and 'right' function arguments before passing them to the real compare function. I have renamed list_sort to list_qsort to avoid confusion (so nobody tries to use list_qsort like list_sort) and removed the wrapper functionality. Now the dereferencing must be done in the compare function, that gets passed. Some compare functions were used in both list_sort and list_seq_find. To make the difference clear, I've added a '_qsort' suffix to the compare functions, that are intended to be used with the new list_qsort. (In other words: list_qsort is not compatible anymore with list_seq_find). - Changed and renamed function (it isn't used anywhere but in commands.c, and only for sorting): compare_set -> compare_set_qsort - New wrapper functions: sway_binding_cmp_qsort (for sway_binding_cmp) sway_mouse_binding_cmp_qsort (for sway_mouse_binding_cmp)
* | Trigger ipc_event_workspace in all casesLibravatar Mikkel Oscar Lyderik2015-12-21
| | | | | | | | | | | | This makes sure that the workspace IPC event is triggered when needed. Fixes #382 while making sure that the IPC event is only triggered once.
* | Implement `barconfig_update` IPC eventLibravatar Mikkel Oscar Lyderik2015-12-21
|/
* Merge pull request #373 from sce/per_panel_configLibravatar Drew DeVault2015-12-20
|\ | | | | Per panel config
| * extensions: Track panels by wl_resource, position per panel.Libravatar S. Christoffer Eliesen2015-12-20
| | | | | | | | | | | | | | | | 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.
| * extensions: panel_config->resource => wl_surface_res.Libravatar S. Christoffer Eliesen2015-12-20
| | | | | | | | Change the name to something less ambigious.
* | make gdk-pixbuf dependency really optionalLibravatar progandy2015-12-20
|/
* Fix default workspace name generationLibravatar Drew DeVault2015-12-18
| | | | This fixes the issue where workspace 10 ends up being the default.
* Merge pull request #359 from mikkeloscar/i3bar-commandLibravatar Drew DeVault2015-12-18
|\ | | | | Add bar option: swaybar_command <command>
| * Add bar option: swaybar_command <command>Libravatar Mikkel Oscar Lyderik2015-12-19
| |
* | Terminate children when freeing output containerLibravatar Mikkel Oscar Lyderik2015-12-18
| |
* | Reload swaybar/swaybg on config reload.Libravatar Mikkel Oscar Lyderik2015-12-18
|/ | | | | | | | 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
* Add shims for swaylock on compositorLibravatar Drew DeVault2015-12-18
|
* sway: insert numbered workspaces in orderLibravatar progandy2015-12-18
| | | | | | | | | | 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 ...
* sway: enable workspace selection by numberLibravatar progandy2015-12-18
|
* Bring unmanaged windows to front on output arrangeLibravatar Drew DeVault2015-12-16
| | | | Fixes #312
* Implement bar option: separator_symbolLibravatar Mikkel Oscar Lyderik2015-12-16
|
* Implement bar option: output <output>Libravatar Mikkel Oscar Lyderik2015-12-15
|
* Add bar height option (Airblader/i3)Libravatar Mikkel Oscar Lyderik2015-12-15
|
* Add rgba support for bar colorsLibravatar Mikkel Oscar Lyderik2015-12-15
|
* Implement bar option: colors {}Libravatar Mikkel Oscar Lyderik2015-12-15
|
* Move default bar config to bar creation.Libravatar Mikkel Oscar Lyderik2015-12-15
| | | | | Get rid of `config->bar` and define the default bar config options when a bar is initialized.
* Added bar_cmd_bindsymLibravatar Yacine Hmito2015-12-15
| | | | Defined a sway_mouse_binding for clicks on the swaybar
* Make mouse key used for drag/resize configurableLibravatar Mikkel Oscar Lyderik2015-12-14
| | | | | This makes it possible to define what mouse button key (left|right) to use for dragging/resizing.
* Add initial support for custom bar-idLibravatar Mikkel Oscar Lyderik2015-12-14
|
* Move numlen(1) to sway/util.cLibravatar Mikkel Oscar Lyderik2015-12-14
|
* Revert "Make mouse key used for drag/resize configurable"Libravatar Drew DeVault2015-12-14
| | | | This reverts commit 22916e9ebc130dbd365e6403730b9e0857977b8e.
* Implement 'bar { }' block parsingLibravatar Mikkel Oscar Lyderik2015-12-14
|
* Subscribe to workspace change events and redrawLibravatar Drew DeVault2015-12-13
|
* Track the fullscreen view on a workspace swayc_tLibravatar Drew DeVault2015-12-13
|
* Pass keys along from wayland backend to clientsLibravatar Drew DeVault2015-12-12
|
* Add some more keyboard handling for wayland clientsLibravatar Drew DeVault2015-12-12
|
* Make mouse key used for drag/resize configurableLibravatar Mikkel Oscar Lyderik2015-12-11
| | | | | This makes it possible to define what mouse button key (left|right) to use for dragging/resizing.
* Initialize keyboard in registry pollLibravatar Drew DeVault2015-12-10
|
* Include wayland-server.h instead of -core.hLibravatar Drew DeVault2015-12-10
|
* Add keyboard handling shims to registryLibravatar Drew DeVault2015-12-10
|
* Discover swaylock extension in registryLibravatar Drew DeVault2015-12-10
|
* Refactor gdk pixbuf code into shared client libLibravatar Drew DeVault2015-12-10
|
* Add swaylock protocol, add resource destructorsLibravatar Drew DeVault2015-12-03
| | | | This prevents sway crashing if swaybg or swaybar dies.
* Add framework for switching command setsLibravatar Drew DeVault2015-11-29
| | | | | This will allow the bar {} block to have a different command set (and also bar { colors { } }.
* Add bar config struct and defaultsLibravatar Drew DeVault2015-11-29
|
* cmd_output: Merge instead of replace output configLibravatar Christoph Gysin2015-11-29
|