Commit graph

2302 commits

Author SHA1 Message Date
Eric Engestrom 08bef67f85 sway: refactor ipc_client_handle_command()
This fixes a few mem leaks, as well as remove a false-positive error msg
in IPC_GET_BAR_CONFIG
2016-05-31 00:44:07 +01:00
Eric Engestrom 9d7d73df7f sway: fix IPC resource leak 2016-05-31 00:40:15 +01:00
Drew DeVault ad942708a7 Update configuration info in readme 2016-05-29 12:13:15 -04:00
Drew DeVault 3b1c125e18 Remove bar position left:right from docs
And adds a warning about using them (currently these are not supported
by swaybar).
2016-05-29 11:53:13 -04:00
Drew DeVault fc7132a3ba Merge pull request #677 from zandrmartin/maintain-workspace-output-assignments
enforce workspace output assignents
2016-05-29 10:05:50 -04:00
Zandr Martin d291a29f30 enforce workspace output assignents
when creating a new output, move to that output all extant workspaces
that are assigned to that output.

(unrelated) remove comment that was no longer applicable, fix spacing in
an assignment
2016-05-28 18:18:46 -05:00
Drew DeVault a0315dc849 Merge pull request #675 from zandrmartin/add-workspace-sorting
Implement sort_workspaces() function for outputs.
2016-05-28 11:08:57 -04:00
Zandr Martin 7df38ce9da remove alphabetic sorting from sort_workspaces
also add a couple missing spaces to container.c (unrelated)
2016-05-28 08:35:58 -05:00
Zandr Martin c6c3a8e758 Implement sort_workspaces() function for outputs.
This seems to have resolved issue #669 for me.
2016-05-27 17:37:56 -05:00
Drew DeVault 907283d230 Merge pull request #673 from zandrmartin/swaylock-no-unlock-indicator
add --no-unlock-indicator to swaylock
2016-05-26 11:37:34 -04:00
Zandr Martin 54d38d3931 add --no-unlock-indicator to swaylock 2016-05-26 10:16:34 -05:00
Drew DeVault bcbef246d2 Merge pull request #672 from zandrmartin/add-ctrlu-to-swaylock
clear password buffer with ctrl-u in swaylock
2016-05-26 09:48:14 -04:00
Zandr Martin 06e06f9af2 clear swaylock password buffer with esc
for i3lock compatibility
2016-05-26 08:41:22 -05:00
Zandr Martin ac4213a136 clear password buffer with ctrl-u in swaylock
also prevent screen redraws on modifier key presses
2016-05-26 08:35:16 -05:00
Drew DeVault 508f481fbb Merge pull request #671 from zandrmartin/fullscreen-focus
set focus on fullscreen view when changing focus
2016-05-24 08:01:08 -04:00
Zandr Martin 164f384d83 set focus on fullscreen view when changing focus 2016-05-23 16:05:44 -05:00
Mykyta Holubakha 16dc31f33b Concatenate output cmd args, fixes #654 2016-05-23 13:09:18 -04:00
Drew DeVault 290a15ca1b Merge pull request #670 from sleep-walker/master
2 minor things
2016-05-23 09:08:18 -04:00
Tomáš Čech eda741d177 Match definition with declaration 2016-05-23 14:42:03 +02:00
Tomáš Čech 2d73491a41 Add openSUSE Tumbleweed as distro with sway 2016-05-23 14:40:49 +02:00
Drew DeVault d5c004f997 Merge pull request #668 from mikkeloscar/rearrange-on-bg-change
Rearrange output when setting background
2016-05-21 09:58:13 -04:00
Mikkel Oscar Lyderik f33cdc0f2f Remove stray whitespace 2016-05-20 23:13:47 +02:00
Mikkel Oscar Lyderik 2eb02b6320 Rearrange output when setting background
Fix #659
2016-05-20 23:13:24 +02:00
Drew DeVault ae52511649 Merge pull request #666 from tajjada/fix-tabbed-stacked-borders
Fix borders for tabbed and stacked containers when children have 'border none' set.
2016-05-18 00:31:54 -04:00
Jasen Borisov 870a7aaad9 Fix issue #661.
Borders are now drawn correctly (same behavior as i3) for tabbed and
stacked containers, when the children have 'border none' set.
2016-05-18 04:25:32 +01:00
Drew DeVault ae027aad5a Merge pull request #662 from Hummer12007/scroll
Support floating_scroll sideways
2016-05-14 16:47:45 -04:00
Mykyta Holubakha e73dde3b10 Support floating_scroll sideways 2016-05-14 23:42:02 +03:00
Drew DeVault 2c9553a6fd Set Cairo and Pango as required dependencies 2016-05-14 15:19:09 -04:00
Drew DeVault d541a02461 Turn off ZSH completions by default 2016-05-14 15:17:30 -04:00
Drew DeVault 6780aa34fc Merge pull request #656 from SirCmpwn/revert-650-segfault
Revert "sway/container.c: fix segfault where view is assigned prematurely"
2016-05-14 10:52:41 -04:00
Drew DeVault 5b0af661b0 Revert "sway/container.c: fix segfault where view is assigned prematurely" 2016-05-14 14:34:25 +00:00
Drew DeVault 6436c4f783 Merge pull request #653 from Hummer12007/patch-1
README.md: add reference to Gentoo package
2016-05-13 08:12:57 -04:00
Hummer12007 33a9854ee3 README.md: add reference to Gentoo package 2016-05-13 15:11:29 +03:00
Drew DeVault c7c2bf542a Merge pull request #650 from neosilky/segfault
sway/container.c: fix segfault where view is assigned prematurely
2016-05-09 10:08:56 -07:00
Daniel Lockyer 2fb4e5401c sway/container.c: fix segfault where view is assigned prematurely 2016-05-09 17:41:26 +01:00
Drew DeVault 8ee764e0c2 Merge pull request #649 from mikkeloscar/floating-layout
Prevent changing layout when focusing float window
2016-05-09 07:02:25 -07:00
Mikkel Oscar Lyderik c80ad015ff Prevent changing layout when focusing float window
The layout command should only work with titled windows, thus it should
have no effect when a floating window has focus.

