summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAge
* swaynag: fix hidpiLibravatar Brian Ashworth2018-08-01
|
* swaynag: allow more config optionsLibravatar Brian Ashworth2018-08-01
|
* swaynag: refactor {sway_,}nagbar to swaynagLibravatar Brian Ashworth2018-08-01
|
* swaynag: split config into own file and fix optindLibravatar Brian Ashworth2018-08-01
|
* swaynag: implement config file supportLibravatar Brian Ashworth2018-08-01
|
* Address first round review for swaynagLibravatar Brian Ashworth2018-08-01
|
* Support a detailed message in swaynagbarLibravatar Brian Ashworth2018-08-01
|
* Implements swaynagbarLibravatar Brian Ashworth2018-08-01
|
* 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: add tick eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add binding eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add window::mark eventLibravatar Ian Fan2018-08-01
| |
* | ipc: add shutdown eventLibravatar Ian Fan2018-08-01
|/
* Merge pull request #2367 from emersion/iterator-redesignLibravatar Drew DeVault2018-07-30
|\ | | | | Refactor surface iterators
| * 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
| |
* | util.h: add missing includeLibravatar Eric Engestrom2018-07-30
| | | | | | | | parse_boolean() takes and returns a `bool`
* | Fix title textures on scale changeLibravatar Brian Ashworth2018-07-30
|/
* Add virtual keyboard protocolLibravatar Drew DeVault2018-07-28
| | | | Ref #2373
* When unfloating, return container to previously focused tiled containerLibravatar Ryan Dwyer2018-07-28
| | | | | | This introduces seat_get_focus_inactive_tiling and updates `focus mode_toggle` to use it instead, because the previous method wasn't guaranteed to return a tiling view.
* Allow containers to floatLibravatar Ryan Dwyer2018-07-28
| | | | | | | | | | | | | | | | Things worth noting: * When a fullscreen view unmaps, the check to unset fullscreen on the workspace has been moved out of view_unmap and into container_destroy, because containers can be fullscreen too * The calls to `container_reap_empty_recursive(workspace)` have been removed from `container_set_floating`. That function reaps upwards so it wouldn't do anything. I'm probably the one who originally added it... * My fix (b14bd1b0b1536039e4f46fe94515c7c44e7afc61) for the tabbed child crash has a side effect where when you close a floating container, focus is not given to the tiled container again. I've removed my fix and removed the call to `send_cursor_motion` from `seat_set_focus_warp`. We should consider calling it from somewhere earlier in the call stack.
* Allow containers to be fullscreenLibravatar Ryan Dwyer2018-07-26
|
* Add xkb_numlock/xkb_capslock commands (#2311)Libravatar ProgAndy2018-07-25
|
* Implement setting NumLock and CapsLock statusLibravatar ProgAndy2018-07-25
| | | | | | After setting the keymap, try to enable NumLock and disable CapsLock. This only works if sway has the xkb master state and controls the keyboard. Prepare configuration settings for later use as well.
* Merge pull request #2353 from emersion/render-opaque-overlayLibravatar Drew DeVault2018-07-25
|\ | | | | Improve rendering with a fullscreen opaque overlay surface
| * Improve rendering with a fullscreen opaque overlay surfaceLibravatar emersion2018-07-25
| | | | | | | | | | | | | | | | | | | | | | | | The rendering code doesn't use the exclusive input surface at all anymore to decide to skip rendering of shell surfaces. This fixes a weird situation in which a client requests exclusive input but isn't an overlay layer surface. The renderer also renders all overlay surfaces in this situation, not just one. This simplifies the code and fixes rendering when there are more than one overlay surfaces (e.g. for a virtual keyboard to type the lockscreen password).
* | Merge pull request #2350 from ppascher/xwayland-optionalLibravatar Drew DeVault2018-07-25
|\ \ | | | | | | Added meson option to allow building sway without xwayland support
| * | reverted includes of "sway/config.h" and replaced with "config.h" from meson ↵Libravatar Pascal Pascher2018-07-25
| | | | | | | | | | | | build
| * | more style fixes, included "sway/config.h" where neededLibravatar Pascal Pascher2018-07-25
| | |
| * | style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: falseLibravatar Pascal Pascher2018-07-24
| | |
| * | Added meson option "enable_xwayland" (default: true) to enable/disable ↵Libravatar Pascal Pascher2018-07-24
| | | | | | | | | | | | xwayland support
* | | Implement floating_modifier <mod> [inverse|normal]Libravatar Brian Ashworth2018-07-24
|/ /
* | Merge pull request #2165 from swaywm/pid-workspacesLibravatar Drew DeVault2018-07-24
|\ \ | | | | | | Implement pid->workspace tracking
| * | Merge branch 'master' into pid-workspacesLibravatar Drew DeVault2018-07-23
| |\|
| * | Implement pid->workspace trackingLibravatar Drew DeVault2018-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | When you spawn a process with the exec command, sway now notes the workspace you had focused and the pid of the child process, then assigns that workspace to the child when its window appears. Some of this is carried over from sway 0.15, but with some major refactoring and centralization of state.
* | | Merge branch 'master' into mouse-bindingsLibravatar Ryan Dwyer2018-07-24
|\ \ \
| * | | Remove unneeded constLibravatar Brian Ashworth2018-07-23
| | | |
| * | | Switch to using a function to parse booleansLibravatar Brian Ashworth2018-07-23
| | |/ | |/|