| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Implement assign to output
|
| |
| |
| |
| | |
Eg. assign [class="Firefox"] output foo
|
|\ \
| |/
|/| |
Fix deferred command handling
|
| | |
|
|\ \
| | |
| | | |
Allow xwayland views to become urgent when on a non-visible workspace
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Implement focus output command
|
| | | | |
|
| | | | |
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
Fix crash and render issues involving cursor_send_pointer_motion
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #2303, as well as a crash.
To replicate the crash:
* Have multiple outputs
* In config: for_window [<criteria>] workspace foo
* Also in config: workspace foo output <left-output-name>
* Focus the right output, and ensure workspace foo doesn't exist
* Launch the app that triggers the criteria
When the view maps, it calls workspace_switch which calls
send_set_focus which calls cursor_send_pointer_motion which calls
transaction_commit_dirty. This call to transaction_commit_dirty is not
meant to happen at this time because the tree isn't guaranteed to be in
a consistent state, but I'm not sure how exactly this leads to the crash
or render issues.
In this case the transaction is already committed by the view
implementation's handle_map function. So the solution is to remove it
from cursor_send_pointer_motion and add it to the other functions in
cursor.c which call cursor_send_pointer_motion.
|
|\ \ \
| |/ /
|/| | |
Fix crash when moving workspace to output
|
|/ / |
|
|/
|
|
|
|
|
| |
This removes the urgency stuff from the commit handler and puts it in a
new set_hints handler instead. This allows the xwayland surface to
become urgent without having to commit (which doesn't happen if it's on
an non-visible workspace).
|
|\
| |
| | |
Handle xwayland override_redirect flag change
|
| | |
|
|/
|
|
| |
This fixes syncplay menus.
|
|\
| |
| | |
Update cursor on focus change
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows to send wl_pointer.enter when switching between views
in a split/tabbed layout for instance. This (1) updates the cursor
image accordingly (2) makes it unnecessary to move the mouse before
scrolling. It's harmless to always call cursor_send_pointer_motion
because in case the focused surface hasn't changed this is a no-op.
The `last_focus != NULL` condition is required otherwise
cursor_send_pointer_motion will crash when sway starts up (the
sway_output doesn't yet have a workspace).
|
|\ \
| | |
| | | |
Fix swaylock arguments
|
|/ / |
|
|\ \
| | |
| | | |
Destroy empty workspace when destroying its output
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| |_|/
|/| | |
Send clicks to swaybar blocks as X11 button ids
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix memory leaks and reference to uninitialized
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Also free cmd_list when cleaning up a struct criteria.
|
|/ / /
| | |
| | |
| | |
| | | |
Otherwise, sway crashes due to uninitialized pointer
dereference when AddressSanitizer is active.
|
|\ \ \
| | | |
| | | | |
Implement default_floating_border command and adjust CSD behaviour
|
| |\ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
|
|\ \ \ \
| | | | |
| | | | | |
Remove superfluous IPC urgent events
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When an xwayland view is mapped, the IPC urgent event was being sent on
every surface commit.
I had intentionally ommitted the check because I figured an urgent
surface could update its urgent timestamp by sending urgent a second
time. But that's not how it works in xwayland's case, and it makes for
more complicated code.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
swayidle: cleanup
|
| | | |
| | | |
| | | |
| | | | |
No idea why wlr_output_layout was involved here.
|
|\ \ \ \
| | | | |
| | | | | |
Implement urgency base functionality
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I didn't expect a function called ipc_json_describe_view to be passed a
container which wasn't a view :\
|
| | | | | |
|
| | | | | |
|