aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-08-01Merge pull request #2391 from RyanDwyer/fix-popups-v2Drew DeVault-55/+239
Fix popups (v2)
2018-08-02Merge pull request #2264 from ianyfan/ipcRyan Dwyer-38/+289
IPC Events (1.0)
2018-08-01ipc: remove extraneous valuesIan Fan-4/+0
Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
2018-08-01ipc: prevent emitting a workspace::focus event when moving a container to a ↵Ian Fan-11/+11
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.
2018-08-01ipc: fix workspace::focus event behaviourIan Fan-2/+4
2018-08-01ipc: add tick eventIan Fan-1/+44
2018-08-01Add missing swaymsg completionsIan Fan-1/+4
2018-08-01ipc: always include old property in workspace eventsIan Fan-7/+5
2018-08-01ipc: add workspace::reload eventIan Fan-0/+1
2018-08-01ipc: add binding eventIan Fan-3/+128
2018-08-01ipc: add window::move eventsIan Fan-0/+6
2018-08-01ipc: fix workspace::move calls argument orderIan Fan-3/+3
2018-08-01ipc: only emit window::create event for viewsIan Fan-1/+1
2018-08-01ipc: add window::mark eventIan Fan-5/+21
2018-08-01ipc: add barconfig_update event on config reloadIan Fan-0/+28
2018-08-01ipc: add workspace::empty eventIan Fan-0/+2
2018-08-01ipc: add window::title eventIan Fan-0/+2
2018-08-01ipc: add window::focus eventIan Fan-0/+4
2018-08-01ipc: add window::close eventIan Fan-1/+5
2018-08-01ipc: add workspace::init eventIan Fan-0/+2
2018-08-01ipc: add shutdown eventIan Fan-2/+21
2018-08-01Merge pull request #2397 from chr0me-sh/hide-cursor-if-no-pointerDrew DeVault-1/+1
XCursor is not configured if no pointer device is available
2018-08-01XCursor is not configured if no pointer device is availablechr0me-1/+1
2018-08-01Merge pull request #2395 from RedSoxFan/create-mouse-binding-listRyan Dwyer-0/+1
Create list for mouse bindings when creating new mode
2018-07-31Create list for mouse binds when creating new modeBrian Ashworth-0/+1
2018-07-31Close popups when changing focusRyan Dwyer-31/+44
Also reverts the send frame done changes from the previous commit.
2018-07-31Fix popupsRyan Dwyer-57/+228
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)
2018-07-30Merge pull request #2390 from emersion/fix-fullscreen-segfaultDrew DeVault-2/+3
Fix segfault with fullscreen
2018-07-30Fix segfault with fullscreenemersion-2/+3
2018-07-30Merge pull request #2367 from emersion/iterator-redesignDrew DeVault-178/+166
Refactor surface iterators
2018-07-30Merge pull request #2387 from 1ace/feature/bash-completionDrew DeVault-0/+230
bash completion
2018-07-30Merge pull request #2381 from frsfnrrg/key-repeatDrew DeVault-0/+43
Implement key repeat for keybindings
2018-07-30Merge pull request #2388 from 1ace/fix/delete-swaygrabemersion-60/+2
delete references to swaygrab
2018-07-30delete references to swaygrabEric Engestrom-60/+2
2018-07-30Merge pull request #2385 from 1ace/fix/includeemersion-0/+1
util.h: add missing include
2018-07-30meson: install bash completionEric Engestrom-0/+13
2018-07-30bash: add completion for swayidleEric Engestrom-0/+48
2018-07-30bash: add completion for swaylockEric Engestrom-0/+66
2018-07-30bash: add completion for swaymsgEric Engestrom-0/+57
2018-07-30bash: add completion for swayEric Engestrom-0/+46
2018-07-30Merge pull request #2384 from 1ace/fix/zsh-completionemersion-1/+1
zsh: fix sway completion
2018-07-30zsh: fix sway completionEric Engestrom-1/+1
2018-07-30util.h: add missing includeEric Engestrom-0/+1
parse_boolean() takes and returns a `bool`
2018-07-30Merge pull request #2383 from RedSoxFan/fix-title-scaleDrew DeVault-6/+8
Fix title textures on scale change
2018-07-30Fix title textures on scale changeBrian Ashworth-6/+8
2018-07-29Enable unstable wlroots featuresDrew DeVault-0/+1
2018-07-29Bindings use advised keyboard repeat parametersfrsfnrrg-10/+10
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.
2018-07-29Implement key repeat for pressed key bindingsfrsfnrrg-0/+43
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.
2018-07-29Merge pull request #2379 from emersion/xwayland-unmanagedDrew DeVault-5/+7
Don't give focus if xwayland window has a type hint
2018-07-29Don't give focus if xwayland window has a type hintemersion-5/+7