aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-04-17Flesh out pango markup implementationDrew DeVault
2016-04-17Use correct format string for x86_64 and i686Mikkel Oscar Lyderik
Fix #587
2016-04-16Remove clang warnings (-Wsign-compare)Mikkel Oscar Lyderik
2016-04-16Update to wlc 0.0.2Drew DeVault
2016-04-12Plug two memory leaksChang Liu
Plug two memory leaks introduced in the border drawing code.
2016-04-09Don't init desired width/height on new_viewMikkel Oscar Lyderik
When creating a new view, wlc usually returns an initial geometry with size 1x1. Setting those values as desired width/height causes a problem for some windows (QT5) because they don't request a new geometry for instance when made floating, so the floating window becomes 1x1. To fix this problem we can just omit setting the desired width/height on new_view and instead let the clients request a certain size if they feel like it. e.i. gnome-calculator. Fix #578
2016-04-09Only update geometry of single floating viewMikkel Oscar Lyderik
2016-04-03Add border color commandsKevin Hamacher
2016-04-03Use border background color as border backgroundKevin Hamacher
2016-04-03Fix window borderscrondog
This fixes floating borders when moving outside of the output. Not sure what happens with dual screen as I only have 1 monitor
2016-04-02improve endianess handelingKevin Hamacher
2016-04-02Fix spelling mistakesEric Engestrom
2016-03-31Fix pointer related crash when stacked/tabbedMikkel Oscar Lyderik
Fix #564
2016-03-31Correctly reset border geometryMikkel Oscar Lyderik
2016-03-31Add cmds new_window and new_floatMikkel Oscar Lyderik
Makes it possible to set default layout style for new windows and new floating windows. Close #556
2016-03-30Make pango: optional for bar fontMikkel Oscar Lyderik
2016-03-30Fix pointer scroll thingDrew DeVault
2016-03-30Fix crashes with bordersDrew DeVault
2016-03-30Remove leftover commentDrew DeVault
2016-03-30New feature: adjust gaps with floating_mod+scrollDrew DeVault
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.
2016-03-30Merge pull request #551 from mikkeloscar/window-bordersDrew DeVault
Implement Window borders
2016-03-30Allow surrounding spaces in mode nameMikkel Oscar Lyderik
This makes it possible to define a mode name with surrounding spaces if so desired. e.g.: mode " hello " { }
2016-03-30Fix borders with floating windowsMikkel Oscar Lyderik
2016-03-30Update window title when it changesMikkel Oscar Lyderik
2016-03-30Mark focused view focus_inactive on unfocused outputMikkel Oscar Lyderik
2016-03-30Comment endiannessMikkel Oscar Lyderik
2016-03-30Implement bordersMikkel Oscar Lyderik
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).
2016-03-30Add border <none|normal|toggle|pixel> configMikkel Oscar Lyderik
2016-03-30Implement parsing of hide_edge_bordersMikkel Oscar Lyderik
2016-03-30Make pango: prefix optional for font configMikkel Oscar Lyderik
2016-03-30Add default border colorsMikkel Oscar Lyderik
2016-03-30Implement some more on bordersDrew DeVault
Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss.
2016-03-30Window borders proof of conceptDrew DeVault
2016-03-30Initial setup of window border renderingDrew DeVault
Please don't complain to me about the performance of this
2016-03-27Loosen restrictions on commands, update docsDrew DeVault
Closes #531
2016-03-27Update sway(1)Drew DeVault
2016-03-26Don't try to read config if not a file.Mikkel Oscar Lyderik
2016-03-26Add config path to error msgMikkel Oscar Lyderik
2016-03-26Load correct config on reloadMikkel Oscar Lyderik
2016-03-26Document include commandMikkel Oscar Lyderik
2016-03-26Implement include commandMikkel Oscar Lyderik
The include command (`include <path>`) makes it possible to include sub config files from the main config file (or from within other sub config files). The include command uses the following rules for including config files: * the `path` can be either a full path or a path that is relative to the parent config. Shell expansion is supported, so it's possible to do `include ~/.config/sway.d/*`. * The same config file can only be included once (to prevent include cycles). If a config is included multiple times it will just be ignored after it has been included once. * Including a sub config file is the same as inserting the content of that file into the parent config, thus rules about overwriting bindsyms etc. works the same as for a single config. Implement #542
2016-03-24Gracefully exit when config is not foundMikkel Oscar Lyderik
This makes sure that sway will gracefully exit if the config is not found or sway is unable to read it.
2016-03-24Make the nvidia warning louderDrew DeVault
2016-03-24Don't set WLC_DIM on startupDrew DeVault
2016-03-24Update to new WLC APIDrew DeVault
2016-03-20Merge pull request #525 from mikkeloscar/fix-clang-warningDrew DeVault
Use correct type for keycode
2016-03-20Use correct type for keycodeMikkel Oscar Lyderik
2016-03-20Implement 'smart_gaps' feature from i3-gapsMikkel Oscar Lyderik
2016-03-19Make key handling less strictMikkel Oscar Lyderik
Sway has been very strict when it comes to key handling. Only on an exact match would a bindsym be triggered. This patch makes it less strict by for instance allowing the key combo `$mod+1+2` to act as `$mod+2` if 2 was the last pressed key and `$mod+1` if 1 was the last pressed key. The new key handling uses the following algorithm: 1. List of bindings sorted by number of keys in binding (already the default) 2. Find all bindings covered by the current keyboard state and list them by same order as in 1. 3. Select the first binding from the list where the last pressed key is part of the binding. Addresses #452
2016-03-19Allow legal non-x11 keycodesMikkel Oscar Lyderik