summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Merge pull request #2391 from RyanDwyer/fix-popups-v2Libravatar Drew DeVault2018-08-01
|\ | | | | Fix popups (v2)
| * Close popups when changing focusLibravatar Ryan Dwyer2018-07-31
| | | | | | | | Also reverts the send frame done changes from the previous commit.
| * Fix popupsLibravatar Ryan Dwyer2018-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the render and container_at order for popups. Fixes #2210 For rendering: * render_view_surfaces has been renamed to render_view_toplevels * render_view_toplevels now uses output_surface_for_each_surface (which is now public), as that function uses wlr_surface_for_each_surface which doesn't descend into popups * Views now have a for_each_popup iterator, which is used by the renderer to render the focused view's popups * When rendering a popup, toplevels (xdg subsurfaces) of that popup are also rendered For sending frame done, the logic has been updated to match the rendering logic: * send_frame_done_container no longer descends into popups * for_each_popup is used to send frame done to the focused view's popups and their child toplevels For container_at: * floating_container_at is now static, which means it had to be moved higher in the file. * container_at now considers popups for the focused view before checking containers. * tiling_container_at has been introduced, so that it doesn't call container_at recursively (it would check popups recursively if it did)
* | ipc: remove extraneous valuesLibravatar Ian Fan2018-08-01
| | | | | | | | Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
* | ipc: prevent emitting a workspace::focus event when moving a container to a ↵Libravatar Ian Fan2018-08-01
| | | | | | | | | | | | different workspace or output When a container is moved from, say, workspace 1 to workspace 2, workspace 2 is focused in order to arrange the windows before focus is moved back to workspace 1, which caused a workspace:focus event from workspace 2 to workspace 1 to be emitted. This commit inhibits that event.
* | ipc: fix workspace::focus event behaviourLibravatar Ian Fan2018-08-01
| |
* | ipc: add tick eventLibravatar Ian Fan2018-08-01
| |
* | ipc: always include old property in workspace eventsLibravatar Ian Fan2018-08-01
| |
* | ipc: add workspace::reload eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add binding eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add window::move eventsLibravatar Ian Fan2018-08-01
| |
* | ipc: fix workspace::move calls argument orderLibravatar Ian Fan2018-08-01
| |
* | ipc: only emit window::create event for viewsLibravatar Ian Fan2018-08-01
| |
* | ipc: add window::mark eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add barconfig_update event on config reloadLibravatar Ian Fan2018-08-01
| |
* | ipc: add workspace::empty eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add window::title eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add window::focus eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add window::close eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add workspace::init eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add shutdown eventLibravatar Ian Fan2018-08-01
| |
* | XCursor is not configured if no pointer device is availableLibravatar chr0me2018-08-01
| |
* | Create list for mouse binds when creating new modeLibravatar Brian Ashworth2018-07-31
|/
* Fix segfault with fullscreenLibravatar emersion2018-07-30
|
* Merge pull request #2367 from emersion/iterator-redesignLibravatar Drew DeVault2018-07-30
|\ | | | | Refactor surface iterators
| * Make output_surface_for_each_surface_iterator staticLibravatar emersion2018-07-29
| |
| * Remove unused output_from_wlr_outputLibravatar emersion2018-07-29
| |
| * Remove output_surface_for_each_surface from headerLibravatar emersion2018-07-29
| |
| * Completely switch over to new iteratorsLibravatar emersion2018-07-29
| |
| * wip: redesign output_view_for_each_surface iteratorLibravatar emersion2018-07-29
| |
| * wip: redesign output_layer_for_each_surface iteratorLibravatar emersion2018-07-29
| |
| * wip: redesign output_drag_icons_for_each_surface iteratorLibravatar emersion2018-07-29
| |
| * wip: redesign output_unmanaged_for_each_surface iteratorLibravatar emersion2018-07-29
| |
* | Merge pull request #2381 from frsfnrrg/key-repeatLibravatar Drew DeVault2018-07-30
|\ \ | | | | | | Implement key repeat for keybindings
| * | Bindings use advised keyboard repeat parametersLibravatar frsfnrrg2018-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now 'repeat_delay' and 'repeat_rate' control the initial delay and rate (per second) of repeated binding invocations. If the repeat delay is zero, binding repetition is disabled. When the repeat rate is zero, the binding is repeated exactly once, assuming no other key events intervene.
| * | Implement key repeat for pressed key bindingsLibravatar frsfnrrg2018-07-29
| | | | | | | | | | | | | | | | | | | | | | | | Each sway_keyboard is provided with a wayland timer event source. When a valid keypress binding has been found, a callback to handle_keyboard_repeat is set. Any key event will either clear the callback or (if the new key event is a valid keypress binding) delay the callback again.
* | | delete references to swaygrabLibravatar Eric Engestrom2018-07-30
| | |
* | | Fix title textures on scale changeLibravatar Brian Ashworth2018-07-30
|/ /
* / Don't give focus if xwayland window has a type hintLibravatar emersion2018-07-29
|/
* Merge branch 'master' into tap-button-map-man-fixLibravatar Ryan Dwyer2018-07-29
|\
| * Merge pull request #2376 from swaywm/virtual-keyboardLibravatar emersion2018-07-29
| |\ | | | | | | Add virtual keyboard protocol
| | * Add virtual keyboard protocolLibravatar Drew DeVault2018-07-28
| | | | | | | | | | | | Ref #2373
* | | Escaping underscores in tap_button_mapLibravatar Marius Orcsik2018-07-29
|/ /
* / Don't enable numlock by default. This fixes an annoying issue where laptop ↵Libravatar Geoff Greer2018-07-28
|/ | | | keyboards would have 'numlock mode' enabled, remapping parts of the alphabet to numbers.
* Merge pull request #2360 from RyanDwyer/floating-containersLibravatar Drew DeVault2018-07-28
|\ | | | | Allow containers to float
| * Focus child when showing a scratchpad containerLibravatar Ryan Dwyer2018-07-28
| |
| * Fix crash when unfloating child of container into empty workspaceLibravatar Ryan Dwyer2018-07-28
| |
| * Send floating container to scratchpad when a child is focusedLibravatar Ryan Dwyer2018-07-28
| |
| * Fix focus mode_toggle from a child of a floating containerLibravatar Ryan Dwyer2018-07-28
| | | | | | | | | | | | Also fixes a crash when unfloating a window. It needs to add it back to the tiling tree as a sibling rather than a child, because the reference container might be a view.
| * Allow splitting a floating viewLibravatar Ryan Dwyer2018-07-28
| |