Drew DeVault
2d907ef1f6
Merge pull request #811 from acrisci/feature/focus-container
...
Implement focus handling for containers
2016-08-01 07:27:12 -04:00
Zandr Martin
b18c169036
cache floating container size when fullscreening
2016-07-31 21:45:27 -05:00
Tony Crisci
b39249508f
Refactor functions to update container borders
...
Replace `update_view_border()` with `update_container_border()`. The latter
should handle both the case where the container is a view or if the container
has children.
2016-07-31 20:32:40 -04:00
D.B
9977b01928
Update container geometry on layout switch
...
Deeply nested containers which had their layouts changed didn't update
their actual_geometry, this messed up their child containers. Those got
width and height of 0, which was then decreased for stacked/tabbed
containers by title height. Underflow ensued, these containers suddenly
had height 4294967273. In short, not updating actual_geometry didn't
play nicely with nested containers.
2016-07-31 10:22:18 +02:00
Zandr Martin
98aa59fdda
implement solid color rendering for swaybg
2016-07-30 18:50:13 -05:00
Drew DeVault
11e7ca044c
Update hidpi support to latest wlc API
2016-07-28 14:36:49 -04:00
Drew DeVault
6ea02f3064
Initial pass on HiDPI support
2016-07-28 14:36:49 -04:00
Drew DeVault
ee67c5bee3
Merge pull request #791 from acrisci/feature/focus-child
...
Implement `focus child` command
2016-07-28 07:26:37 -04:00
D.B
33c1df38bd
Close all focused container's child views on kill
...
Previously, cmd_kill only closed a focused view, while containers were
not affected. Now it closes all views that are children of the focused
container.
2016-07-28 10:31:18 +02:00
Tony Crisci
88b7cbe314
Implement focus child
command
...
The `focus child` command focuses the child container within the selected
container.
2016-07-27 22:48:46 -04:00
Tony Crisci
0d461ad988
Put ipc command result json in an array
...
For compatibility with i3, put the command result into an array.
Returning multiple command results is still unsupported.
2016-07-23 23:13:09 -04:00
Mykyta Holubakha
976e48d79f
Initial work on window events
2016-07-21 21:51:20 +03:00
David Eklov
d9eb49f3b1
Add missing entry to list of accepted arguments for the move command
2016-07-17 22:52:39 -05:00
David Eklov
d202ca2fd7
Do not crash when handling the command 'move position'
...
Sway expected 'move position' to be 'move position mouse'. If mouse is not
present in the command, Sway crashes.
2016-07-17 22:50:15 -05:00
Drew DeVault
3bb880bf20
Implement configurable wrapping on bar ws scroll
2016-07-17 11:26:38 -04:00
D.B
ad7605675e
refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
2016-07-16 15:34:43 +02:00
D.B
ee67cd0ba1
Fix tabbed/stacked corner case #742
...
Tabbed/stacked containers are now created only if a view is present on
the workspace. If a view is created on previously empty tabbed/stacked
workspace, it gets wrapped in a container.
2016-07-07 22:28:57 +02:00
Zandr Martin
d5e4fff345
resize command updates ( #713 )
2016-07-03 12:11:21 -05:00
Zandr Martin
aced6daa19
match i3 syntax for resize set
2016-07-03 07:05:10 -05:00
Drew DeVault
71f710cf0f
Minor fix to warning messages
2016-06-19 10:01:15 -04:00
Zandr Martin
889618d3ee
implement resize command for absolute dimensions
2016-06-11 17:02:16 -05:00
Zandr Martin
2298143d09
cleanup + add timeouts for pid_workspace list
2016-06-11 12:43:34 -05:00
Zandr Martin
66caee645c
Merge branch 'master' into assign-command
2016-06-11 09:33:24 -05:00
Zandr Martin
b00feb25ea
trigger bg change on config reload
2016-06-10 07:12:25 -05:00
Zandr Martin
0f1859ed25
messy, unfinished version
2016-06-06 06:58:53 -05:00
Denis Doria
3c3e98b1a3
Merge branch 'master' into variables_corner_cases
2016-06-05 07:49:33 +02:00
Zandr Martin
3746542462
add documentation for client commands
2016-06-04 10:43:23 -05:00
Denis Doria
29eb3bf746
Put w to uppercase just to keep consistency between warnings
2016-06-03 11:28:10 +02:00
Denis Doria
bf2298e0a5
Includes $ for variables without it
2016-06-03 11:26:47 +02:00
thuck
f55b5a4982
Fix identation issue
2016-06-03 00:36:41 +02:00
thuck
e4f80877be
Fix output command when varible not set
...
This should fix the corner case where a variable is not assigned, but used anyway.
This should solve partially the issue #681 .
2016-06-03 00:05:10 +02:00
thuck
1ab3e1023e
Including error message when variable do not start with $
2016-06-02 23:23:04 +02:00
Denis Doria
b692a6d31a
Initial implementation for floating_maximum_size
2016-06-02 17:35:02 +02:00
Denis Doria
0ad7857f90
Included option floating_minimum_size
...
Values cannot be negative or 0; if so uses the default 75x50.
Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
2016-06-01 13:37:50 +02: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
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
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
Mykyta Holubakha
16dc31f33b
Concatenate output cmd args, fixes #654
2016-05-23 13:09:18 -04:00
Mykyta Holubakha
e73dde3b10
Support floating_scroll sideways
2016-05-14 23:42:02 +03: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
Mykyta Holubakha
500ee0a731
Allow to set relative path for wallpapers in config
2016-05-08 22:59:06 +03:00
Mykyta Holubakha
0c495eecde
Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
2016-05-08 17:17:35 +03:00
Mykyta Holubakha
0423c41a0f
Implemented configurable floating scroll behavior
2016-05-07 20:49:51 +03:00
Raman Varabets
a9123c38b2
fix a typo (horiziontal -> horizontal)
2016-05-02 19:18:33 +08:00
Eric Engestrom
e53ba08626
sway: fix potential buffer overflow
2016-05-01 13:57:23 +01:00
Jasen Borisov
de007c9b58
Add input cmd for setting pointer accel profile.
2016-05-01 11:02:44 +01:00
Daniel Lockyer
5a7099eee0
sway/commands.c: add some free calls to release allocated memory
2016-04-29 16:16:47 +01: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
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