summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-03-24Don't set WLC_DIM on startup0.1Furkan Sahin-1/+0
2016-03-24Update to new WLC APIFurkan Sahin-37/+23
2016-03-23Merge pull request #535 from mikkeloscar/fix-swaylock-crashFurkan Sahin-1/+7
swaylock: Fix crash when unable to connect to sway
2016-03-23swaylock: Fix crash when unable to connect to wlFurkan Sahin-1/+7
Prevent swaylock from crashing when it can't connect to wayland for whatever reason. i.e. XDG_RUNTIME_DIR not set. Fix #534
2016-03-22Merge pull request #530 from mikkeloscar/swaybar-kill-on-sway-crashFurkan Sahin-1/+1
swaybar: Abort when receiving 0 bytes in IPC call
2016-03-22Abort when receiving 0 bytes in IPC callFurkan Sahin-1/+1
When sway crashes a swaybar process is sometimes left behind running at 100% CPU. This was caused by the swaybar trying to retrieve an IPC response from the closed sway socket. This patch fixes the problem by aborting when the socket has been closed (recv return 0). Fix #528
2016-03-21Merge pull request #527 from gkbrk/swaylock_password_growFurkan Sahin-2/+9
swaylock: Grow the password buffer
2016-03-21swaylock: Grow the password bufferFurkan Sahin-2/+9
2016-03-20Merge pull request #525 from mikkeloscar/fix-clang-warningFurkan Sahin-1/+1
Use correct type for keycode
2016-03-20Merge pull request #524 from mikkeloscar/smart-gapsFurkan Sahin-2/+27
Implement 'smart_gaps' feature from i3-gaps
2016-03-20Use correct type for keycodeFurkan Sahin-1/+1
2016-03-20Implement 'smart_gaps' feature from i3-gapsFurkan Sahin-2/+27
2016-03-19Merge pull request #523 from mikkeloscar/slack-key-handlerFurkan Sahin-11/+39
Make key handling less strict
2016-03-19Make key handling less strictFurkan Sahin-10/+38
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 keycodesFurkan Sahin-1/+1
2016-03-18Merge pull request #522 from mikkeloscar/workspace-layoutFurkan Sahin-1/+24
Add config option workspace_layout
2016-03-19Add config option workspace_layoutFurkan Sahin-1/+24
This implements the config parsing of `workspace_layout <default|stacking|tabbed>` http://i3wm.org/docs/userguide.html#_layout_mode_for_new_containers
2016-03-18New default wallpaper!Furkan Sahin-2/+343
2016-03-18Merge pull request #520 from aouelete/swaylockFurkan Sahin-0/+48
Add a manpage for swaylock
2016-03-18Merge branch 'master' of git://github.com/SirCmpwn/sway into swaylockFurkan Sahin-23/+168
2016-03-18Merge pull request #519 from mikkeloscar/maintain-exec-quotesFurkan Sahin-6/+6
Don't strip quotes from exec args
2016-03-18Don't strip quotes from exec argsFurkan Sahin-6/+6
Before passing a command to a command handler the quotes are stripped from each argument in the command. This is usually the wanted behavior but causes a problem in the case of `exec` where quoted arguments can be required when passing the exec command to `/bin/sh -c`. This patch makes `exec` a special case and doesn't strip quotes from the arguments. It will just pass the exec command verbatim to the exec command handler. Fix #518
2016-03-17Merge pull request #516 from mikkeloscar/remove-panel_sizeFurkan Sahin-6/+0
Remove unused panel_size (and fix rearrange)
2016-03-17Remove unused panel_size (and fix rearrange)Furkan Sahin-6/+0
desktop_shell.panel_size was only used to determine if sway should rearrange the output when rendering the panel in the output_pre_render hook. This is not needed since the output will have been arranged at that point. It also caused sway to rearrange all the time when running with two or more different monitors/resolutions because panel_size kept changing with every output_pre_render callback. Should fix #514
2016-03-17Merge pull request #515 from mikkeloscar/focus-correct-swaylock-viewFurkan Sahin-1/+6
Focus correct swaylock view in multimonitor setup
2016-03-17Focus correct swaylock view in multimonitor setupFurkan Sahin-1/+6
Swaylock spawns and focuses a view for each output in sway. This can sometimes move the focus to a new output after locking and unlocking the screens. This patch makes sure that the output which had focus when swaylock was invoked, will regain focus once swaylock is closed/unlocked. Fix #499
2016-03-17Merge pull request #513 from mikkeloscar/sway-bar-manpageFurkan Sahin-2/+115
Document swaybar commands
2016-03-17Document swaybar commandsFurkan Sahin-2/+115
Documents most of the bar commands in sway-bar(5) manpage. The following command has not been document because they haven't been fully implemented yet: * mode * hidden_state * modifier * tray_output * tray_padding Close #375
2016-03-17Merge pull request #512 from mikkeloscar/bg-panel-renderFurkan Sahin-7/+3
Schedule render when adding bg and panel
2016-03-17Schedule render when adding bg and panel.Furkan Sahin-0/+3
This should be a real fix for #509 This schedules a render when a background or panel is added to sway through the desktop shell interface, that makes sure the render isn't scheduled before the bg or panel is ready and you don't end up with a black screen until the cursor is moved.
2016-03-17Revert "Render outputs as soon as wlc is ready"Furkan Sahin-7/+0
This reverts commit 99a94495f4b7359bc963f8e65f1da236aeb3d1a8.
2016-03-13Merge pull request #510 from mikkeloscar/render-output-at-launchFurkan Sahin-0/+7
Render outputs as soon as wlc is ready
2016-03-13Render outputs as soon as wlc is readyFurkan Sahin-0/+7
This makes sure that the outputs are rendered when sway is launched, so the user doesn't have to move the cursor before the background and bar gets rendered on screen. Fixes #509
2016-03-12Fix default config's split bindingFurkan Sahin-2/+2
Fixes #508
2016-03-05Update LICENSE to 2016Furkan Sahin-1/+1
This is just an excuse for me to nab the 1337th commit!
2016-03-04Remove focus when switching to empty workspaceFurkan Sahin-0/+5
Fix #504
2016-03-04Merge pull request #502 from mikkeloscar/lock-reset-inputFurkan Sahin-0/+3
Reset input state when locking compositor
2016-03-04Reset input state when locking compositorFurkan Sahin-0/+3
Fix #498
2016-03-04Merge pull request #501 from mikkeloscar/ws-on-outputFurkan Sahin-5/+27
Fix assigning workspaces to outputs
2016-03-04Fix assigning workspaces to outputsFurkan Sahin-5/+27
It's possible to assign workspaces to certain outputs using the command: workspace <name> output <output> However, this did not work in some cases where the workspace was assigned before the given output was made available to sway. This patch fixes those cases.
2016-03-01add a manpage for swaylockFurkan Sahin-0/+48
2016-02-29Merge pull request #495 from gpyh/docswaybarFurkan Sahin-68/+82
Segregate between config and runtime cmds in doc
2016-02-28Merge pull request #497 from progandy/swaylock-arrangeFurkan Sahin-8/+6
swaylock: call arrange_windows for floating change
2016-02-28sway: rearrange the whole ws on lock view setupFurkan Sahin-1/+1
2016-02-28sway: set lock view to floating after ws switchFurkan Sahin-7/+5
This avoids calling swayc_active_workspace.
2016-02-28Merge pull request #496 from mikkeloscar/focus-new-outputFurkan Sahin-2/+48
Correctly move focus from one output to a new one.
2016-02-28Correctly move focus from one output to a new one.Furkan Sahin-2/+48
This patch aims to correctly handle moving focus <left|right|up|down> between outputs. For instance, if moving from one output to a new output at the left of the current one, it should focus the right-most view/container on the new output, and the opposite if moving from right to left. This should happen regardless of the previously stored focus of the new output. This also handles moving to a new output above or below the current one.
2016-02-27Merge pull request #492 from mikkeloscar/swaybar-multi-outputFurkan Sahin-144/+256
Display single swaybar on multiple outputs
2016-02-27Set pointer pos before focusing view under itFurkan Sahin-2/+2
2016-02-27Make protocol specifications follow the DTDFurkan Sahin-3/+11
Gets rid of these warnings: WARNING: XML failed validation against built-in DTD