emersion
f90ff1210b
Teardown compositor when failing to drop permissions
6 years ago
emersion
9dae68eba5
Make it clear that being able to restore root is a failure
6 years ago
mwenzkowski
cd0bae80b6
Fix #2992
...
Move a function call, such that data it depends on is initialized before.
6 years ago
Drew DeVault
8ad06f0ec5
Merge pull request #3041 from RyanDwyer/marks-props-to-container
...
Move view marks properties to container struct
6 years ago
Ryan Dwyer
9fc736f4e1
Move view marks properties to container struct
...
Like border properties, this will be needed to implement layout saving
and restoring.
6 years ago
Drew DeVault
480b03b734
Merge pull request #3040 from RyanDwyer/border-props-to-container
...
Move view border properties to container struct
6 years ago
Drew DeVault
35fda6765b
Merge pull request #3037 from RyanDwyer/focus-output-wrap
...
Wrap to fartherest output when running focus output
6 years ago
Ryan Dwyer
bf19f63a79
Wrap to fartherest output when running focus output
...
Also moves the `opposite_direction` function into `util.c` as it's used
in two places now.
6 years ago
Drew DeVault
f841d2ed74
Merge pull request #3042 from madblobfish/swaymsg-fish-completions
...
improved swaymsg completions for fish
6 years ago
madblobfish
4e20907364
improved swaymsg completions for fish
6 years ago
Ryan Dwyer
528c7495bb
Move view border properties to container struct
...
This will be needed to implement layout saving and restoring, as we need
to be able to configure borders on a placeholder container which has no
view.
6 years ago
Drew DeVault
e21a23348b
Merge pull request #3031 from atomnuker/master
...
Restore previous tabbed layout behavior
6 years ago
emersion
e9c136b0ee
Merge pull request #3027 from madblobfish/remove-resolve_path
...
Remove resolve_path() from utils
6 years ago
Drew DeVault
fbbf810668
Update ISSUE_TEMPLATE.md
6 years ago
madblobfish
1f23ec2d05
Revert "Add resolve_path() to utils"
...
This reverts commit c9694ee63d
.
6 years ago
emersion
d3a6263311
Merge pull request #3033 from RyanDwyer/remove-movement-direction
...
Remove enum movement_direction
6 years ago
Ryan Dwyer
7be309710d
Remove enum movement_direction
...
There's no point having both movement_direction and wlr_direction. This
replaces the former with the latter.
As movement_direction also contained MOVE_PARENT and MOVE_CHILD items,
these are now checked specifically in the focus command and handled in
separate functions, just like the other focus variants.
6 years ago
Rostislav Pehlivanov
b0fb2846fe
Revert "Respect border settings when rendering lone tabbed/stacked child"
...
This reverts commit 65328ef60c
.
6 years ago
Rostislav Pehlivanov
a67e1b5873
Revert "tree/view.c: fix uninitialized variables warning"
...
This reverts commit 6414b5d288
.
6 years ago
Drew DeVault
b90af33570
Merge pull request #3020 from emersion/swaymsg-return-status
...
swaymsg: fix get_outputs status code
6 years ago
emersion
eb675f0dfd
swaymsg: fix get_outputs status code
6 years ago
emersion
1c2a356dcf
Merge pull request #3016 from mwenzkowski/fix-uninitialized-pointer
...
cursor: fix uninitialized pointer in cursor_rebase
6 years ago
Brian Ashworth
d14a627c10
Merge pull request #3009 from emersion/swayidle-sigusr
...
swayidle: enter idle state on SIGUSR1
6 years ago
mwenzkowski
66ae58d62a
cursor: fix uninitialized pointer in cursor_rebase
6 years ago
Drew DeVault
09f3f7b75f
Merge pull request #3011 from Emantor/fix/2922
...
output: initialize layers before usage in apply_config
6 years ago
Drew DeVault
aa21d1b867
Merge pull request #3010 from Emantor/fix/cursor_warping_view_map
...
input-manager: consider cursor warping on input_manager_set_focus
6 years ago
Drew DeVault
5ea81e6f7e
Merge pull request #3008 from CameronNemo/patch-1
...
Create ISSUE_TEMPLATE.md
6 years ago
Rouven Czerwinski
e4df675840
output: initialize layers and signal before using functions
...
The previous pull request #2993 tried to fix this by moving the function which
used the layers after the initilization.
Since this initialization is done unconditionally only depending on the struct
definition, move the layer initialization to the beginning of the function.
Also move the signal initialization of the destroy event.
Fixes #2992
6 years ago
Rouven Czerwinski
6f87d0c2cf
input-manager: consider cursor warping on input_manager_set_focus
...
input_manager_set_focus is used to set the focus after mapping the view in
view_map. This needs to consider to warp the cursor as well, since for
WARP_CONTAINER, the cursor should warp to the newly created view.
6 years ago
emersion
5fcb814a73
swayidle: enter idle state on SIGUSR1
6 years ago
Cameron Nemo
93eec3e1b6
Create ISSUE_TEMPLATE.md
6 years ago
Drew DeVault
2ccf511cba
Merge pull request #3006 from Snaipe/remove-class
...
ipc: make json for view match i3's output more closely
6 years ago
emersion
e3a0e3322b
Merge pull request #3000 from Robinhuett/workspace_address_output_by_name
...
Use output identifier for workspace config
6 years ago
emersion
f9a276544b
Merge pull request #3003 from Hi-Angel/master
...
seat: don't traverse the list to check if it's empty
6 years ago
Konstantin Kharlamov
cd3c2f4553
seat: don't traverse the list to check if it's empty
...
Found by introspection.
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
6 years ago
Franklin "Snaipe" Mathieu
03ca8596d6
ipc: make class, instance, and title window properties optional
...
i3 seems to make all window properties, with the exception of
transient_for, optional[1].
[1]: 315ff17563/src/ipc.c (L435-L450)
Signed-off-by: Franklin "Snaipe" Mathieu <snaipe@diacritic.io>
6 years ago
Franklin "Snaipe" Mathieu
259fe1e76f
ipc: remove class key from view json
...
It turns out that i3 does not have a `class` key in the json description
of a view, but provides it through `window_properties.class`. Since
`window_properties` has been added by 8fc9328
, we can remove `class`
altogether.
Signed-off-by: Franklin "Snaipe" Mathieu <snaipe@diacritic.io>
6 years ago
Drew DeVault
707f3ad275
Merge pull request #3001 from madblobfish/swaylock-completions-and-manpage
...
Reworked fish completions and moved stuff in swaylock manpage
6 years ago
madblobfish
31d1ffb88f
added fish completions for swaynag
6 years ago
madblobfish
834f23f57a
added fish completions for swayidle
6 years ago
Robinhuett
0a4cf4748d
Use output identifier for workspace config
6 years ago
madblobfish
fe32a745ee
reordered swaylock manpage
6 years ago
madblobfish
cff62bf846
updated fish completions for swaylock
6 years ago
Drew DeVault
5a98dfee02
Revert "Fix #2992"
...
This reverts commit 94985146ea
.
6 years ago
emersion
de250a523f
Merge pull request #2997 from RyanDwyer/fix-cursor-during-operation
...
Don't reset cursor during mouse operations
6 years ago
Ryan Dwyer
d0dca7f35e
Don't reset cursor during mouse operations
6 years ago
Ryan Dwyer
e4053191e6
Merge pull request #2995 from colemickens/uninit-warnings
...
tree/view.c: fix uninitialized variables warning
6 years ago
Cole Mickens
6414b5d288
tree/view.c: fix uninitialized variables warning
6 years ago
Drew DeVault
25a8f7dcb8
Merge pull request #2994 from RyanDwyer/respect-lone-child-border
...
Respect border settings when rendering lone tabbed/stacked child
6 years ago
Ryan Dwyer
65328ef60c
Respect border settings when rendering lone tabbed/stacked child
...
In i3, when a child of a tabbed or stacked container has no siblings,
its border settings are respected.
This patch achieves the same effect by rendering a lone tabbed/stacked
child as if it's a linear container. This makes the border settings be
respected.
Over in view_autoconfigure, we compensate for this by only adjusting
`y_offset` if there's multiple children.
6 years ago