aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-16refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵D.B
where needed
2016-07-16Fix warning in window.cDrew DeVault
2016-07-16Fix #753Drew DeVault
2016-07-16Merge pull request #752 from deklov/bar-scroll-02Drew DeVault
Change workspace with mouse wheel
2016-07-15Change workspace when mouse wheel is scrolled while hovering over the barDavid Eklov
2016-07-15Enable windows to register to get notified when the mouse wheel is scrolledDavid Eklov
2016-07-15Rename pointer_input::notify to indicate that is called on button clicksDavid Eklov
2016-07-15Fix warning from unused daemon return valueDrew DeVault
2016-07-14Merge pull request #743 from deklov/panel-as-shell-03Drew DeVault
Set panels/backgrounds' geometries correctly and don't render them ex…
2016-07-14Send command to sway to change workspace when workspace button is clickedDavid Eklov
2016-07-14Compute what workspace button is clickedDavid Eklov
This commit does not do anything with this information other than logging it.
2016-07-14Use int instead of wl_fixed_t for mouse coordinatesDavid Eklov
2016-07-14Extract workspace size computation from render_workspace_button()David Eklov
Also remove some unnecessary strtup()s and rename a few variables and functions.
2016-07-14Setup to receive mouse click events and log themDavid Eklov
2016-07-14Set panels' geometries correctly and don't render them explicitlyDavid Eklov
Panels were explicitly rendered by calling wlc_surface_render in handle_output_pre_render. Calling wlc_surface_render does not set the surface's geometry (like wlc_view_set_geometry does). Sway did not call wlc_view_set_geometry for panels, so wlc defaulted their geometry to be at the origin. This is not correct for bars unless their location is top. Furthermore, for a surface to receive pointer events, its mask has to be set to visible. This causes wlc to render these surfaces, causing panels and backgrounds to be rendered twice. This commit makes panels and surfaces visible, sets the correct geometries and removes the code that explicitly rendered them.
2016-07-14Don't treat backgrounds as shell surfacesDavid Eklov
This code had some issues. Remove it now so that we can start clean and fix it later.
2016-07-14Revert "swaybg: Make swaybg a shell surface"David Eklov
This reverts commit 99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb. It turned out that code to handle swaybg as shell surface was broken so we don't want to make swaybg a shell surface until this has been fixed.
2016-07-14Merge pull request #726 from Hummer12007/hwcDrew DeVault
Spawn new views to target ws's focused container
2016-07-15Suspend destruction of wss when creating viewsMykyta Holubakha
2016-07-15Spawn new views to target ws's focused containerMykyta Holubakha
2016-07-14Merge pull request #750 from deklov/sway-lock-01Drew DeVault
swaylock: Add -f option to detach from the controlling terminal, fixe…
2016-07-13swaylock: Add -f option to detach from the controlling terminal, fixes #725David Eklov
2016-07-12Merge pull request #749 from Hummer12007/patch-2Drew DeVault
Enable using non-annotated tags in git-describe
2016-07-12Enable using non-annotated tags in git-describeHummer12007
This fixes the version string
2016-07-12Merge pull request #747 from deklov/clang-format-01Drew DeVault
clang-format configuration for Sway's style as detailed in CONTRIBUTI…
2016-07-12Merge pull request #748 from Hummer12007/x86fixDrew DeVault
Fix build on x86
2016-07-12Fix build on x86Mykyta Holubakha
2016-07-11clang-format configuration for Sway's style as detailed in CONTRIBUTING.mdDavid Eklov
CONTRIBUTING.md says use kernel style, "but all braces go on the same line". The kernel uses a column limit of 80 characters. The de facto syle in Sway is to allow for wider lines so this format file does not enforce an 80 column limit.
2016-07-07Merge pull request #744 from thejan2009/tabbed-stacked-layout-fixesDrew DeVault
Fix tabbed/stacked corner case #742
2016-07-07Fix tabbed/stacked corner case #742D.B
Tabbed/stacked containers are now created only if a view is present on the workspace. If a view is created on previously empty tabbed/stacked workspace, it gets wrapped in a container.
2016-07-06Merge pull request #739 from deklov/swaybar-pointer-01Drew DeVault
Enable windows to register to get notified of pointer button events
2016-07-06Fix formatting guide violations (spaces instead of tabs)David Eklov
2016-07-06Enable windows to register to get notified of pointer button eventsDavid Eklov
2016-07-06Check capabilities before using pointer and keyboardDavid Eklov
2016-07-05Merge pull request #740 from zandrmartin/json-fixesDrew DeVault
get_tree json fixes
2016-07-05get_tree json fixesZandr Martin
- null pointer check against container names - use actual json null values instead of "null" strings - add "visible" property to all containers
2016-07-05Merge pull request #738 from deklov/panel-as-shell-02Drew DeVault
Make swaybar and swaybg shell surfaces, take 2
2016-07-04Fix formatting guide violations (spaces instead of tabs)David Eklov
2016-07-04swaybg: Make swaybg a shell surfaceDavid Eklov
2016-07-04swaybar: Make swaybar a shell surfaceDavid Eklov
2016-07-04Move code to make a window a shell surface into seperate functionDavid Eklov
2016-07-04Enable backgrounds and panels to be shell surfacesDavid Eklov
Prior to this commit all windows (e.g. shell surfaces) were handled the same way in handle_view_created. Since backgrounds and panels have to be treated differently, they could not be shell surfaces. This changes checks whether a client is a background or a panel in handle_view_created and exists to let them be dealt with elsewhere.
2016-07-04Merge pull request #737 from zandrmartin/fix-bar-on-reloadDrew DeVault
I think this fixes #678
2016-07-04I think this fixes #678Zandr Martin
2016-07-04Merge pull request #735 from zandrmartin/get-tree-commandDrew DeVault
implement `get_tree` command
2016-07-04Merge branch 'master' into get-tree-commandZandr Martin
2016-07-04fix typo in ipc-json.cZandr Martin
2016-07-04implement `get_tree` commandZandr Martin
2016-07-04Merge pull request #734 from jplatte/patch-1Drew DeVault
Create .editorconfig
2016-07-04Create .editorconfigJonas Platte