aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-28arrange_windows_r: Bring parent coordinates into layout calculations.S. Christoffer Eliesen
This brings consistency into the algorithm (instead of resetting and then fetching again).
2015-12-27Merge pull request #409 from mikkeloscar/bar-airblade-featuresDrew DeVault
swaybar: Add support for Airblade i3bar extensions
2015-12-27Update READMEDrew DeVault
2015-12-27Merge pull request #410 from mikkeloscar/free-ipc-responseDrew DeVault
swaybar: Free unused IPC response
2015-12-27swaybar: Free unused IPC responseMikkel Oscar Lyderik
2015-12-27swaybar: if-else style fixesMikkel Oscar Lyderik
2015-12-27swaybar: Add support for Airblade i3bar extensionsMikkel Oscar Lyderik
This extends the i3bar protocol implementation with the following features from @Airblade/i3: * background * border * border_top, border_bottom, border_left, border_right A block will now be rendered like this: ``` (border_left + margin) + width + (margin + border_right) + sep ``` Where `border_left/border_right` and their related margin is only drawn if the `border` is specified and the border has a width > 0 (default is 1). `border_top` and `border_bottom` does not affect the height of the bar (no margin is added), thus it will be drawn behind the text if it is too big. The user should specify a bar height if more space between top/bottom borders are required.
2015-12-25Merge pull request #408 from mikkeloscar/add-focus-siblingDrew DeVault
Focus new sibling added to container
2015-12-25Focus new sibling added to containerMikkel Oscar Lyderik
This makes sure that the window being added to a container gets focus.
2015-12-25Merge pull request #407 from mikkeloscar/trigger-on-move-floatingDrew DeVault
Trigger workspace init event (floating)
2015-12-25Trigger workspace init event (floating)Mikkel Oscar Lyderik
Triggers workspace init event when moving a floating window to a new workspace. This is a follow up on #391 which didn't handle floating windows.
2015-12-25Merge pull request #406 from mikkeloscar/fix-swaybar-jsonDrew DeVault
swaybar: Fix json related crash.
2015-12-25swaybar: remove random whitespacesMikkel Oscar Lyderik
2015-12-25swaybar: Fix json related crash.Mikkel Oscar Lyderik
This should fix the random json related crashes in swaybar. The crashes occured because the same socket was used for listening on workspace events and requesting workspace info, resulting in a unreliable message queue on the socket. The solution is to use one socket for the events and one socket for reliably requesting workspace/output info.
2015-12-24Merge pull request #403 from crondog/masterDrew DeVault
swaybar: min_width and align
2015-12-24Merge pull request #405 from robotanarchy/add-voidwiki-link-to-readmeDrew DeVault
Readme: add link to sway article in Void Linux wiki
2015-12-25Merge branch 'master' of https://github.com/SirCmpwn/swaycrondog
2015-12-24Readme: add link to sway article in Void Linux wikirobotanarchy
2015-12-24Merge pull request #402 from progandy/without-fgetsDrew DeVault
swaybar: read status line without fgets
2015-12-24Merge pull request #404 from StephenBrown2/readme_feature_supportDrew DeVault
Add references to other feature support issues to README
2015-12-24swaybar: Replace fgets with read and own bufferprogandy
2015-12-23Add references to other feature support issues to READMEStephen Brown II
2015-12-23Merge pull request #401 from mikkeloscar/travis-clang-buildDrew DeVault
Add clang build to travis
2015-12-24swaybar: min_width and aligncrondog
2015-12-24swaybar: fix array indices in i3json_handleprogandy
2015-12-23Add clang build to travisMikkel Oscar Lyderik
2015-12-23Merge pull request #400 from gpyh/forgot_includeDrew DeVault
Bugfix: Added include(GNUInstallDirs)
2015-12-23Added include(GNUInstallDirs)Yacine Hmito
Fixes configuration not properly installed since f02cf75
2015-12-23Merge pull request #398 from juju2143/bug-correction-1Drew DeVault
swaygrab: Fix memory leak when recording videos
2015-12-23Merge pull request #399 from gpyh/dont-hardcode-pathDrew DeVault
Use SYSCONFDIR as recommended
2015-12-23Use SYSCONFDIR as recommendedYacine Hmito
- swaylock config path not hardcoded anymore - the unusual and weird FALLBACK_CONFIG_DIR is no more
2015-12-22swaygrab: Fix memory leak when recording videosJulien Savard
2015-12-22Merge pull request #396 from crondog/fixbarDrew DeVault
Stop swaybar from not rendering after the first go around
2015-12-23Stop swaybar from not rendering after the first go aroundcrondog
I am not sure if this is a correct issue/fix but on my system at least after an i3bar protocol is detected this while loop never goes back around meaning it doesnt process the status line anymore.
2015-12-22Merge pull request #394 from progandy/i3bar-json-protocolDrew DeVault
swaybar: I3bar json protocol
2015-12-22swaybar: fix memory leaksprogandy
2015-12-22swaybar: add a visible separator between elementsprogandy
2015-12-22swaybar: Improve i3bar proto implementationprogandy
Also reintroduce plaintext fallback for simple status lines.
2015-12-22swaybar: fix whitespaceprogandy
2015-12-22Initialize id, part twoDrew DeVault
2015-12-22Initialize IDDrew DeVault
2015-12-22Clean up a bitcrondog
2015-12-22Make start on i3bar json parsingcrondog
2015-12-21Merge pull request #393 from robotanarchy/musl-libc-compatibilityDrew DeVault
musl libc compatibility
2015-12-21Merge pull request #391 from mikkeloscar/trigger-workspace-ipcDrew DeVault
Trigger ipc_event_workspace in all cases
2015-12-22replace non-standard qsort_r with qsortrobotanarchy
I've tried to make as few changes, as possible. Usually the reason for using qsort_r is, that you can pass an extra userdata pointer to the compare function. However, in sway list_sort wrapped qsort_r and always called a wrapper function for comparing, the wrapper function then had the real compare function as argument. The only thing, that the wrapper function does, is dereferencing the 'left' and 'right' function arguments before passing them to the real compare function. I have renamed list_sort to list_qsort to avoid confusion (so nobody tries to use list_qsort like list_sort) and removed the wrapper functionality. Now the dereferencing must be done in the compare function, that gets passed. Some compare functions were used in both list_sort and list_seq_find. To make the difference clear, I've added a '_qsort' suffix to the compare functions, that are intended to be used with the new list_qsort. (In other words: list_qsort is not compatible anymore with list_seq_find). - Changed and renamed function (it isn't used anywhere but in commands.c, and only for sorting): compare_set -> compare_set_qsort - New wrapper functions: sway_binding_cmp_qsort (for sway_binding_cmp) sway_mouse_binding_cmp_qsort (for sway_mouse_binding_cmp)
2015-12-22fix backtrace detection in CMakerobotanarchy
works on arch (glibc) and void linux (tested with musl libc) now
2015-12-21Trigger ipc_event_workspace in all casesMikkel Oscar Lyderik
This makes sure that the workspace IPC event is triggered when needed. Fixes #382 while making sure that the IPC event is only triggered once.
2015-12-21add -fPIC flag (position independent code) like in wlcrobotanarchy
Linking fails otherwise: Linking C executable ../bin/sway /usr/bin/ld: CMakeFiles/sway.dir/commands.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC CMakeFiles/sway.dir/commands.c.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status sway/CMakeFiles/sway.dir/build.make:442: recipe for target 'bin/sway' failed
2015-12-21use CMake's FindBacktrace for backtrace feature detectionrobotanarchy