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
Mikkel Oscar Lyderik
b53b15b477
Fix uninitialized variable
2016-04-29 16:30:02 +02: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
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
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
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
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
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
Mykyta Holubakha
a25c35f859
Passing missing argument to get_text_size
2016-04-24 10:39:42 +03:00
Drew DeVault
84fae94ab9
Flesh out pango markup implementation
2016-04-17 11:36:03 -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
Mikkel Oscar Lyderik
60731ffba1
Remove clang warnings (-Wsign-compare)
2016-04-16 20:06:50 +02:00
Drew DeVault
54c635ca16
Update to wlc 0.0.2
2016-04-16 10:22:50 -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
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
Kevin Hamacher
b6e2b6add9
Add border color commands
2016-04-03 17:14:14 +02:00
Kevin Hamacher
115b482ed8
Use border background color as border background
2016-04-03 16:52:40 +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
3953b064f5
improve endianess handeling
2016-04-02 21:16:57 +02:00
Eric Engestrom
3e8081514d
Fix spelling mistakes
2016-04-02 16:00:05 +01:00
Mikkel Oscar Lyderik
258e31ccdf
Fix pointer related crash when stacked/tabbed
...
Fix #564
2016-03-31 16:39:42 +02:00
Mikkel Oscar Lyderik
66e8b4d5de
Correctly reset border geometry
2016-03-31 13:51:27 +02:00
Mikkel Oscar Lyderik
7be476c115
Add cmds new_window and new_float
...
Makes it possible to set default layout style for new windows and new
floating windows.
Close #556
2016-03-31 12:42:20 +02:00
Mikkel Oscar Lyderik
63474aa04d
Make pango: optional for bar font
2016-03-30 16:38:04 +02:00
Drew DeVault
655b003062
Fix pointer scroll thing
2016-03-30 09:24:51 -04:00
Drew DeVault
ebead7a9bf
Fix crashes with borders
2016-03-30 09:21:30 -04:00
Drew DeVault
a4bf09f142
Remove leftover comment
2016-03-30 08:36:25 -04:00
Drew DeVault
a12850444d
New feature: adjust gaps with floating_mod+scroll
...
I made this configurable but I didn't make the command for it. That's
left as an exercise to an eager contributor.
mod_scroll_behavior [gaps inner|gaps outer]
Would merge implementions of more behaviors for mod+scroll, if anyone
has some neato ideas.
2016-03-30 08:34:32 -04:00
Drew DeVault
4bf10d7771
Merge pull request #551 from mikkeloscar/window-borders
...
Implement Window borders
2016-03-30 07:41:13 -04:00
Mikkel Oscar Lyderik
948c594132
Allow surrounding spaces in mode name
...
This makes it possible to define a mode name with surrounding spaces if
so desired. e.g.:
mode " hello " { }
2016-03-30 12:58:50 +02:00
Mikkel Oscar Lyderik
0af55539a8
Fix borders with floating windows
2016-03-30 10:09:08 +02:00
Mikkel Oscar Lyderik
6fa6c27f3d
Update window title when it changes
2016-03-30 01:01:05 +02:00