Commit Graph

4990 Commits

Author SHA1 Message Date
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
Drew DeVault
083316c5ce Merge pull request #590 from mikkeloscar/i686-warnings
Use correct format string for x86_64 and i686
2016-04-17 11:08:29 -04:00
Mikkel Oscar Lyderik
f39034a55f Use correct format string for x86_64 and i686
Fix #587
2016-04-17 16:51:33 +02:00
Drew DeVault
2a0836e3bd Add support for pango markup 2016-04-17 10:47:08 -04:00
Drew DeVault
09efe0ce75 Merge pull request #588 from mikkeloscar/clang-warnings
Remove clang warnings (-Wsign-compare)
2016-04-16 14:10:59 -04:00
Mikkel Oscar Lyderik
60731ffba1 Remove clang warnings (-Wsign-compare) 2016-04-16 20:06:50 +02:00
Drew DeVault
837283098e Update link to arch linux package 2016-04-16 11:09:36 -04:00
Drew DeVault
54c635ca16 Update to wlc 0.0.2 2016-04-16 10:22:50 -04:00
Drew DeVault
9412dc7edf Merge pull request #582 from cl91/fix-memory-leaks
Plug two memory leaks
2016-04-11 21:08:44 -04:00
Chang Liu
91d2a505b2 Plug two memory leaks
Plug two memory leaks introduced in the border drawing code.
2016-04-12 12:35:50 +12:00
Drew DeVault
3b5a8cb40d Merge pull request #580 from mikkeloscar/handle-realloc-fail
swaylock: Handle possible fail on password realloc
2016-04-09 18:15:50 -04:00
Mikkel Oscar Lyderik
f8bb487ddb swaylock: Handle possible fail on password realloc 2016-04-10 00:01:05 +02:00
Drew DeVault
a71ca65d88 Merge pull request #579 from mikkeloscar/new_view-geometry
Don't init desired width/height on new_view
2016-04-09 17:38:43 -04:00
Mikkel Oscar Lyderik
cfea40dce3 Don't init desired width/height on new_view
When creating a new view, wlc usually returns an initial geometry with
size 1x1. Setting those values as desired width/height causes a problem
for some windows (QT5) because they don't request a new geometry for
instance when made floating, so the floating window becomes 1x1.

To fix this problem we can just omit setting the desired width/height on
new_view and instead let the clients request a certain size if they feel
like it. e.i. gnome-calculator.

Fix #578
2016-04-09 23:20:26 +02:00
Mikkel Oscar Lyderik
a7f26939c2 Only update geometry of single floating view 2016-04-09 22:51:41 +02:00
Drew DeVault
9f4df8b758 Merge pull request #572 from fluxchief/swaylock-flush
Improve swaylock event flushing
2016-04-04 09:37:41 -04:00
Drew DeVault
5a1a0cf910 Merge pull request #574 from fluxchief/parse-border-color
Add border color commands
2016-04-03 16:46:34 -04:00
Kevin Hamacher
b6e2b6add9 Add border color commands 2016-04-03 17:14:14 +02:00
Mikkel Oscar Lyderik
5b8902ea9c Merge pull request #575 from fluxchief/border-color-fix
Use border background color as border background
2016-04-03 17:07:55 +02:00
Kevin Hamacher
115b482ed8 Use border background color as border background 2016-04-03 16:52:40 +02:00
Mikkel Oscar Lyderik
5be624ca16 Merge pull request #568 from crondog/fixborders
Fix window borders
2016-04-03 02:36:50 +02:00
crondog
b02be709cd Fix window borders
This fixes floating borders when moving outside of the output. Not sure what
happens with dual screen as I only have 1 monitor
2016-04-03 10:37:16 +10:00
Kevin Hamacher
3b0d9de270 Improve swaylock event flushing 2016-04-03 00:50:34 +02:00
Drew DeVault
ef45bac131 Merge pull request #562 from fluxchief/border-endian
improve endianess handeling
2016-04-02 16:29:48 -04:00
Kevin Hamacher
3953b064f5 improve endianess handeling 2016-04-02 21:16:57 +02:00
Mikkel Oscar Lyderik
4885a6c423 Merge pull request #569 from 1ace/master
Fix spelling mistakes
2016-04-02 19:09:12 +02:00
Eric Engestrom
3e8081514d Fix spelling mistakes 2016-04-02 16:00:05 +01:00
Drew DeVault
0d4c31edcd Merge pull request #565 from mikkeloscar/fix-pointer-crash
Fix pointer related crash when stacked/tabbed
2016-03-31 10:51:44 -04:00