Commit Graph

1517 Commits

Author SHA1 Message Date
Drew DeVault
c55ae9956b Fix another -Wunused-result 2016-04-29 11:04:21 -04:00
Drew DeVault
3be3867474 Fix oversight in ebdce71 2016-04-29 11:01:49 -04:00
Drew DeVault
ebdce719b4 Fix -Wunused-result problems 2016-04-29 10:59:43 -04:00
Drew DeVault
3fa8df7b05 Add -Werror to C flags 2016-04-29 10:38:03 -04:00
Drew DeVault
0dd1dc05c3 Merge pull request #613 from mikkeloscar/init-y
Fix uninitialized variable
2016-04-29 10:37:12 -04:00
Mikkel Oscar Lyderik
b53b15b477 Fix uninitialized variable 2016-04-29 16:30:02 +02:00
Mikkel Oscar Lyderik
eec09cae0e Merge pull request #612 from nrechn/master
Update config
2016-04-29 01:10:26 +02:00
nrechn
7bdb8b6a85 Update config
update command "swaymsg" instead of "sway-msg"
2016-04-29 09:02:06 +10:00
Drew DeVault
302872440a Merge pull request #611 from mikkeloscar/bindcode-fix
Fix bindcode by offsetting xkb keycode by 8
2016-04-28 15:12:02 -04:00
Mikkel Oscar Lyderik
1fb9489032 Fix bindcode by offsetting xkb keycode by 8
The bindcode has to be offset by 8 to match the keycode we get from wlc.

https://github.com/xkbcommon/libxkbcommon/blob/master/xkbcommon/xkbcommon.h#L160
2016-04-28 21:05:38 +02:00
Drew DeVault
17543d3e00 Merge pull request #610 from sleep-walker/master
CMake related improvements
2016-04-28 14:37:35 -04:00
Tomáš Čech
1124e78dda Respect supplied CMAKE_C_FLAGS 2016-04-28 20:19:40 +02:00
Tomáš Čech
bcdeb72189 Explicitly mark static linking in CMake
When no type is given, it depends on BUILD_SHARED_LIBS value which is
not desired in this case.
2016-04-28 20:13:26 +02:00
Tomáš Čech
468ddfb34d Fix missing include paths
When headers were installed in more sofisticated places (but package
config knows it right), it revealed missing paths in CMake
configuration. Lets fix it.
2016-04-28 20:08:41 +02:00
Drew DeVault
89af3f78b2 Merge pull request #606 from mikkeloscar/tabbed-stacking-layout
border: clear buffer on fullscreen views
2016-04-27 07:19:47 -04:00
Mikkel Oscar Lyderik
ddd5b69b99 border: clear buffer on fullscreen views
This patch makes sure to clear the border buffer of fullscreen view so
the border doesn't get drawn behind a fullscreen view, which would be
visible if the view was transparent.
2016-04-27 11:24:28 +02:00
Mikkel Oscar Lyderik
27066c6328 Only check tabbed_stacked_parent for focused windows 2016-04-27 11:24:28 +02:00
Mikkel Oscar Lyderik
70f0099918 Merge pull request #603 from fluxchief/master
swaylock: fix double free
2016-04-25 20:30:11 +02:00
Kevin Hamacher
7938736887 swaylock: fix double free 2016-04-25 20:24:33 +02:00
Drew DeVault
dba1195b44 Merge pull request #566 from mikkeloscar/tabbed-stacking-layout
Tabbed and stacked layout
2016-04-25 11:34:27 -04:00
Mikkel Oscar Lyderik
05b4965a99 Remove commented code 2016-04-25 13:40:21 +02:00
Mikkel Oscar Lyderik
856ac7d5cc Remove unused function 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
5a22c0f1c0 Don't send invisble view to back 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
5886ee156e Use correct geometry for nested containers 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
6c7ed7e7cb Add title to nested tabbed/stacked containers 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
5492277f0c Disable inner gaps when in tabbed/stacked mode 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
3e1f78ab26 Add support for nested tabbed/stacked containers 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
3955c66ce8 Use tabs for indentation 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
969f76a1a4 Make floating border fixes work with tabbed/stacked code 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
e226b20bd8 Reapply prev layout when exiting tabbed/stacked 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
a0cebb7c5a Improve move command with tabbed/stacked layout 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
d26658fb35 Correctly determine default layout 2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
8d700fe008 Fix problems with floating windows
Makes any tabbed/stacked layout a container to separate from floating
windows which may be attached to a workspace.
2016-04-25 00:00:49 +02:00
Mikkel Oscar Lyderik
ec7ff769c7 Tabbed and stacked layout 2016-04-25 00:00:49 +02:00
Drew DeVault
7efa9ab34a Merge pull request #601 from Hummer12007/pango_markup_config
Pango markup config
2016-04-24 17:58:53 -04:00
Mykyta Holubakha
09d69f606a Renamed pango_markup config options 2016-04-24 20:39:41 +03:00
Mykyta Holubakha
0f1cfdec61 Renamed to pango_markup 2016-04-24 20:35:21 +03:00
Mykyta Holubakha
ee4e245f16 Fix line length calculation 2016-04-24 20:20:07 +03:00
Mykyta Holubakha
2e6c43e62b Added plaintext_markup to swaybar IPC 2016-04-24 20:14:02 +03:00
Mykyta Holubakha
53b53dd8c2 Added plaintext markup configuration 2016-04-24 19:57:35 +03:00
Drew DeVault
a796ce4f66 Merge pull request #598 from Hummer12007/pango_fix
Passing missing argument to get_text_size
2016-04-24 08:52:36 -04:00
Drew DeVault
dd575ffd55 Merge pull request #599 from mikkeloscar/bar-markup-pango
Use i3bar format for markup field.
2016-04-24 08:52:15 -04:00
Mikkel Oscar Lyderik
11f0b4539d Use i3bar format for markup field.
In the i3bar protocol the value of the markup field is a string: "pango"
or "none" rather than a bool. This patch makes swaybar compatible with
that.

http://i3wm.org/docs/i3bar-protocol.html
2016-04-24 10:26:55 +02:00
Mykyta Holubakha
a25c35f859 Passing missing argument to get_text_size 2016-04-24 10:39:42 +03:00
Drew DeVault
d8482419fc Merge pull request #597 from wdbw/swaylock-pam-change
swaylock: Fix swaylock.pam
2016-04-23 13:41:23 -04:00
wdbw
7125274b89 swaylock: Fix swaylock.pam
Change swaylock.pam to make it work on Debian-based systems also.
2016-04-23 19:37:21 +02:00
Drew DeVault
d3504212a0 Merge pull request #596 from mikkeloscar/default-config-mod-b
Use bindsym $mod+b splith in default config
2016-04-23 08:53:41 -04:00
Mikkel Oscar Lyderik
d268e897e9 Use bindsym $mod+b splith in default config
Resolve #593
2016-04-23 10:54:01 +02:00
Drew DeVault
e5d2efbfc9 Style issue 2016-04-17 11:38:12 -04:00
Drew DeVault
84fae94ab9 Flesh out pango markup implementation 2016-04-17 11:36:03 -04:00