aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Store last button and use it when views request to move or resizeLibravatar Ryan Dwyer2018-07-22
|
* Prevent re-uploading the same cursor image multiple timesLibravatar Ryan Dwyer2018-07-22
|
* Replace static handle_end_operation with seat_end_mouse_operationLibravatar Ryan Dwyer2018-07-22
|
* Remove unnecessary includesLibravatar Ryan Dwyer2018-07-22
|
* Implement xdg shell request_move and request_resize eventsLibravatar Ryan Dwyer2018-07-22
| | | | | | | | | 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
* Use wlr_keyboard_get_modifiersLibravatar Ryan Dwyer2018-07-22
|
* Use separate function for choosing edge cursorLibravatar Ryan Dwyer2018-07-22
|
* Improve resize performance by partially flushing the transaction queueLibravatar Ryan Dwyer2018-07-22
| | | | | | | | | | | | 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.
* Fix clicking xwayland menusLibravatar Ryan Dwyer2018-07-22
|
* Use max multiplier when resizing while preserving ratioLibravatar Ryan Dwyer2018-07-22
|
* Fix damage issue when moving and resizingLibravatar Ryan Dwyer2018-07-22
|
* Make mod + resize do it from the top left cornerLibravatar Ryan Dwyer2018-07-22
|
* Use WLR_MODIFIER_SHIFTLibravatar Ryan Dwyer2018-07-22
|
* Implement floating_modifier and mouse operations for floating viewsLibravatar Ryan Dwyer2018-07-22
| | | | | | | | | | | | | | 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
* Merge pull request #2320 from RedSoxFan/reset-outputs-on-reloadLibravatar Ryan Dwyer2018-07-21
|\ | | | | Reset outputs on reload
| * Reset outputs on reloadLibravatar Brian Ashworth2018-07-20
|/
* Merge pull request #2317 from RyanDwyer/force-display-urgency-hintLibravatar Brian Ashworth2018-07-20
|\ | | | | Implement force_display_urgency_hint
| * Fix urgent timer logic and remove unnecessary header includesLibravatar Ryan Dwyer2018-07-21
| |
| * Implement force_display_urgency_hintLibravatar Ryan Dwyer2018-07-21
|/ | | | | | | | | | | | | 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.
* Merge pull request #2318 from RedSoxFan/fix-output-wildcardLibravatar emersion2018-07-20
|\ | | | | Fix output wildcard handling
| * Fix output wildcard handlingLibravatar Brian Ashworth2018-07-20
|/
* Merge pull request #2313 from minus7/swaybar-hotspot-input-fixLibravatar Drew DeVault2018-07-20
|\ | | | | swaybar: Fix scroll handling on workspace buttons
| * swaybar: Fix scroll handling on workspace buttonsLibravatar minus2018-07-19
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #2316 from RyanDwyer/fix-floating-pointer-eventsLibravatar Brian Ashworth2018-07-19
|\ \ | | | | | | Fix pointer events for overlapping floating views
| * | Fix pointer events for overlapping floating viewsLibravatar Ryan Dwyer2018-07-20
|/ / | | | | | | Fixes #2315.
* | Merge pull request #2314 from emersion/update-wlroots-1148Libravatar Drew DeVault2018-07-19
|\ \ | |/ |/| Update for swaywm/wlroots#1148
| * Merge branch 'master' into update-wlroots-1148Libravatar Drew DeVault2018-07-19
| |\ | |/ |/|
* | Merge pull request #2310 from RyanDwyer/assign-outputLibravatar Drew DeVault2018-07-19
|\ \ | | | | | | Implement assign to output
| * | Implement assign to outputLibravatar Ryan Dwyer2018-07-19
| | | | | | | | | | | | Eg. assign [class="Firefox"] output foo
* | | Merge pull request #2304 from RedSoxFan/fix-2298Libravatar emersion2018-07-19
|\ \ \ | |/ / |/| | Fix deferred command handling
| * | Fix deferred command handlingLibravatar Brian Ashworth2018-07-19
| | |
| | * Update for swaywm/wlroots#1148Libravatar emersion2018-07-19
| |/ |/|
* | Merge pull request #2309 from RyanDwyer/xwayland-set-hintsLibravatar emersion2018-07-19
|\ \ | | | | | | Allow xwayland views to become urgent when on a non-visible workspace
| * \ Merge branch 'master' into xwayland-set-hintsLibravatar emersion2018-07-19
| |\ \ | |/ / |/| |
* | | Merge pull request #2305 from RyanDwyer/focus-outputLibravatar emersion2018-07-19
|\ \ \ | | | | | | | | Implement focus output command
| * | | Use parse_movement_directionLibravatar Ryan Dwyer2018-07-19
| | | |
| * | | Defer the focus commandsLibravatar Ryan Dwyer2018-07-19
| | | |
| * | | Implement focus output commandLibravatar Ryan Dwyer2018-07-19
| | |/ | |/|
* | | Merge pull request #2308 from RyanDwyer/fix-double-transactionLibravatar emersion2018-07-19
|\ \ \ | | | | | | | | Fix crash and render issues involving cursor_send_pointer_motion
| * | | Fix crash and render issues involving cursor_send_pointer_motionLibravatar Ryan Dwyer2018-07-19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #2306 from RyanDwyer/move-workspace-crashLibravatar emersion2018-07-19
|\ \ \ | |/ / |/| | Fix crash when moving workspace to output
| * | Fix crash when moving workspace to outputLibravatar Ryan Dwyer2018-07-19
|/ /
| * Allow xwayland views to become urgent when on a non-visible workspaceLibravatar Ryan Dwyer2018-07-19
|/ | | | | | | 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).
* Merge pull request #2300 from emersion/override-redirect-updatesLibravatar Drew DeVault2018-07-18
|\ | | | | Handle xwayland override_redirect flag change
| * Don't unfocus when an override redirect window is mappedLibravatar emersion2018-07-18
| |
| * Handle xwayland override_redirect flag changeLibravatar emersion2018-07-18
|/ | | | This fixes syncplay menus.
* Merge pull request #2292 from emersion/update-cursor-on-focusLibravatar Drew DeVault2018-07-17
|\ | | | | Update cursor on focus change
| * Update cursor on focus changeLibravatar emersion2018-07-17
| | | | | | | | | | | | | | | | | | | | | | | | 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).
* | Merge pull request #2294 from RedSoxFan/fix-swaylock-argsLibravatar Drew DeVault2018-07-17
|\ \ | | | | | | Fix swaylock arguments
| * | Fix swaylock argumentsLibravatar Brian Ashworth2018-07-17
|/ /