Ryan Dwyer
255dc8bbb0
swaybar: Read urgent colors from IPC
7 years ago
emersion
297e32126f
Merge pull request #2265 from RedSoxFan/implement-1962
...
Implement swaylock configuration file parsing
7 years ago
emersion
4657ea5a42
swayidle: cleanup
...
No idea why wlr_output_layout was involved here.
7 years ago
Brian Ashworth
7b91712416
Switch to using getopt_long for config flag
7 years ago
Brian Ashworth
14c949c1c7
Remove leftover parens
7 years ago
Brian Ashworth
85584734ce
Remove int cast after changing to size_t
7 years ago
Brian Ashworth
d375f6af18
Change to size_t in swaylock's get_config_path
7 years ago
Brian Ashworth
296889f3d7
Implement swaylock configuration file parsing
7 years ago
Drew DeVault
6a9ca6efa0
Merge pull request #2283 from RyanDwyer/no-focus
...
Implement no_focus command
7 years ago
Ryan Dwyer
e2f28c023c
Focus view before running criteria when mapping
7 years ago
Ryan Dwyer
fc2484095a
Implement no_focus command
7 years ago
emersion
a588b326c2
Merge pull request #2282 from RyanDwyer/fix-tab-split-focus
...
Fix tab split focus bug
7 years ago
Ryan Dwyer
af5f736277
Render containers as urgent if they have an urgent child
7 years ago
Ryan Dwyer
9ca5cb7faf
Fix tab split focus bug
...
Fixes a bug where if you have a tab containing a split, then switch from
a non-split tab to the split tab, focus is not changed properly.
7 years ago
Ryan Dwyer
be28c18ad5
Mark containers as urgent in IPC if they have urgent views
7 years ago
Ryan Dwyer
5f0a4bb6a4
Update workspace urgent state when views close or move workspaces
7 years ago
Ryan Dwyer
560627437b
Make container_for_each_descendant_dfs descend into floating views
7 years ago
Ryan Dwyer
64e3bc3ab0
Fix crash in ipc_json_describe_view
...
I didn't expect a function called ipc_json_describe_view to be passed a
container which wasn't a view :\
7 years ago
Ryan Dwyer
a211daf9e6
Add documentation for urgent command
7 years ago
Ryan Dwyer
e3f90f00fe
Implement xwayland urgency hint
7 years ago
Ryan Dwyer
f86087d78f
Fix urgency IPC events
7 years ago
Ryan Dwyer
315d5311b2
Implement urgency base functionality
...
Introduces a command to manually set urgency, as well as rendering of
urgent views, sending the IPC event, removing urgency after focused for
one second, and matching urgent views via criteria.
7 years ago
emersion
b314a8f2cc
Merge pull request #2280 from ianyfan/leaks
...
Fix some memory leaks
7 years ago
Ian Fan
9559e3e2af
config output: free command string if unused
7 years ago
Ian Fan
92450883d7
config: free include path on successful load
7 years ago
Ian Fan
ba8981e44b
bar: free old position when changing
7 years ago
Drew DeVault
87334dbccb
Merge pull request #2277 from ianyfan/config-read-fix
...
Fix config buffer overflow and logic
7 years ago
Ian Fan
011d43746f
Add error handling for getting config file size
7 years ago
Ian Fan
e6209afcd6
Fix config buffer overflow and logic
7 years ago
Drew DeVault
8e05fb7826
Merge pull request #2275 from RyanDwyer/transactionise-focus
...
Make focus part of transactions
7 years ago
Ryan Dwyer
a120d4c79f
Make focus part of transactions
...
Rather than maintain copies of the entire focus stack, this PR
transactionises the focus by introducing two new properties to the
container state and using those when rendering.
* `bool focused` means this container has actual focus. Only one
container should have this equalling true in its current state.
* `struct sway_container *focus_inactive_child` points to the immediate
child that was most recently focused (eg. for tabbed and stacked
containers).
7 years ago
Drew DeVault
53e3f35ba3
Merge pull request #2272 from RyanDwyer/simplify-transactions
...
Simplify transactions by using a dirty flag on containers
7 years ago
Drew DeVault
806c06fdfb
Merge pull request #2266 from emersion/remove-orbital-screenshooter
...
Remove orbital screenshooter
7 years ago
Drew DeVault
f4edf84b4f
Merge pull request #2273 from swaywm/debug-flags
...
Add extended debugging flags
7 years ago
Drew DeVault
b1afcc69fa
Add extended debugging flags
...
We currently have several ways of setting debug flags, including command
line arguments, environment variables, and compile-time macros. This
replaces the lot with command line flags.
7 years ago
Ryan Dwyer
6b2dc7e63b
Set signature to void
7 years ago
Ryan Dwyer
2032f85d94
Simplify transactions by utilising a dirty flag on containers
...
This PR changes the way we handle transactions to a more simple method.
The new method is to mark containers as dirty from low level code
(eg. arranging, or container_destroy, and eventually seat_set_focus),
then call transaction_commit_dirty which picks up those containers and
runs them through a transaction. The old methods of using transactions
(arrange_and_commit, or creating one manually) are now no longer
possible.
The highest-level code (execute_command and view implementation
handlers) will call transaction_commit_dirty, so most other code just
needs to set containers as dirty. This is done by arranging, but can
also be done by calling container_set_dirty.
7 years ago
Drew DeVault
dbeb03aa68
Merge pull request #2271 from RedSoxFan/implement-1569
...
Implement tap_button_map for input devices
7 years ago
Brian Ashworth
13c6627ddb
Implement tap_button_map for input devices
7 years ago
Drew DeVault
63f28bcf1e
Merge pull request #2244 from RyanDwyer/floating-resize
...
Implement resize command for floating views
7 years ago
Ryan Dwyer
0584ecec0a
Force min/max size when resizing floating containers
7 years ago
Ryan Dwyer
5940682f40
Implement resize grow|shrink <direction> <amount> or <amount>
7 years ago
Ryan Dwyer
558ca9fc28
Implement resize command for floating views
...
Implements the following for floating views:
* resize set <width> <height>
* resize <grow|shrink> <width|height|up|down|left|right> <amount>
7 years ago
emersion
4e486a01bb
Merge pull request #2269 from minus7/swaybarbg-crash-on-dpms-resume
...
swaybar/bg: Fix crash on DPMS off
7 years ago
minus
c73a40555f
swaybar/bg: Fix crash on DPMS off
...
When turning off displays via DPMS, swaybar and swaybg still tried to
render, but did not get a valid buffer, causing them to crash.
7 years ago
Drew DeVault
e0e31418d4
Merge pull request #2267 from emersion/simplify-popup-constraints
...
Simplify popup_unconstrain
7 years ago
emersion
efda33b285
Simplify popup_unconstrain
...
Just use the parent output.
7 years ago
emersion
82c978d34b
Remove orbital screenshooter
7 years ago
Drew DeVault
671a202c94
Merge pull request #2260 from emersion/fix-has-opaque-lockscreen
...
Fix output_has_opaque_lockscreen
7 years ago
emersion
d88f1d2196
Fix output_has_opaque_lockscreen
7 years ago