aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-23Merge pull request #2341 from RedSoxFan/fix-2339Drew DeVault
Add missing checks to fix 2339
2018-07-23Add missing checks to fix 2339Brian Ashworth
2018-07-23Merge pull request #2338 from somdoron/masteremersion
fix crash on new output while swaylock is running
2018-07-23fix crash on new output while swaylock is runningsomdoron
2018-07-23Merge pull request #2323 from RyanDwyer/scratchpadDrew DeVault
Implement scratchpad
2018-07-23Store scratchpad list in sway_root instead of serverRyan Dwyer
2018-07-23Implement scratchpadRyan Dwyer
Implements the following commands: * move scratchpad * scratchpad show * [criteria] scratchpad show Also fixes these: * Fix memory leak when executing command with criteria (use `list_free(views)` instead of `free(views)`) * Fix crash when running `move to` with no further arguments
2018-07-23Merge pull request #2328 from emersion/xdg-shell-set-titleRyan Dwyer
Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
2018-07-22Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6emersion
This allows to update the title even if the view doesn't commit. This is useful e.g. when a terminal sets its toplevel title to the currently running command and when the view isn't visible.
2018-07-22Merge pull request #2296 from RyanDwyer/floating-modifieremersion
Implement floating_modifier and mouse operations for floating views
2018-07-22Set cursor when beginning resize and move operationsRyan Dwyer
2018-07-22Fix damage when shrinking a floating view using cursorRyan Dwyer
2018-07-22Implement request_move and request_resize for xwayland viewsRyan Dwyer
I discovered we have to send a click event when ending the move or resize operation to make xwayland's requests work correctly.
2018-07-22Fix focus bug with floating containersRyan Dwyer
2018-07-22Deny move/resize events for tiled xdg shell viewsRyan Dwyer
2018-07-22Consider view's min/max sizes when resizingRyan Dwyer
2018-07-22Store last button and use it when views request to move or resizeRyan Dwyer
2018-07-22Prevent re-uploading the same cursor image multiple timesRyan Dwyer
2018-07-22Replace static handle_end_operation with seat_end_mouse_operationRyan Dwyer
2018-07-22Remove unnecessary includesRyan Dwyer
2018-07-22Implement xdg shell request_move and request_resize eventsRyan Dwyer
Also does a few other related things: * Now uses enum wlr_edges instead of our own enum resize_edge * Now uses wlr_xcursor_get_resize_name and removes our own find_resize_edge_name * Renames drag to move for consistency
2018-07-22Use wlr_keyboard_get_modifiersRyan Dwyer
2018-07-22Use separate function for choosing edge cursorRyan Dwyer
2018-07-22Improve resize performance by partially flushing the transaction queueRyan Dwyer
When interactively resizing some views (eg. Nautilus), new transactions are added to the queue faster than the client can process them. Previously, we would wait for the entire queue to be ready before applying any of them, but in this case the transactions would time out, giving the client choppy performance. This changes the queue handling so it applies the transactions up to the first waiting transaction, without waiting for the entire queue to be ready.
2018-07-22Fix clicking xwayland menusRyan Dwyer
2018-07-22Use max multiplier when resizing while preserving ratioRyan Dwyer
2018-07-22Fix damage issue when moving and resizingRyan Dwyer
2018-07-22Make mod + resize do it from the top left cornerRyan Dwyer
2018-07-22Use WLR_MODIFIER_SHIFTRyan Dwyer
2018-07-22Implement floating_modifier and mouse operations for floating viewsRyan Dwyer
This implements the following: * `floating_modifier` configuration directive * Drag a floating window by its title bar * Hold mod + drag a floating window from anywhere * Resize a floating view by dragging the border * Resize a floating view by holding mod and right clicking anywhere on the view * Resize a floating view and keep aspect ratio by holding shift while resizing using either method * Mouse cursor turns into resize when hovering floating border or corner
2018-07-21Merge pull request #2320 from RedSoxFan/reset-outputs-on-reloadRyan Dwyer
Reset outputs on reload
2018-07-20Reset outputs on reloadBrian Ashworth
2018-07-20Merge pull request #2317 from RyanDwyer/force-display-urgency-hintBrian Ashworth
Implement force_display_urgency_hint
2018-07-21Fix urgent timer logic and remove unnecessary header includesRyan Dwyer
2018-07-21Implement force_display_urgency_hintRyan Dwyer
The directive sets the timeout before an urgent view becomes normal again after switching to it from another workspace. Also: * When an xwayland surface removes the urgent hint while the timer is active, we now ignore the request. This happens as soon as the view receives focus, so it was effectively making the timer pointless. * The timeout is now only applied when switching to it from another workspace.
2018-07-20Merge pull request #2318 from RedSoxFan/fix-output-wildcardemersion
Fix output wildcard handling
2018-07-20Fix output wildcard handlingBrian Ashworth
2018-07-20Merge pull request #2313 from minus7/swaybar-hotspot-input-fixDrew DeVault
swaybar: Fix scroll handling on workspace buttons
2018-07-19Merge pull request #2316 from RyanDwyer/fix-floating-pointer-eventsBrian Ashworth
Fix pointer events for overlapping floating views
2018-07-20Fix pointer events for overlapping floating viewsRyan Dwyer
Fixes #2315.
2018-07-19Merge pull request #2314 from emersion/update-wlroots-1148Drew DeVault
Update for swaywm/wlroots#1148
2018-07-19Merge branch 'master' into update-wlroots-1148Drew DeVault
2018-07-19Update for swaywm/wlroots#1148emersion
2018-07-19swaybar: Fix scroll handling on workspace buttonsminus
As well as ignoring scroll events on status elements when click_events is enabled. Previously, using the scroll wheel on a workspace button would switch to that workspace instead of scrolling through them. Clicks and scrolling on status elements would always be processed by swaybar, too. So in case you were using scrolling as volume control on a status item, swaybar would additionally scroll through your workspaces.
2018-07-19Merge pull request #2310 from RyanDwyer/assign-outputDrew DeVault
Implement assign to output
2018-07-19Merge pull request #2304 from RedSoxFan/fix-2298emersion
Fix deferred command handling
2018-07-19Implement assign to outputRyan Dwyer
Eg. assign [class="Firefox"] output foo
2018-07-19Merge pull request #2309 from RyanDwyer/xwayland-set-hintsemersion
Allow xwayland views to become urgent when on a non-visible workspace
2018-07-19Merge branch 'master' into xwayland-set-hintsemersion
2018-07-19Merge pull request #2305 from RyanDwyer/focus-outputemersion
Implement focus output command