aboutsummaryrefslogtreecommitdiff
path: root/sway/meson.build
AgeCommit message (Collapse)Author
2018-09-02Implement focus_on_window_activationRyan Dwyer
Depends on https://github.com/swaywm/wlroots/pull/1223
2018-08-26Remove layout.cRyan Dwyer
When we have type safety we'll need to have functions for workspace_add_tiling and so on. This means the existing container functions will be just for containers, so they are being moved to container.c. At this point layout.c doesn't contain much else, so I've relocated everything and removed the file. * container_swap and its static functions have been moved to the swap command and made static. * container_recursive_resize has been moved to the resize command and made static. * The following have been moved to container.c: * container_handle_fullscreen_reparent * container_insert_child * container_add_sibling * container_add_child * container_remove_child * container_replace_child * container_split * enum movement_direction and sway_dir_to_wlr have been moved to util.c. Side note: Several commands included layout.h which then included root.h. With layout.h gone, root.h has to be included by those commands.
2018-08-18commands: add nopIan Fan
2018-08-06Listen to server-decoration mode changesemersion
2018-08-04Separate root-related codeRyan Dwyer
This creates a root.c and moves bits and pieces from elsewhere into it. * layout_init has been renamed to root_create and moved into root.c * root_destroy has been created and is called on shutdown * scratchpad code has been moved into root.c, because hidden scratchpad containers are stored in the root struct
2018-08-03Write to swaynag pipe fd directly on config errorsBrian Ashworth
2018-08-02Link xcb dependency to meson options "enable_xwayland" (#2393)Michel Ganguin
* Link xcb dependency to meson options "enable_xwayland" * Link xcb dependency to meson options "enable_xwayland"
2018-07-25Add xkb_numlock/xkb_capslock commands (#2311)ProgAndy
2018-07-24style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: falsePascal Pascher
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-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-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-17Implement default_floating_border command and adjust CSD behaviourRyan Dwyer
2018-07-16Merge pull request #2276 from RyanDwyer/urgencyDrew DeVault
Implement urgency base functionality
2018-07-16Implement no_focus commandRyan Dwyer
2018-07-16Implement urgency base functionalityRyan Dwyer
Introduces a command to manually set urgency, as well as rendering of urgent views, sending the IPC event, removing urgency after focused for one second, and matching urgent views via criteria.
2018-07-14Implement tap_button_map for input devicesBrian Ashworth
2018-07-11add scroll button optionRobert Kubosz
This commit introduces a scroll_button option, which is intended to be used with scroll_method. Now user can edit his sway config and add an scroll_button option to device section.
2018-07-11Implement floating_minimum_size and floating_maximum_sizeRyan Dwyer
2018-07-07Split rendereremersion
2018-07-02Add idle inhibit unstable v1 supportDominique Martinet
2018-06-29Merge remote-tracking branch 'upstream/master' into atomicRyan Dwyer
2018-06-18Automatically float xwayland windowsemersion
2018-06-11Merge remote-tracking branch 'upstream/master' into atomicRyan Dwyer
2018-06-09Implement gaps (PR #2047)Nate Symer
2018-06-09WIP: Atomic layout updates ground workRyan Dwyer
2018-06-03Refactor cmd_output to use config_subcommandBrian Ashworth
2018-06-01Implement floatingRyan Dwyer
2018-06-01Implement `floating enable`Drew DeVault
2018-05-28Implement config parser for workspace_layoutBrian Ashworth
2018-05-28Support i3's legacy force_focus_wrapping commandBrian Ashworth
2018-05-27Implement focus_wrappingBrian Ashworth
2018-05-26Implement swap commandBrian Ashworth
2018-05-17Implement show_marksRyan Dwyer
2018-05-15Implement marksRyan Dwyer
2018-05-14Kill wl_shellemersion
2018-05-13Add xdg-shell stable supportemersion
2018-05-11Implement hide_edge_bordersBrian Ashworth
2018-05-05Implement title_formatRyan Dwyer
This implements the title_format command, with a new placeholder %shell which gets substituted with the view type (xwayland, xdg_shell_v6 or wl_shell). Example config: for_window [title=".*"] title_format %title (class=%class instance=%instance shell=%shell)
2018-05-03Render titlesRyan Dwyer
2018-04-30Implement bordersRyan Dwyer
Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border
2018-04-28Refactor arrange_windows()Ryan Dwyer
Replaces arrange_windows() with arrange_root(), arrange_output(), arrange_workspace() and arrange_children_of(). Also makes fullscreen views save and restore their dimensions, which allows it to preserve any custom resize and is also a requirement for floating views once they are implemented.
2018-04-26Add map_from_region commandemersion
2018-04-24Implement criteria commandsRyan Dwyer
Implements the following commands: * for_window [...] <cmdlist> * assign [...] <workspace>
2018-04-23Implement rename workspace commandRyan Dwyer
This implements the following commands: * rename workspace to new_name * rename workspace old_name to new_name * rename workspace number n to new_name
2018-04-19Merge branch 'master' into fullscreenDrew DeVault
2018-04-19Split repeat commands into separate files.Ryan Dwyer
2018-04-18Make key repeat configurableRyan Dwyer
This creates two input commands for configuring the repeat delay and rate. Example config: input "myidentifier" { repeat_delay 250 repeat_rate 25 }
2018-04-16Implement fullscreen.Ryan Dwyer
2018-04-10Implement cursor event simulation with sway commands.Danny Bautista