aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-04-28Fix bindcode by offsetting xkb keycode by 8Mikkel Oscar Lyderik
The bindcode has to be offset by 8 to match the keycode we get from wlc. https://github.com/xkbcommon/libxkbcommon/blob/master/xkbcommon/xkbcommon.h#L160
2016-04-28Fix missing include pathsTomáš Čech
When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
2016-04-27border: clear buffer on fullscreen viewsMikkel Oscar Lyderik
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.
2016-04-27Only check tabbed_stacked_parent for focused windowsMikkel Oscar Lyderik
2016-04-25Remove commented codeMikkel Oscar Lyderik
2016-04-25Remove unused functionMikkel Oscar Lyderik
2016-04-25Don't send invisble view to backMikkel Oscar Lyderik
2016-04-25Use correct geometry for nested containersMikkel Oscar Lyderik
2016-04-25Add title to nested tabbed/stacked containersMikkel Oscar Lyderik
2016-04-25Disable inner gaps when in tabbed/stacked modeMikkel Oscar Lyderik
2016-04-25Add support for nested tabbed/stacked containersMikkel Oscar Lyderik
2016-04-25Use tabs for indentationMikkel Oscar Lyderik
2016-04-25Make floating border fixes work with tabbed/stacked codeMikkel Oscar Lyderik
2016-04-25Reapply prev layout when exiting tabbed/stackedMikkel Oscar Lyderik
2016-04-25Improve move command with tabbed/stacked layoutMikkel Oscar Lyderik
2016-04-25Correctly determine default layoutMikkel Oscar Lyderik
2016-04-25Fix problems with floating windowsMikkel Oscar Lyderik
Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
2016-04-25Tabbed and stacked layoutMikkel Oscar Lyderik
2016-04-24Renamed pango_markup config optionsMykyta Holubakha
2016-04-24Renamed to pango_markupMykyta Holubakha
2016-04-24Added plaintext_markup to swaybar IPCMykyta Holubakha
2016-04-24Added plaintext markup configurationMykyta Holubakha
2016-04-24Passing missing argument to get_text_sizeMykyta Holubakha
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).