Mykyta Holubakha
22906f7fce
handlers: preserve parent pointer value
7 years ago
Drew DeVault
b16dbf6d64
Fix crash closing fullscreen windows in container
7 years ago
Drew DeVault
5ecedc7199
Remove destroyed views from scratchpad
...
Fixes #1363
7 years ago
lbonn
61005c3bda
ipc/window-event: fill "container" on close events
...
Also use the recursive description to include children as well
Careful: send the event before deleting the parent
7 years ago
Drew DeVault
3553fa0a74
One more
7 years ago
Drew DeVault
03af90d302
Clean up fallthrough issues
7 years ago
Drew DeVault
14eeeed7e0
Remove test clipboard code
8 years ago
Scott Anderson
c29e5bbde8
Use WLC v2 pointer interface
8 years ago
Drew DeVault
23a1e94402
Make asciidoc (and man pages) optional
...
And remove it from the build
8 years ago
Drew DeVault
298f56353e
Merge branch 'master' into server-decoration
8 years ago
Drew DeVault
d158e18308
Fix Firefox address bar thing
...
And probably some other stuff too
8 years ago
Josip Janzic
400998d6d2
Add mouse button bindings
...
Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle
8 years ago
Drew DeVault
a5c07dde6a
Implement KDE's server-side decoration protocol
8 years ago
Drew DeVault
537261f23f
Fix handling of floating windows
8 years ago
Drew DeVault
51143a75af
Implement no_focus
...
Ref #2
8 years ago
Jerzi Kaminsky
cf5e764c7f
Disambiguate get_*_policy() and get_*_policy_mask()
8 years ago
Zandr Martin
2d46fc5602
prevent fullscreen focus thievery
...
I believe this fixes #1102
8 years ago
Drew DeVault
9aed9d9359
UnGNUify the codebase
8 years ago
Mykyta Holubakha
4eae9b33e8
xdg-positioner: log window placement
8 years ago
Mykyta Holubakha
006bd0bc3f
Handle xdg-positioner stuff
8 years ago
Mykyta Holubakha
7520607b8d
Properly place windows with xdg-positioner
8 years ago
Drew DeVault
527c259d06
Fix #1008
8 years ago
Drew DeVault
8cef81d6f2
Handle some more memory allocation failures
8 years ago
Drew DeVault
d75a747a3d
Handle config-related allocation failures
8 years ago
D.B
6fb4b6737a
add workspace_layout to container
...
Add swayc_change_layout function, which changes either layout or
workspace_layout, depending on the container type.
8 years ago
Drew DeVault
39cf9a82f7
Enforce command policies
8 years ago
Drew DeVault
0d395681fe
Enforce mouse permissions
8 years ago
Drew DeVault
8aeeacf178
Enforce keyboard permissions
8 years ago
Drew DeVault
ffdbb9d050
Enforce fullscreen permissions
8 years ago
Drew DeVault
4cba91803e
Revert "Fixes dealing with workspace_layout and related bugs [rfc]"
8 years ago
D.B
166c2a3687
generalize wrapping views under workspaces
8 years ago
D.B
571321a1d8
add workspace_layout, ensure ws is always L_HORIZ
...
Add swayc_change_layout function, which changes either layout or
workspace_layout, depending on the container type. Workspace being
always L_HORIZ makes this much more i3-compatible.
8 years ago
D.B
0ddc4279d1
wrap workspace's child into a container if needed
...
If workspace has stacked/tabbed layout, its direct children should be
wrapped into a container which enables them to draw the titlebar.
8 years ago
D.B
8264fedce6
fix for_window [] move scratchpad
...
- move wlc_view_set_mask before applying window criteria
- check parent_container because container in scratchpad doesn't have a
parent
8 years ago
Nicolas Cornu
6ced4098dc
fix for click on title_bar
...
- Check null pointer for swayc_parent_by_type
- Split lines to follow coding style
8 years ago
Nicolas Cornu
37065cd0c4
add click on title_bar to focus a container
8 years ago
Zandr Martin
511eed90cd
squash commits, move enum into resize.c
8 years ago
Drew DeVault
0913eff915
Add support for * input configs
...
Closes #852
8 years ago
Drew DeVault
416417a54c
Reorganize includes
8 years ago
D.B
aa292db8d1
Fix switch to prev ws on handle_view_created
...
Switching back to original workspace should be done only if workspace
was switched while appending new view.
9 years ago
Tony Crisci
4344fe5011
bugfix: focus container on output when focused
...
Focus the container on the output (not the output itself) when an output is
focused.
This is intended to fix a bug where borders are not updated correctly when
switching the vt away/back to sway.
9 years ago
Tony Crisci
2f65100bee
Remove dead global locked_view_focus
...
The value of `locked_view_focus` is always false. Remove dead code associated
with this variable to simplify things.
9 years ago
Tony Crisci
d731d6a846
Bugfix: descend focus stack on new window focus
...
When switching back to a workspace after new window creation, it is now
necessary to descend the focus stack into the focused container of the
workspace to determine which container should get the focus. This is because
the `set_focused_container()` function no longer automatically descends into
the focus stack to find the correct view to focus.
9 years ago
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.
9 years ago
Zandr Martin
c0683a0444
remove outdated (when wlc commit merged) comment
9 years ago
Zandr Martin
d0a0d5e03c
update handler to get pid from wlc for all views
9 years ago
Drew DeVault
3f83968d30
Fix swaybg sizing on hidpi outputs
9 years ago
Drew DeVault
9661272224
Merge remote-tracking branch 'origin/hidpi'
9 years ago
Zandr Martin
a3980d456d
third try for #678
9 years ago
Drew DeVault
11e7ca044c
Update hidpi support to latest wlc API
9 years ago