aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
|
* 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.
* 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.
* Suspend destruction of wss when creating viewsLibravatar Mykyta Holubakha2016-07-15
|
* 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.
* 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
|
* Fix formatting guide violations (spaces instead of tabs)Libravatar 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 branch 'master' into get-tree-commandLibravatar Zandr Martin2016-07-04
|\
| * typo in focus.hLibravatar Zandr Martin2016-07-03
| |
| * resize command updates (#713)Libravatar Zandr Martin2016-07-03
| |
* | implement `get_tree` commandLibravatar Zandr Martin2016-07-04
|/
* Add get_log_level() to encapsulate v (current log level)Libravatar David Eklov2016-06-27
| | | | This patch also makes all global variable in log.c static.
* implement resize command for absolute dimensionsLibravatar Zandr Martin2016-06-11
|
* cleanup + add timeouts for pid_workspace listLibravatar Zandr Martin2016-06-11
|
* clean up pid/workspace stuffLibravatar Zandr Martin2016-06-11
|
* semi-working (only non-client/server wayland apps)Libravatar Zandr Martin2016-06-10
|
* messy, unfinished versionLibravatar Zandr Martin2016-06-06
|
* implement stable sort for listsLibravatar Zandr Martin2016-06-02
| | | | also change sort_workspaces() to use it
* Clean up not used variablesLibravatar Denis Doria2016-06-01
|
* Included option floating_minimum_sizeLibravatar Denis Doria2016-06-01
| | | | | Values cannot be negative or 0; if so uses the default 75x50. Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
* Initial work for floating view with sane valuesLibravatar Denis Doria2016-05-31
|
* Implement sort_workspaces() function for outputs.Libravatar Zandr Martin2016-05-27
| | | | This seems to have resolved issue #669 for me.
* Match definition with declarationLibravatar Tomáš Čech2016-05-23
|
* Support floating_scroll sidewaysLibravatar Mykyta Holubakha2016-05-14
|
* Remove FSB_GAPS_INNER and FSB_GAPS_OUTERLibravatar Mykyta Holubakha2016-05-08
|
* Implemented configurable floating scroll behaviorLibravatar Mykyta Holubakha2016-05-07
|
* common: refactor sway_log()Libravatar Eric Engestrom2016-05-02
| | | | This removes most preprocessor logic, leaving it only it the header.
* Add input cmd for setting pointer accel profile.Libravatar Jasen Borisov2016-05-01
|
* border: clear buffer on fullscreen viewsLibravatar Mikkel Oscar Lyderik2016-04-27
| | | | | | This patch makes sure to clear the border buffer of fullscreen view so the border doesn't get drawn behind a fullscreen view, which would be visible if the view was transparent.
* Remove unused functionLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Add support for nested tabbed/stacked containersLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Reapply prev layout when exiting tabbed/stackedLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Correctly determine default layoutLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Fix problems with floating windowsLibravatar Mikkel Oscar Lyderik2016-04-25
| | | | | Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
* Renamed to pango_markupLibravatar Mykyta Holubakha2016-04-24
|
* Added plaintext markup configurationLibravatar Mykyta Holubakha2016-04-24
|
* Style issueLibravatar Drew DeVault2016-04-17
|
* Flesh out pango markup implementationLibravatar Drew DeVault2016-04-17
|
* Fix spelling mistakesLibravatar Eric Engestrom2016-04-02
|
* Add cmds new_window and new_floatLibravatar Mikkel Oscar Lyderik2016-03-31
| | | | | | | Makes it possible to set default layout style for new windows and new floating windows. Close #556
* New feature: adjust gaps with floating_mod+scrollLibravatar Drew DeVault2016-03-30
| | | | | | | | | | I made this configurable but I didn't make the command for it. That's left as an exercise to an eager contributor. mod_scroll_behavior [gaps inner|gaps outer] Would merge implementions of more behaviors for mod+scroll, if anyone has some neato ideas.
* Mark focused view focus_inactive on unfocused outputLibravatar Mikkel Oscar Lyderik2016-03-30
|
* Implement bordersLibravatar Mikkel Oscar Lyderik2016-03-30
| | | | | | | | | The borders are implemented as a surface/buffer attached to each view which is sent to and rendered by wlc in the view_pre_render callback. All the drawing logic is handled in sway/border.c and all the logic for calculating the geometry of the border/view is handled in `update_geometry` in sway/layout.c (same place as gaps are calculated).