Commit graph

2814 commits

Author SHA1 Message Date
Zandr Martin e18b7cdfa9
add global current_focus pointer 2016-09-17 15:54:45 -05:00
Drew DeVault 75f82808e2 Merge pull request #903 from RyanDwyer/fix-swaybar-output
Fix swaybar when running on named outputs.
2016-09-17 17:00:36 +09:00
Ryan Dwyer e4cb4d1b5c Fix swaybar when running on named outputs.
When using a bar on a named output, load_swaybars() requires the
output to be active (ie. in the root container), but this is not the case if
the bar is added to the last output. To fix this, load_swaybars() is now
called after the output has been added to the root container.

After fixing that, swaybar would segfault due to using the wrong index
variable when loading outputs and config.
2016-09-17 17:25:45 +10:00
Drew DeVault 461e250e26 Merge pull request #902 from zandrmartin/patch-2
document `workspace_auto_back_and_forth` command
2016-09-17 11:58:10 +09:00
Zandr Martin 64f61873a9 document workspace_auto_back_and_forth command 2016-09-16 21:53:46 -05:00
Drew DeVault 953d6880c7 Merge pull request #896 from thejan2009/bugfix/swaybar-whitespace-in-ws-name
Put workspace name in quotes (swaybar ipc)
2016-09-12 14:41:07 +09:00
D.B c239f228c2 swaybar sends workspace name in quotes
fixes #894
2016-09-12 06:58:53 +02:00
Drew DeVault 7c166e350b Merge pull request #889 from thejan2009/bugfix/indicator_border
Use indicator border color only when needed.
2016-09-10 10:17:16 -04:00
D.B 873dfc07f3 Use indicator border color only when needed.
Indicator border color is now used only when a container is the only
child. Reason for the change? i3 does it this way. Sway container
borders are now a bit more similar to i3 ones.
2016-09-10 16:11:33 +02:00
Drew DeVault 40013029ea Merge pull request #888 from zandrmartin/swaybar-pango-fix
fix pango markup on swaybar
2016-09-08 15:50:00 -04:00
Zandr Martin 70b3796071
fix pango markup on swaybar 2016-09-08 14:45:21 -05:00
Drew DeVault 1b4b42fc65 Merge pull request #885 from zandrmartin/commands-refactor
merge resize.c into commands/resize.c
2016-09-07 08:01:28 -04:00
Zandr Martin 511eed90cd
squash commits, move enum into resize.c 2016-09-07 06:48:41 -05:00
Drew DeVault 1510a21f00 Remove extraneous logging 2016-09-06 08:02:32 -04:00
Drew DeVault 67714de1fe Remove HACKING.md 2016-09-05 12:29:35 -04:00
Drew DeVault 29e1582abb Fix typo 2016-09-05 12:21:42 -04:00
Drew DeVault 1e9538e4b9 Merge pull request #882 from SirCmpwn/move-views-between-outputs
Move views between outputs
2016-09-05 12:19:38 -04:00
Mikkel Oscar Lyderik 84d504ebdf Make it possible to move views between outputs
This patch makes it possible to move views between outputs using the
`move left|right|up|down` commands.