Should fix #643
2016-05-09 15:55:06 +02:00
Drew DeVault 64db549c18 Merge pull request #648 from Hummer12007/relative_wallpaper
Allow to set relative path for wallpapers in config
2016-05-08 13:11:35 -07:00
Mykyta Holubakha 500ee0a731 Allow to set relative path for wallpapers in config 2016-05-08 22:59:06 +03:00
Drew DeVault db0e1d6bc1 Merge pull request #645 from Hummer12007/floating_scroll
Implement configurable floating scroll behavior
2016-05-08 10:27:40 -07:00
Mykyta Holubakha 0c495eecde Remove FSB_GAPS_INNER and FSB_GAPS_OUTER 2016-05-08 17:17:35 +03:00
Mykyta Holubakha 394a5d36cb Documented floating_scroll 2016-05-08 10:21:20 +03:00
Mykyta Holubakha 0423c41a0f Implemented configurable floating scroll behavior 2016-05-07 20:49:51 +03:00
Drew DeVault 6abdc07559 Merge pull request #638 from neosilky/memleak
sway/main.c: simplify free'ing by switching to the helper method
2016-05-05 18:01:44 -07:00
Drew DeVault db651a41f3 Merge pull request #639 from neosilky/freefix
sway/config.c: fix double free issue as we need to store path in list
2016-05-05 18:01:19 -07:00
Daniel Lockyer b41097c085 sway/config.c: fix double free issue as we need to store path in list 2016-05-05 23:50:12 +01:00
Daniel Lockyer c9d634414a sway/main.c: simplify free'ing by switching to the helper method 2016-05-05 23:30:28 +01:00
Drew DeVault 93743e0d5f Merge pull request #632 from 1ace/refactor/log
Refactor preprocessor logic out of _sway_log()
2016-05-02 13:50:08 -04:00
Eric Engestrom cc9d1cacbb common: refactor sway_log()
This removes most preprocessor logic, leaving it only it the header.
2016-05-02 18:30:04 +01:00
Drew DeVault 8a6b64e471 Merge pull request #634 from 1ace/fix/log-double-close
Fix double-close in error_handler()
2016-05-02 13:09:28 -04:00