aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Enable windows to register to get notified when the mouse wheel is scrolledLibravatar David Eklov2016-07-15
|
* Rename pointer_input::notify to indicate that is called on button clicksLibravatar David Eklov2016-07-15
|
* Fix warning from unused daemon return valueLibravatar Drew DeVault2016-07-15
|
* Merge pull request #743 from deklov/panel-as-shell-03Libravatar Drew DeVault2016-07-14
|\ | | | | Set panels/backgrounds' geometries correctly and don't render them ex…
| * Send command to sway to change workspace when workspace button is clickedLibravatar David Eklov2016-07-14
| |
| * Compute what workspace button is clickedLibravatar David Eklov2016-07-14
| | | | | | | | This commit does not do anything with this information other than logging it.
| * Use int instead of wl_fixed_t for mouse coordinatesLibravatar David Eklov2016-07-14
| |
| * Extract workspace size computation from render_workspace_button()Libravatar David Eklov2016-07-14
| | | | | | | | Also remove some unnecessary strtup()s and rename a few variables and functions.
| * Setup to receive mouse click events and log themLibravatar David Eklov2016-07-14
| |
| * Set panels' geometries correctly and don't render them explicitlyLibravatar David Eklov2016-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Don't treat backgrounds as shell surfacesLibravatar David Eklov2016-07-14
| | | | | | | | | | This code had some issues. Remove it now so that we can start clean and fix it later.
| * Revert "swaybg: Make swaybg a shell surface"Libravatar David Eklov2016-07-14
|/ | | | | | | 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.
* Merge pull request #726 from Hummer12007/hwcLibravatar Drew DeVault2016-07-14
|\ | | | | Spawn new views to target ws's focused container
| * Suspend destruction of wss when creating viewsLibravatar Mykyta Holubakha2016-07-15
| |
| * Spawn new views to target ws's focused containerLibravatar Mykyta Holubakha2016-07-15
|/
* Merge pull request #750 from deklov/sway-lock-01Libravatar Drew DeVault2016-07-14
|\ | | | | swaylock: Add -f option to detach from the controlling terminal, fixe…
| * swaylock: Add -f option to detach from the controlling terminal, fixes #725Libravatar David Eklov2016-07-13
| |
* | Merge pull request #749 from Hummer12007/patch-2Libravatar Drew DeVault2016-07-12
|\ \ | | | | | | Enable using non-annotated tags in git-describe
| * | Enable using non-annotated tags in git-describeLibravatar Hummer120072016-07-12
|/ / | | | | This fixes the version string
* | Merge pull request #747 from deklov/clang-format-01Libravatar Drew DeVault2016-07-12
|\ \ | | | | | | clang-format configuration for Sway's style as detailed in CONTRIBUTI…
| * | clang-format configuration for Sway's style as detailed in CONTRIBUTING.mdLibravatar David Eklov2016-07-11
| |/ | | | | | | | | | | 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.
* | Merge pull request #748 from Hummer12007/x86fixLibravatar Drew DeVault2016-07-12
|\ \ | |/ |/| Fix build on x86
| * Fix build on x86Libravatar Mykyta Holubakha2016-07-12
|/
* Merge pull request #744 from thejan2009/tabbed-stacked-layout-fixesLibravatar Drew DeVault2016-07-07
|\ | | | | Fix tabbed/stacked corner case #742
| * Fix tabbed/stacked corner case #742Libravatar D.B2016-07-07
|/ | | | | | 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.
* Merge pull request #739 from deklov/swaybar-pointer-01Libravatar Drew DeVault2016-07-06
|\ | | | | Enable windows to register to get notified of pointer button events
| * Fix formatting guide violations (spaces instead of tabs)Libravatar David Eklov2016-07-06
| |
| * Enable windows to register to get notified of pointer button eventsLibravatar David Eklov2016-07-06
| |
| * Check capabilities before using pointer and keyboardLibravatar David Eklov2016-07-06
|/
* Merge pull request #740 from zandrmartin/json-fixesLibravatar Drew DeVault2016-07-05
|\ | | | | get_tree json fixes
| * get_tree json fixesLibravatar Zandr Martin2016-07-05
|/ | | | | | - null pointer check against container names - use actual json null values instead of "null" strings - add "visible" property to all containers
* Merge pull request #738 from deklov/panel-as-shell-02Libravatar Drew DeVault2016-07-05
|\ | | | | Make swaybar and swaybg shell surfaces, take 2
| * Fix formatting guide violations (spaces instead of tabs)Libravatar David Eklov2016-07-04
| |
| * swaybg: Make swaybg a shell surfaceLibravatar David Eklov2016-07-04
| |
| * swaybar: Make swaybar a shell surfaceLibravatar David Eklov2016-07-04
| |
| * Move code to make a window a shell surface into seperate functionLibravatar David Eklov2016-07-04
| |
| * Enable backgrounds and panels to be shell surfacesLibravatar David Eklov2016-07-04
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #737 from zandrmartin/fix-bar-on-reloadLibravatar Drew DeVault2016-07-04
|\| | | | | I think this fixes #678
| * I think this fixes #678Libravatar Zandr Martin2016-07-04
|/
* Merge pull request #735 from zandrmartin/get-tree-commandLibravatar Drew DeVault2016-07-04
|\ | | | | implement `get_tree` command
| * Merge branch 'master' into get-tree-commandLibravatar Zandr Martin2016-07-04
| |\ | |/ |/|
* | Merge pull request #734 from jplatte/patch-1Libravatar Drew DeVault2016-07-04
|\ \ | | | | | | Create .editorconfig
| * | Create .editorconfigLibravatar Jonas Platte2016-07-04
|/ /
* | Merge pull request #732 from zandrmartin/set-size-commandLibravatar Drew DeVault2016-07-03
|\ \ | | | | | | Set size command
| * | typo in focus.hLibravatar Zandr Martin2016-07-03
| | |
| * | resize command updates (#713)Libravatar Zandr Martin2016-07-03
| | |
| * | match i3 syntax for `resize set`Libravatar Zandr Martin2016-07-03
| | |
| * | Merge remote-tracking branch 'upstream/master' into set-size-commandLibravatar Zandr Martin2016-07-02
| |\ \ | |/ / |/| |
| * | Merge branch 'set-size-command' of github.com:zandrmartin/sway into ↵Libravatar Zandr Martin2016-06-25
| |\ \ | | | | | | | | | | | | set-size-command
| * \ \ Merge branch 'master' of git://github.com/SirCmpwn/sway into set-size-commandLibravatar Zandr Martin2016-06-11
| |\ \ \