It behaves similar to i3 with one important difference. The focus will
always follow the view being moved, unlike i3 where the focus doesn't
always follow the view to a new output (I assume that's a bug in i3).
2016-09-05 12:14:23 -04:00
Drew DeVault dbb7191222 More small cleanup 2016-09-05 12:13:03 -04:00
Drew DeVault a89105e62d Minor cleanup on CONTRIBUTING.md 2016-09-05 12:11:39 -04:00
Drew DeVault d515ab0004 Document release cycle in CONTRIBUTING.md 2016-09-05 12:09:21 -04:00
Drew DeVault af44154119 Fix constant scale factor in font code 2016-09-05 11:52:52 -04:00
Drew DeVault b2226ac655 Add client support for HiDPI
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05 11:36:48 -04:00
Drew DeVault 61184e3208 Initial testing on hidpi clients 2016-09-05 10:32:21 -04:00
Drew DeVault 0913eff915 Add support for * input configs
Closes #852
2016-09-05 10:18:38 -04:00
Drew DeVault 29820ff826 Merge pull request #879 from zandrmartin/commands-refactor
refactor commands.c
2016-09-02 19:47:37 -04:00
Zandr Martin 65ace5dec5
merge in latest commits 2016-09-02 14:11:48 -05:00
Zandr Martin 79ffea328c
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor 2016-09-02 13:46:19 -05:00
Zandr Martin b374c35758
refactor commands.c 2016-09-01 21:39:08 -05:00
Drew DeVault 4e6d7b1258 Merge pull request #878 from lukaslihotzki/master
Correct `hide_edge_borders` command
2016-09-01 19:57:20 -04:00
Lukas Lihotzki 6addaca9fa Correct hide_edge_borders command
`vertical` and `horizontal` should be swapped.

If border_left and border_right were set to 0, the vertical borders
instead of the horizontal borders would be hidden.

i3 handles this command equally.
2016-09-02 01:16:03 +02:00
Drew DeVault 38ca94e0ed Tweak how swaylock surfaces are handled
Fixes #875
2016-09-01 08:34:52 -04:00
Drew DeVault 416417a54c Reorganize includes 2016-09-01 08:18:37 -04:00
Drew DeVault 729fdf7d91 Merge pull request #876 from zandrmartin/patch-1
document `orientation` command
2016-09-01 07:22:10 -04:00
Mikkel Oscar Lyderik 8321ee4da2 Merge pull request #877 from Fale/patch-1
Add Fedora official packages mention :)
2016-09-01 09:12:30 +02:00
Fabio Alessandro Locati 8c5e84c79d Add Fedora official packages mention :) 2016-09-01 08:40:26 +02:00
Zandr Martin a9c0993218 document orientation command 2016-08-31 21:07:20 -05:00
Drew DeVault 050704ab23 Merge pull request #874 from yohanesu75/ipc-client-fix
Fix to make ipc client code FreeBSD compatible.
2016-08-30 20:02:27 -04:00
Johannes Lundberg 949933c5c3 Fix to make ipc client code FreeBSD compatible. 2016-08-30 16:59:36 -07:00
Drew DeVault f4356135a1 Merge pull request #869 from Hummer12007/patch-1
Fix a format string
2016-08-22 12:53:31 -04:00
Hummer12007 db1c105e77 Fix a format string 2016-08-22 18:56:49 +03:00
Drew DeVault b18c64d795 Merge pull request #867 from kb100/fix-865
Avoid dereferencing null configuration
2016-08-20 12:30:05 -04:00
James Murphy 8af49eb696 Avoid dereferencing null configuration
Fixes: https://github.com/SirCmpwn/sway/issues/865
2016-08-20 16:24:08 +00:00
Drew DeVault f99992a8ae Merge pull request #862 from goetzc/master
Add input example section to config
2016-08-18 19:18:12 -04:00
Götz Christ aecd33d25d Add input example section to config
Also improve sway-input(5) description to be more consistent with sway-bar(5).
2016-08-18 18:00:58 -05:00
Drew DeVault 420fa20ae6 Merge pull request #853 from guiniol/indicator-color
Implement indicator color
2016-08-11 18:21:58 -04:00
Guillaume Brogi 7bbf7e15a0 Update man page
The man page mentioned that "indicator" wasn't implemented, this isn't
the case anymore.
2016-08-12 00:13:48 +02:00
Guillaume Brogi 6173c84117 Rerender after every split command 2016-08-12 00:12:56 +02:00
Guillaume Brogi fc492a4da8 Add support for indicator color 2016-08-11 23:57:38 +02:00
Drew DeVault 5c87cc7cb1 Merge pull request #851 from thejan2009/output-disable-during-runtime
Handle output disabling during runtime
2016-08-10 13:13:10 -04:00