Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-14 | bar: remove i3bar_block_free in favour of i3bar_block_unref | Ian Fan | |
2018-09-12 | i3bar: count references to blocks | Ian Fan | |
This prevents blocks from being destroyed before their hotspots are destroyed, in case it is used for a pending click event that fires between the bar receiving a new status, which destroys the block, and the bar rendering the new status, which destroys the hotspot; this problem can be easily produced by scrolling on a block that immediately causes a new status to be sent, with multiple outputs | |||
2018-09-08 | Align titles to baseline | Ryan Dwyer | |
This does the following: * Adds a baseline argument to get_text_size (the baseline is the distance from the top of the texture to the baseline). * Stores the baseline in the container when calculating the title height. * Takes the baseline into account when calculating the config's max font height. * When rendering, pads the textures according to the baseline so they line up. | |||
2018-09-05 | Fix swaybar block background fill logic | Jason | |
Same as #2571 but for 1.0. | |||
2018-09-03 | Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE | sghctoma | |
2018-08-30 | Fix feature macros for FreeBSD | sghctoma | |
On FreeBSD, snprintf and vsnprintf are visible only if _XOPEN_SOURCE >= 600. | |||
2018-07-19 | swaybar: Fix scroll handling on workspace buttons | minus | |
As well as ignoring scroll events on status elements when click_events is enabled. Previously, using the scroll wheel on a workspace button would switch to that workspace instead of scrolling through them. Clicks and scrolling on status elements would always be processed by swaybar, too. So in case you were using scrolling as volume control on a status item, swaybar would additionally scroll through your workspaces. | |||
2018-07-18 | Merge pull request #2281 from pvsr/X11_click | emersion | |
Send clicks to swaybar blocks as X11 button ids | |||
2018-07-17 | remove unnecessary parens | Peter Rice | |
2018-07-16 | send scroll events to swaybar blocks | Peter Rice | |
2018-07-16 | make hotspot callback take an x11 button id | Peter Rice | |
2018-07-17 | swaybar: Read urgent colors from IPC | Ryan Dwyer | |
2018-07-14 | swaybar/bg: Fix crash on DPMS off | minus | |
When turning off displays via DPMS, swaybar and swaybg still tried to render, but did not get a valid buffer, causing them to crash. | |||
2018-07-09 | Update for swaywm/wlroots#1126 | emersion | |
2018-07-06 | Fix swaybar teardown when workspace buttons hidden | Brian Ashworth | |
2018-07-05 | Implement mode --pango_markup | Brian Ashworth | |
2018-05-09 | Swaybar: Respect pango_markup config | Ryan Dwyer | |
Makes swaybar respect the user's pango_markup configuration in the workspace buttons and binding mode indicator. | |||
2018-05-06 | Revert "Install swaybar and swaybg under /usr/lib/sway" | Rostislav Pehlivanov | |
This reverts commit f2c209c299889ad965ac995049704b1c46176c6d. | |||
2018-05-06 | Revert "Make the LIBDIR path configurable" | Rostislav Pehlivanov | |
This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020. | |||
2018-05-06 | Revert "Meson: Replace option `instlibdir` with `libexecdir`" | Rostislav Pehlivanov | |
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e. | |||
2018-05-05 | Meson: Replace option `instlibdir` with `libexecdir` | Nicolas Braud-Santoni | |
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place. | |||
2018-05-05 | Make the LIBDIR path configurable | Nicolas Braud-Santoni | |
2018-05-05 | Install swaybar and swaybg under /usr/lib/sway | Nicolas Braud-Santoni | |
2018-04-24 | Fix a bunch of swaybar memory leaks | emersion | |
2018-04-24 | Work around maybe-uninitialized in bar.c | Alex Xu (Hello71) | |
Fixes #1855. | |||
2018-04-22 | Fix swaybar axis event logic | Scott Anderson | |
Uses 'visible' instead of 'focused', since we may scroll on a bar which isn't the focused output. We can't use "next_on_output" or "prev_on_output" to implement this, because it only modify the focused output. So scrolling on an unfocused output will affect the incorrect one. We just use the "workspace name" command instead. | |||
2018-04-21 | Remove void * casts | Scott Anderson | |
They're pointless. | |||
2018-04-21 | Remove status command event on error | Scott Anderson | |
This prevents very high CPU load when the status command dies, and poll continuously awoken with POLLHUP. | |||
2018-04-21 | Change remove_event logic | Scott Anderson | |
We defer the removal of entries until after the poll loop has finished. Otherwise we may end up adjusting the poll array while we're still reading from it, causing us to skip events. | |||
2018-04-21 | Always send POLLHUP and POLLERR with event loop | Scott Anderson | |
2018-04-20 | Fix memory leak on swaybar | Bruno Pinto | |
Code from @NilsBrause Ref #1820 | |||
2018-04-15 | Set _POSIX_C_SOURCE properly | Scott Anderson | |
2018-04-10 | Fix separator height calculation | Drew DeVault | |
Fixes #1796 Also rearranged this code to more closely mirror the similar code above so future discrepancies are easier to spot. | |||
2018-04-10 | Merge pull request #1792 from RyanDwyer/fix-swaybar-status-blocks | emersion | |
Fix swaybar not showing all status blocks | |||
2018-04-11 | Check height in surface local coordinates and rename some variables. | Ryan Dwyer | |
2018-04-10 | fix swaybar ipc handling | db | |
Swap return with break in IPC_EVENT_WORKSPACE case to free resp. Change default return value to true. This causes IPC_EVENT_MODE changes to be rendered instantly. | |||
2018-04-10 | Fix swaybar not showing all status blocks. | Ryan Dwyer | |
2018-04-10 | Fix swaybar output config. | Ryan Dwyer | |
2018-04-09 | Fix some more bugs | Drew DeVault | |
2018-04-09 | Fix buffer issues in swaybar status line. | Ryan Dwyer | |
2018-04-08 | Fix swaybar HiDPI rounding issue | emersion | |
2018-04-08 | Fixup for #1773 | Drew DeVault | |
2018-04-08 | Use full ws->name in swaybar hotspot callback | db | |
If strip_workspace_numbers option is enabled, we must preserve the right workspace name for hotspot. | |||
2018-04-06 | Fix workspaces not updated on swaybar | Drew DeVault | |
2018-04-05 | Handle output removal on swaybar | Drew DeVault | |
2018-04-03 | Address review feedback | Drew DeVault | |
2018-04-03 | Adjust height calculation, naming | Drew DeVault | |
2018-04-03 | Don't use asserts with side-effects | Drew DeVault | |
2018-04-03 | Add hidpi support to swaybar | Drew DeVault | |
2018-04-03 | Fix #1709 | Drew DeVault | |