4270 Commits (3f600565e4dd4fb7a45a7b721d518c79f8d41b59)

Author SHA1 Message Date
Geoff Greer 30fee94354 Don't enable numlock by default. This fixes an annoying issue where laptop keyboards would have 'numlock mode' enabled, remapping parts of the alphabet to numbers.
6 years ago
Drew DeVault 53069f1403
Merge pull request #2360 from RyanDwyer/floating-containers
6 years ago
Drew DeVault e4b54ac16e
Merge pull request #2368 from RyanDwyer/handle-out-of-fds
6 years ago
Ryan Dwyer 84cd22c8cb Fix crash when a deferred command destroys a workspace
6 years ago
Ryan Dwyer 0337609667 Focus child when showing a scratchpad container
6 years ago
Ryan Dwyer debb8e85b2 Fix crash when unfloating child of container into empty workspace
6 years ago
Ryan Dwyer 9d1f6e095b Send floating container to scratchpad when a child is focused
6 years ago
Ryan Dwyer 538e083f61 Fix focus mode_toggle from a child of a floating container
6 years ago
Ryan Dwyer c95847c9e1 Allow splitting a floating view
6 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
6 years ago
Ryan Dwyer 936168e740 Operate on floating split container when a child is focused
6 years ago
Ryan Dwyer 902a1402ba Fix crash when a child of a floating container is in the scratchpad
6 years ago
Ryan Dwyer 0b6b6716e2 Fix clicking a floating split container
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer a4bcddcfdc Include errno.h
6 years ago
Ryan Dwyer d6daf10cad Show errno description in log
6 years ago
Ryan Dwyer 32663b7b01 Handle out-of-fd situations gracefully for transaction and urgent timers
6 years ago
Ryan Dwyer 52cf410d3c Second attempt at fixing transaction use-after-free
6 years ago
Ryan Dwyer 073ac425d5 Fix use after free in transactions
6 years ago
Mihai Coman d37c94d1b6 Preserve workspace name
6 years ago
Ryan Dwyer 6ceb1d33fd Fix assign to workspace
6 years ago
Ryan Dwyer a90f2dbde9 Refactor view_map
6 years ago
Ryan Dwyer 868dcde14e Fix indent
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
ProgAndy 76ece5788b Fix LEDs for configured modifier states
6 years ago
ProgAndy 0ba52458ab Restrict CapsLock and NumLock commands to the configuration file
6 years ago
ProgAndy d07463d53b Add documentation for xkb_capslock/xkb_numlock
6 years ago
ProgAndy c7a3a03115 Add xkb_numlock/xkb_capslock commands (#2311)
6 years ago
ProgAndy 2166dbe2e4 Implement setting NumLock and CapsLock status
6 years ago
Cédric Cabessa 445a09575c fix #2355: "move workspace to output up" crashes
6 years ago
Drew DeVault 53dbe2da4b
Merge pull request #2353 from emersion/render-opaque-overlay
6 years ago
Drew DeVault fc718f629a
Merge pull request #2350 from ppascher/xwayland-optional
6 years ago
Pascal Pascher 384c55c0b4 more style fixes, reorder config.h include
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
Pascal Pascher 79a45d4a40 more style fixes, included "sway/config.h" where needed
6 years ago
Ryan Dwyer b14bd1b0b1 Fix crash when closing last child of a tabbed container
6 years ago
emersion 0e79b2114c Improve rendering with a fullscreen opaque overlay surface
6 years ago
Brian Ashworth 3a75bb7f32 Change button var passed to seat_begin_move
6 years ago
Brian Ashworth dca02944ce Implement floating_modifier <mod> [inverse|normal]
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Drew DeVault 817d37c950
Merge pull request #2165 from swaywm/pid-workspaces
6 years ago
Drew DeVault c80258c3b3 Address @emersion's review comments
6 years ago
Ryan Dwyer 2f1b84a0f3 Fix crash when clicking certain surfaces
6 years ago
Ryan Dwyer e7c10f1871 Make mod+resize work in any direction
6 years ago
Ryan Dwyer e02a6718c2
Merge branch 'master' into mouse-bindings
6 years ago
frsfnrrg ab0efebc3e Also extract first workspace name from bindcodes
6 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
6 years ago
Brian Ashworth 9ec1d6cf79 Address review comments on parse_boolean
6 years ago
Brian Ashworth 863914ec95 Switch to using a function to parse booleans
6 years ago
frsfnrrg 754372c3de Parse mouse binding options
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer 0db6f2ef58 Fix some cases where the cursor doesn't update
6 years ago
Brian Ashworth 44e218574f Add missing checks to fix 2339
6 years ago
somdoron 7ead2e85a7 fix crash on new output while swaylock is running
6 years ago
Ryan Dwyer 12e90fa600 Store scratchpad list in sway_root instead of server
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
emersion 238c8afc74 Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
6 years ago
emersion c35a34262f Enable wlr-gamma-control-unstable-v1
6 years ago
Ryan Dwyer d21d4b83a3 Set cursor when beginning resize and move operations
6 years ago
Ryan Dwyer 009b426024 Fix damage when shrinking a floating view using cursor
6 years ago
Ryan Dwyer 5ba2ae9c6a Implement request_move and request_resize for xwayland views
6 years ago
Ryan Dwyer 3faceadffe Fix focus bug with floating containers
6 years ago
Ryan Dwyer cf5f5eaf8c Deny move/resize events for tiled xdg shell views
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
6 years ago
Ryan Dwyer 6767d8a593 Prevent re-uploading the same cursor image multiple times
6 years ago
Ryan Dwyer 0c87bff5d1 Replace static handle_end_operation with seat_end_mouse_operation
6 years ago
Ryan Dwyer 86f5531511 Remove unnecessary includes
6 years ago
Ryan Dwyer ff445cc855 Implement xdg shell request_move and request_resize events
6 years ago
Ryan Dwyer 1b3b75a094 Use wlr_keyboard_get_modifiers
6 years ago
Ryan Dwyer dd337127d8 Use separate function for choosing edge cursor
6 years ago
Ryan Dwyer 31f91bd483 Improve resize performance by partially flushing the transaction queue
6 years ago
Ryan Dwyer 350e9ea929 Fix clicking xwayland menus
6 years ago
Ryan Dwyer c299b6b5cd Use max multiplier when resizing while preserving ratio
6 years ago
Ryan Dwyer f9491c9584 Fix damage issue when moving and resizing
6 years ago
Ryan Dwyer 2c6616050a Make mod + resize do it from the top left corner
6 years ago
Ryan Dwyer 3aadf944ae Use WLR_MODIFIER_SHIFT
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Brian Ashworth bc7d332109 Reset outputs on reload
6 years ago
Ryan Dwyer 37b33f92e8 Fix urgent timer logic and remove unnecessary header includes
6 years ago
Ryan Dwyer c2ed3d8bd6 Implement force_display_urgency_hint
6 years ago
Brian Ashworth 9605ab45f1 Fix output wildcard handling
6 years ago
Ryan Dwyer 8789ceea87 Fix pointer events for overlapping floating views
6 years ago
Drew DeVault 3483f1ea1a
Merge branch 'master' into update-wlroots-1148
6 years ago
emersion 4154234eee Update for swaywm/wlroots#1148
6 years ago
Drew DeVault da9c86c608
Merge pull request #2310 from RyanDwyer/assign-output
6 years ago
emersion d8badceb54
Merge pull request #2304 from RedSoxFan/fix-2298
6 years ago
Ryan Dwyer 54b00d351e Implement assign to output
6 years ago
emersion eecb393401
Merge branch 'master' into xwayland-set-hints
6 years ago
emersion cb4309b7cd
Merge pull request #2305 from RyanDwyer/focus-output
6 years ago
emersion 3dab83d6eb
Merge pull request #2308 from RyanDwyer/fix-double-transaction
6 years ago
Ryan Dwyer 63d6233fcb Allow xwayland views to become urgent when on a non-visible workspace
6 years ago
Ryan Dwyer 32806d16ee Use parse_movement_direction
6 years ago
Ryan Dwyer 8533c35a9f Fix crash and render issues involving cursor_send_pointer_motion
6 years ago
Ryan Dwyer dad3a8deee Fix crash when moving workspace to output
6 years ago
Ryan Dwyer 08736255a3 Defer the focus commands
6 years ago
Ryan Dwyer a173b79c54 Implement focus output command
6 years ago
Brian Ashworth ec65286606 Fix deferred command handling
6 years ago
emersion 747725b8bb Don't unfocus when an override redirect window is mapped
6 years ago
emersion fb4eca5d56 Handle xwayland override_redirect flag change
6 years ago
Drew DeVault ca695482ec
Merge pull request #2292 from emersion/update-cursor-on-focus
6 years ago
Ryan Dwyer 8ce7e3b44e
Merge branch 'master' into destroy-output-destroy-empty-workspaces
6 years ago
emersion 03d49490cc Update cursor on focus change
6 years ago
frsfnrrg 3931cb85b2 Fix memory leak in sway/desktop/idle_inhibit_v1.c
6 years ago
frsfnrrg 37471ac649 Fix memory leak in handle_layer_shell_surface
6 years ago
frsfnrrg 600676688a Free individual criteria in free_config
6 years ago
frsfnrrg b3014f7b16 Fix uninitialized pointer in view_unmap
6 years ago
Brian Ashworth 10fc7a5b49
Merge branch 'master' into default-floating-border
6 years ago
Drew DeVault db3a363734 Revert "config: free include path on successful load"
6 years ago
Ryan Dwyer 9cbff272cb Remove superfluous IPC urgent events
6 years ago
Ryan Dwyer 75c699db62 Implement default_floating_border command and adjust CSD behaviour
6 years ago
Drew DeVault d6bd314dff
Merge pull request #2276 from RyanDwyer/urgency
6 years ago
Ryan Dwyer e2f28c023c Focus view before running criteria when mapping
6 years ago
Ryan Dwyer fc2484095a Implement no_focus command
6 years ago
Ryan Dwyer af5f736277 Render containers as urgent if they have an urgent child
6 years ago
Ryan Dwyer 9ca5cb7faf Fix tab split focus bug
6 years ago
Ryan Dwyer be28c18ad5 Mark containers as urgent in IPC if they have urgent views
6 years ago
Ryan Dwyer 5f0a4bb6a4 Update workspace urgent state when views close or move workspaces
6 years ago
Ryan Dwyer 560627437b Make container_for_each_descendant_dfs descend into floating views
6 years ago
Ryan Dwyer 64e3bc3ab0 Fix crash in ipc_json_describe_view
6 years ago
Ryan Dwyer a211daf9e6 Add documentation for urgent command
6 years ago
Ryan Dwyer e3f90f00fe Implement xwayland urgency hint
6 years ago
Ryan Dwyer f86087d78f Fix urgency IPC events
6 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
6 years ago
Ian Fan 9559e3e2af config output: free command string if unused
6 years ago
Ian Fan 92450883d7 config: free include path on successful load
6 years ago
Ian Fan ba8981e44b bar: free old position when changing
6 years ago
Ian Fan 011d43746f Add error handling for getting config file size
6 years ago
Ian Fan e6209afcd6 Fix config buffer overflow and logic
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
Drew DeVault 53e3f35ba3
Merge pull request #2272 from RyanDwyer/simplify-transactions
6 years ago
Drew DeVault 806c06fdfb
Merge pull request #2266 from emersion/remove-orbital-screenshooter
6 years ago
Drew DeVault b1afcc69fa Add extended debugging flags
6 years ago
Ryan Dwyer 6b2dc7e63b Set signature to void
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
Brian Ashworth 13c6627ddb Implement tap_button_map for input devices
6 years ago
Ryan Dwyer 0584ecec0a Force min/max size when resizing floating containers
6 years ago
Ryan Dwyer 5940682f40 Implement resize grow|shrink <direction> <amount> or <amount>
6 years ago
Ryan Dwyer 558ca9fc28 Implement resize command for floating views
6 years ago
emersion efda33b285 Simplify popup_unconstrain
6 years ago
emersion 82c978d34b Remove orbital screenshooter
6 years ago
emersion d88f1d2196 Fix output_has_opaque_lockscreen
6 years ago
Drew DeVault bcdf04d79c
Merge pull request #2252 from rkubosz/scroll-button-option
6 years ago
Robert Kubosz f8bc928b2d
add error handling for scroll button out of range
6 years ago
Ryan Dwyer 53133fdefb
Merge branch 'master' into xwayland-floating-borders
6 years ago
Robert Kubosz 89db5b5716
expanded error detection for scroll button option
6 years ago
Drew DeVault da8149c066
Merge pull request #2253 from Hello71/issue2249
6 years ago
emersion a96f1c22fe Add xdg-positioner support
6 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views
6 years ago
Alex Xu fbecfc2d35 config.c: fix current_config uninit warning (#2249)
6 years ago
Robert Kubosz 094edcbea2
rm constraint for max value of button identifier
6 years ago
Robert Kubosz 20d6c7c2e4
add paragraph to sway-input man page
6 years ago
Robert Kubosz 08edaf4e76
increase maximum value of button identifier
6 years ago
Ryan Dwyer ee0e1b170e Fix crash in seat code
6 years ago
emersion 60fdb71a1f Updates for swaywm/wlroots#1116
6 years ago
Drew DeVault 2bc18d8cf7
Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windows
6 years ago
Robert Kubosz 41b80c28df
add scroll button option
6 years ago
dudemanguy 600c126150 fix crash on floating windows
6 years ago
Ryan Dwyer f2d1cf3ceb Implement floating_minimum_size and floating_maximum_size
6 years ago
emersion 73084c5fa6
Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer
6 years ago
Ryan Dwyer 3b50a2a3af Use saved buffer when fullscreen view is in a transaction
6 years ago
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused
6 years ago
russ morris 6ae1004cd1 removed unnecessary parens
6 years ago
russ morris c06266e12d fix line lengths
6 years ago
russ morris b9d8ecc548 tabs instead of spaces
6 years ago
russ morris 89c25dd149 fix tabbed titlebar widths
6 years ago
Ian Fan 23c1c26c3f Add get_config message type to ipc
6 years ago
Ian Fan 5fd36164a0 Add get_binding_modes message type to ipc
6 years ago
Ryan Dwyer 56ad148403
Merge branch 'master' into fix-stacked-layout
6 years ago
Drew DeVault 6fd9a2bfd6
Merge branch 'master' into focus-mode-toggle
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Konstantin Pospelov 9dd54f934e Fix titlebar rendering for nested stacked containers
6 years ago
emersion b755639ca8
Document `focus floating|tiling`
6 years ago
emersion 48c98b676f
Implement `focus mode_toggle`
6 years ago
emersion ebcdce457a
Merge pull request #2223 from RyanDwyer/floating-move
6 years ago
Ryan Dwyer b0fc7e9850 Remove duplicate function declaration and add assertion
6 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands
6 years ago
vilhalmer 4e7ef1dd39
No need to walk to workspace, recursive will
6 years ago
vilhalmer 47c20f8ea4
Regroup signal
6 years ago
vilhalmer ce626a0708
Replace empty workspace with moved workspace
6 years ago
vilhalmer 621d2666b1
Destroy empty workspace when destroying its output
6 years ago
emersion f9625d1d56
Split renderer
6 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters
6 years ago
emersion 9a9d9116be
Make view_update_* update live props as well
6 years ago
emersion 47d56306c3
Fix xwayland floating views unclickable
6 years ago
Drew DeVault 817e847749
Merge pull request #2206 from martinetd/leaks
6 years ago
emersion b3c55dd909
Merge branch 'master' into leaks
6 years ago
Ryan Dwyer 464d4d5889 Translate surface by its geo when doing opaque box check
6 years ago
Ryan Dwyer 9480781229 Don't clear when using opaque lockscreen
6 years ago
Ryan Dwyer 3b842f4eed Detect opaque lockscreen when using a solid color
6 years ago
Ryan Dwyer f1fadef923 Use pixman_region32_contains_rectangle
6 years ago
Ryan Dwyer 839c3a5500 Use opaque region to determine if frame done should be sent
6 years ago
Ryan Dwyer 58befcf2cd Don't send frame done to surfaces behind lockscreen
6 years ago
Drew DeVault 3d2595b102
Merge branch 'master' into remove-input-fix
6 years ago
Ian Fan f63b209d51 Attach destroy handler earlier
6 years ago
Drew DeVault a06d45a14d
Merge pull request #2217 from RedSoxFan/fix-663
6 years ago
Brian Ashworth c833ae64bc Fix pointer button events for layer surfaces
6 years ago
Brian Ashworth 78c08fb0a2 Implement mode --pango_markup
6 years ago
emersion 84109431f7
Merge pull request #2185 from swaywm/update-wlroots-1076
6 years ago
Thomas Plaçais ab5c8c31a0 Escape underscore in sway-input(5) man page to avoid invalid colors
6 years ago
Dominique Martinet 7ef08ffbe6 pango/cairo: set default font map to NULL to free it
6 years ago
Dominique Martinet fe72e3b349 cmd_results_to_json: return copied string and properly free the json
6 years ago
emersion 51b215ad5c
Use wlr_surface.buffer_damage
6 years ago
Drew DeVault d43500831a
Updates per wlroots#1076
6 years ago
Dominique Martinet 9314c45c41 workspace_next_name: free targets later than these already found in order
6 years ago
Dominique Martinet 785ed4383b view_map: free criterias as the list it is
6 years ago
Dominique Martinet ffbe91c245 container_free: free formatted title
6 years ago
Dominique Martinet ffe9de6e24 ipc-server: free clients at destroy
6 years ago
Dominique Martinet 9f5d539657 config: add a couple of forgotten frees
6 years ago
Dominique Martinet 8a771785ad keyboard: free xkb keymap on destroy
6 years ago
Ryan Dwyer fc826b921f Call view_set_tiled for mapping non-floating views
6 years ago
Drew DeVault eed0b5614f
Merge pull request #2205 from RyanDwyer/fix-border-weirdness
6 years ago
Ryan Dwyer 50b401677b Fix use after free in transaction code
6 years ago
Ryan Dwyer 4cb6c368a7 Fix boolean
6 years ago
Ryan Dwyer f156a25e64 Only call view_set_tiled when switching floating mode
6 years ago
Dominique Martinet b0918b1058 ipc-server: add display destroy listener and remove ipc_terminate
6 years ago
emersion 4afa18a0c0
Merge pull request #2202 from RyanDwyer/fix-focus-damage
6 years ago
Ryan Dwyer 0bd41a0dae Fix focus related damage
6 years ago
Dominique Martinet c092f1fe6a startup: move setenv WAYLAND_DISPLAY before config execs
6 years ago
emersion 8cc26130a6
Merge pull request #2194 from RyanDwyer/fix-incorrect-render
6 years ago
Ryan Dwyer 1e4807efa0 Don't return pending children in seat_get_active_current_child
6 years ago
Ryan Dwyer d467452e5e Fix damage on swaybar when view requests to exit fullscreen
6 years ago
emersion f611a4f9b1
Merge pull request #2187 from martinetd/idle-inhibit
6 years ago
Dominique Martinet 71224781c4 idle_inhibit: move server data to its own struct
6 years ago
Dominique Martinet 072b334abc idle_inhibit: stop inhibitor when views become invisible
6 years ago
Dominique Martinet e4bfb3bc98 Add idle inhibit unstable v1 support
6 years ago
Dominique Martinet 4eeca10a8a load_config: move NULL path check before first use
6 years ago
Dominique Martinet 8c526bbb03 config include: fix leak on relative include path
6 years ago
Dominique Martinet 248ea93c1a bar config: fix uninitialized accesses on init error
6 years ago
Dominique Martinet e67c8cf1cb cmd_assign: fix leak on error
6 years ago
Dominique Martinet c73c552cae bar_cmd_modifier: fix use-after-free on error
6 years ago
Dominique Martinet 6d2b82253a bar_cmd_font: fix leak of font
6 years ago
Dominique Martinet 0c6149171b read_config: fix leak on error
6 years ago
Dominique Martinet a2354d5992 cmd_background: fix leak on error
6 years ago
Dominique Martinet df494a7e51 transaction_apply: use float for quotient
6 years ago
Dominique Martinet c78ab67877 workspace_next_name: fix string length for ws_num >= 100
6 years ago
Dominique Martinet 9c9ee3e4ef find prev/next output/workspace: add NULL check
6 years ago
Dominique Martinet ab18740529 output commands: move !argc checks after argc gets decremented
6 years ago
Dominique Martinet 557a14a6fe config_commands_command: make alloc failure check more permanent
6 years ago
Dominique Martinet 5690bea227 input_config: free new_input_config on error
6 years ago
Dominique Martinet ebe69583c7 ipc-server: fix more use-after-frees on ipc_send_reply error
6 years ago
Dominique Martinet 0ab04b7434 ipc-server: minor code cleanup
6 years ago
Dominique Martinet 546ddbcd5b ipc-server: fix double-free on send error in ipc_send_event
6 years ago
Dominique Martinet 9c8fb7d025 invoke_swaybar: fix message length header size
6 years ago
Dominique Martinet 1b7f554474 log_kernel: s/fclose/pclose/ (for popen'd FILE)
6 years ago
emersion 7abb4d63e2
Init screencopy manager
6 years ago
Dominique Martinet ce17788533 exec_always: fix leaks
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Dominique Martinet bc1e99305a xdg_shell: listen to fullscreen request on map
7 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
7 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Rostislav Pehlivanov 0cc24dd9c8 Fix crash with stacking layout after f42bf0ad4
7 years ago
Ryan Dwyer fc6fde7d90 Fix compile error
7 years ago
Rostislav Pehlivanov f42bf0ad4a container_at_view: don't offset the view by the window geometry
7 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
7 years ago
emersion 4de28bba68
Fix floating views not receiving frame events
7 years ago
Ryan Dwyer 96c8c02483 Fix flash of background when xwayland views are mapped
7 years ago
Ryan Dwyer 3a6ed5110c Render saved buffers with the surface's dimensions
7 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer d7169ee7ff Replace list_empty with a simple alternative
7 years ago
Ryan Dwyer e8fb6b3325 Fix crash when moving last child of a container to workspace or output
7 years ago
Armin Preiml 1eede432fc fix handling key modifiers if not pressed at first
7 years ago
Armin Preiml c4b900c1e0 fix accidently removing borders on XCB_CONFIGURE_REQUEST
7 years ago
Thomas Plaçais 9a3c6d2dbe Check if command input has at least 2 arguments
7 years ago
Ryan Dwyer 9652529cc1 Allow views to skip configures
7 years ago
Ryan Dwyer e6829c5991 Move unsetting of view->surface into view_unmap
7 years ago
Ryan Dwyer 8773ed3970 Fix memleak in container_get_box
7 years ago
Ryan Dwyer be86d3aba6 Remove transaction_add_damage
7 years ago
Ryan Dwyer 61c1187685 Fix nitpicks
7 years ago
Ryan Dwyer bf38081382
Merge branch 'master' into xwayland-wants-float
7 years ago
emersion ecd748d240
Merge branch 'master' into float_xdg_shell
7 years ago
ael-code a4578815f1
cleanup output-background subcommand handling
7 years ago
ael-code 4550cb2b3e
fix memleak on background cmd error
7 years ago
Dominique Martinet 6856866a61 layer_shell: order destroying before sway_output
7 years ago
Dominique Martinet 08800c8ee2 layer_shell: cleanup output link on output destroy
7 years ago
Ryan Dwyer a7b3f29292 Remove incorrect assertion and supporting code
7 years ago
Ryan Dwyer 93696b78ec Fix crash when closing output window from outer session
7 years ago
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
7 years ago
Ryan Dwyer 0085f64ac0 Remove timer when transaction destroys
7 years ago
Ryan Dwyer e8001e6fbe Damage output when views toggle fullscreen
7 years ago
Ryan Dwyer 50190bc760 Rename view's free callback to destroy
7 years ago
Ryan Dwyer 7a922c65aa Damage output when a fullscreen view unmaps
7 years ago
Dominique Martinet c9be014557 xdg_shell: make view floating if a parent has been set
7 years ago
Ryan Dwyer beacd4d9f9 Rename progress_queue to transaction_progress_queue
7 years ago
Ryan Dwyer 9b15e81cff Fix potential crash when fullscreen view unmaps
7 years ago
Tony Crisci e9ad10c2d6 dont focus-follow-mouse when keyboard grab
7 years ago
Ryan Dwyer c371ff3de8 Implement per-configure debug timings
7 years ago
Ryan Dwyer 289d696adc Implement transaction timings debug
7 years ago
emersion eeb38d65cb
xwayland: accept configure requests from floating views
7 years ago
Ryan Dwyer a3976e2659 Fix another crash when moving out of stacks or tabs
7 years ago
Ryan Dwyer 1549fb719a Implement atomic layout updates for xwayland views
7 years ago
Ryan Dwyer b6a238c7b7 Fix crash when running move <direction> in an empty workspace
7 years ago
Ryan Dwyer b864ac0149 Fix crash when unmapping a view with reapable parents
7 years ago
Ryan Dwyer 33e03cb277 Fix crash related to stacks and tabs
7 years ago
Ryan Dwyer f08a30d6d0 Force transactions to complete in order
7 years ago
Ryan Dwyer 32b865e610 Fix crash when deleting last child in a tabbed or stacked container
7 years ago
Ryan Dwyer b11c9199a6 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Drew DeVault 5222e14555
Merge pull request #2155 from ael-code/fix_output_command_failure
7 years ago
ael-code ad085c1332
bugfix: avoid access after free
7 years ago
Drew DeVault e8fbda4d21
Merge pull request #2146 from tobiasblass/prepare_server_before_dropping_privileges
7 years ago
Rostislav Pehlivanov aa9f058e3e Init the dmabuf exporting protocol in wlroots
7 years ago
Tobias Blass a5c091e302 Perform (partial) server initialization before dropping privileges.
7 years ago
emersion cda66e9a26
Automatically float xwayland windows
7 years ago
Ryan Dwyer 1c89f32533 Preserve buffers during transactions
7 years ago
Ryan Dwyer 645bf446fa Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
emersion 088cae45c8 Update for swaywm/wlroots#1060
7 years ago
frsfnrrg ca061ba8bf Fix keyboard shortcut handling inconsistencies
7 years ago
frsfnrrg b23cd827cf Sort binding key lists
7 years ago
Ryan Dwyer 9e96cfd310 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Drew DeVault 867fb6aedb
Merge pull request #2124 from emersion/drag-icons
7 years ago
Nate Symer 6a910b9ba5 Implement gaps (PR #2047)
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
emersion 88cd7616db
Fix compilation errors related to disabled outputs
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer f9e6d703d2 Make main properties be the pending state
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Brian Ashworth e2b2fb0a0e Switch restore workspaces to a nested for-loop
7 years ago
Brian Ashworth 5c9a917df9 Restore workspaces to outputs based on priority
7 years ago
emersion acf71fe805
Merge pull request #2119 from martinetd/gcc-strtruncation
7 years ago
Dominique Martinet 720313e185 sway/criteria: gcc string truncation warning fix
7 years ago
Dominique Martinet d26a0a1a6e sway exec command: use waitpid instead of wait
7 years ago
Brian Ashworth 212e4ef395 Remove strip quoting and fix strncpy-overlap
7 years ago
emersion 07bee8cffe
Merge pull request #2084 from RedSoxFan/runtime-var-expansion
7 years ago
Brian Ashworth e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a0bbe67076 Address emersions comments on output re-enabling
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Brian Ashworth 82b3b587dd Remove tab/stack check for focusing after a split
7 years ago
Brian Ashworth e7261e2917 Fix focusing after splitting tabs/stacks
7 years ago
Scott Leggett 609c420501 Initialise previous cursor position.
7 years ago
Tobias Blass d6d292897f Remove suspicious unconditional return
7 years ago
Brian Ashworth f4870d5432 Fix logic issue in do_var_replacement
7 years ago
Brian Ashworth 067fe9d047 Support runtime var expansion and set at runtime
7 years ago
emersion 0f71547032
Merge pull request #2095 from emersion/fullscreen-damage-only-visible
7 years ago
emersion 6b9ffbad20
Merge pull request #2103 from RyanDwyer/focus-fixes
7 years ago
Brian Ashworth 9aaac8b8c8 Fix movement crashes/issues
7 years ago
Ryan Dwyer 1206a60977 Don't restore focus if unmapping surface wasn't focused
7 years ago
Ryan Dwyer bcdb676abb Don't set focus to NULL when clicking a surface which has no container
7 years ago
Ryan Dwyer 9253278328 Restore focus when unmapping layer shell surfaces
7 years ago
Ryan Dwyer 74799937cf Restore focus when unmapping unmanaged xwayland surfaces
7 years ago
emersion 0549fd027b
Merge pull request #2087 from RedSoxFan/output-subcommand
7 years ago
emersion 6d0ad6a1ed
Merge pull request #2099 from RyanDwyer/fix-seat-get-active-child
7 years ago
Brian Ashworth 51fa988be9 Address review comments for output subcommands
7 years ago
Brian Ashworth 5ea4a4d3ee Refactor cmd_output to use config_subcommand
7 years ago
Ryan Dwyer d02e9aa4bc Fix initial workspace orientation on a rotated output
7 years ago
Ryan Dwyer 57e78414fa Fix seat_get_active_child
7 years ago
emersion ebe0b668c9
Merge pull request #2093 from emersion/damage-debug
7 years ago
emersion 8e3d19aad2
Merge pull request #2096 from kupospelov/fix-title-update
7 years ago
Ryan Dwyer 8289e30308 Fix potential crash when destroying workspace
7 years ago
Konstantin Pospelov e6baac4297 Fix view title update order
7 years ago
emersion 55b855d867
Add SWAY_DAMAGE_DEBUG
7 years ago
emersion 34bdf25bb5
Only send frame to visible surfaces when fullscreened
7 years ago
emersion 51eee3aecc
Schedule a frame even if damage is empty
7 years ago
Dominique Martinet 71ab13f1eb sway/config: fix use-after-free for end of block
7 years ago
Drew DeVault df204b65d8
Merge pull request #2089 from emersion/send-frame-done-visible
7 years ago
emersion 65845be802
Only send frame done to visible views
7 years ago
Brian Ashworth 8bfa2def88 Address first round of review for generic blocks
7 years ago
Brian Ashworth 51bb9d8573 Support braces on next line for config blocks
7 years ago
Brian Ashworth 7c810dc344 Make command block implementation generic
7 years ago
emersion 2d480e754e
Merge pull request #2080 from frsfnrrg/keyboard-remodeling
7 years ago
Ryan Dwyer 3f1cfd547e Fix top border when a view is initially floating
7 years ago
frsfnrrg 78b7b46895 Style fix, redundant entry removal, fix extra keysym delete
7 years ago
frsfnrrg 480f0c593c Rename update_shortcut_model to update_shortcut_state
7 years ago
frsfnrrg 83d559dd03 Rename check_shortcut_model to get_active_binding
7 years ago
frsfnrrg c53e4e6cde Style fixed for keyboard.c
7 years ago
frsfnrrg eb00edc6e2 Style fixes for bind.c
7 years ago
frsfnrrg f2fe93d171 Remove almost-always redundant loop in key handling
7 years ago
frsfnrrg 705230a26c Fix binding bindcode flag initialization
7 years ago
frsfnrrg a056419ad7 Rewrite shortcut handling code to avoid hardcoded values
7 years ago
frsfnrrg f5ed65e633 Use XKB keycode numbering for bindcode
7 years ago
frsfnrrg d77681ea3d Share common code between bindsym and bindcode commands
7 years ago
Drew DeVault 96446fdbf7
Merge pull request #2027 from RyanDwyer/implement-floating
7 years ago
Brian Ashworth edf37f27e1 Fix cmd_workspace crash when a surface has focus
7 years ago
Ryan Dwyer 70c2c50445 Fix changing borders on floating views
7 years ago
Ryan Dwyer d466b8fa7b Don't auto float xdg views if their dimensions are not set
7 years ago
Ryan Dwyer a2c1cb9072 Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer c9e3a313b4 Fix fullscreen position of xwayland views
7 years ago
Ryan Dwyer 00cac22038 Fix crash when using multiple outputs
7 years ago
Drew DeVault e605dc43bb Fix mouse warping interaction with layout coords
7 years ago
Ryan Dwyer c9f8d35ca9 Consider floating views when calculating title height
7 years ago
Ryan Dwyer 9119f87655 Fix floating position when view is floated when mapped
7 years ago
Ryan Dwyer f7cadf2333 Adjust move command to account for changed coordinate system
7 years ago
Ryan Dwyer f24087d104 Fix fullscreen position
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago
Ryan Dwyer 40af5d81a1 Fix getting adjacent output
7 years ago
Ryan Dwyer becceafa7f Remove unfinished wants_floating implementation for xwayland
7 years ago
Ryan Dwyer 5b1601c2e3 Don't let xwayland views set position unless unmanaged
7 years ago
Ryan Dwyer 02d385e06f Use swayc rather than wlr_output when rendering
7 years ago
Ryan Dwyer 3b1db30a5e Use surface size if xdg shell's geometry isn't set
7 years ago
Ryan Dwyer 4371c746e4 Implement wants_floating for xdg_shell and xdg_shell_v6
7 years ago
Ryan Dwyer d4ed204d4d Remove container_self_or_parent_floating
7 years ago
Ryan Dwyer 70f5d6fcf3 Rename container_set_geometry_from_view
7 years ago
Ryan Dwyer 3281574fa3 Remove check for if floating view intersects output
7 years ago
Ryan Dwyer 7d2b33a458 Render floating views before top layer and unmanaged
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer 00f6e179cd Add L_FLOATING back to debug tree
7 years ago
Ryan Dwyer 02de2a6f65 Rename set_maximized functions to set_tiled
7 years ago
Ryan Dwyer 5d69a56209 Prevent splitting a floating view
7 years ago
Ryan Dwyer dc83b158e1 Fix issues with sticky containers and workspaces
7 years ago
Ryan Dwyer 13a4b0512e Fix unfullscreening a floating view
7 years ago
Ryan Dwyer 754cb7944c Respect view's border config for floating containers
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 34f35f0bad Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Drew DeVault 1132efe42e Send frame done to floating views
7 years ago
Drew DeVault 71db8de4be Render floating views
7 years ago
Drew DeVault f3ab895916 Implement `floating enable`
7 years ago
emersion c47d6cb1c4
Merge pull request #2081 from RedSoxFan/fix-2077
7 years ago
Brian Ashworth 8237d944d4 Fix move perpendicular segfault
7 years ago
Brian Ashworth cca587b21f Send reparent events in container_split
7 years ago
Brian Ashworth e13c94f2dd Fix typo
7 years ago
Brian Ashworth 633bee9019 Fix moving out of tab/stack when only child
7 years ago
Brian Ashworth 64225b1137 Send IPC layout of node itself
7 years ago
Brian Ashworth 3b90b55666 Notify of subtree change
7 years ago
Brian Ashworth f5e44d4b2c Fix layout in -t get_tree
7 years ago
Brian Ashworth 103a302fa4 Fix moving out of a tabbed/stacked workspace
7 years ago
Brian Ashworth a66fd74a54 Fix breaking out of tabs/stacks
7 years ago
Ryan Dwyer 6f4cb2b29d Add tree representation to IPC workspace description
7 years ago
Brian Ashworth d76729af22 Implement config parser for workspace_layout
7 years ago
Brian Ashworth 205a1732cf Force fullscreen views to be fully opaque
7 years ago
Brian Ashworth c81d0ef1e8 Support i3's legacy force_focus_wrapping command
7 years ago
emersion 1071785f56
Merge pull request #2060 from RedSoxFan/focus-wrapping
7 years ago
emersion 015878e5db
Merge pull request #2058 from RyanDwyer/refactor-parse-title-format
7 years ago
Brian Ashworth 46da1dc32b Implement focus_wrapping
7 years ago
Ryan Dwyer 7c7d24600b Fix ancestor typos
7 years ago
Ryan Dwyer 9df1432f56 Refactor parse_title_format
7 years ago
Drew DeVault b2c0ba5b18
Merge pull request #2050 from smlx/focus-fix
7 years ago
Drew DeVault 53a3fc63c5
Merge pull request #2055 from RedSoxFan/output-destroy-workspace-ipc
7 years ago
frsfnrrg a78a5684ea Implement bindsym/bindcode --locked
7 years ago
Scott Leggett 4d8120ccf3 Improve comment.
7 years ago
Brian Ashworth fd137c4f05 Send workspace::move in container_output_destroy
7 years ago
Scott Leggett b57f88e7db Avoid assert on container type.
7 years ago
Scott Leggett 1b8de39287 Move previous cursor_position inline.
7 years ago
emersion 9c0cc98d07
Don't move empty workspaces when output is destroyed
7 years ago
Scott Leggett d1ebbebea0 Remove unused function.
7 years ago
Scott Leggett 0039f7a4fd Simplify logic, remove redundant variables.
7 years ago
Scott Leggett dd86444e59 Rely on view_is_visible rather thank walking the tree ourselves.
7 years ago
Scott Leggett 4cd304e4ba Store previous position in sway_cursor.
7 years ago
Ryan Dwyer 8fda41dab5
Merge branch 'master' into cmd-swap
7 years ago
Drew DeVault a372852c44
Merge branch 'master' into xdg-shell-tiled
7 years ago
emersion b350e8ec82
xdg-shell: make all toplevels tiled
7 years ago
Ryan Dwyer d3dd7e5bae Rename view_get_type to view_get_shell
7 years ago
Ryan Dwyer 484cc189e9 Add shell criteria token
7 years ago
Scott Leggett 06098bef98 Focus containers only on entry.
7 years ago
Ryan Dwyer 51865c00c8 Add %app_id to title_format
7 years ago
Brian Ashworth 569f4e0e4c Implement swap command
7 years ago
Drew DeVault fea654a6ce Replace oft-failing abort with if statement
7 years ago
Ivan Chebykin 464ec44b00
Check for next_focus before assert
7 years ago
Ivan Chebykin 6e6b0decd9
Fix usage of sway_assert
7 years ago
Ivan Chebykin 820a8c9c2d
Moved visibility check of of loop, added asserts
7 years ago
Ivan Chebykin 740234a4bc
Break after first tabbed/stacked layout
7 years ago
Ivan Chebykin 53516fa03f
Fix mouse focusing for horizontal/vertical views in tabbed containers
7 years ago
Ivan Chebykin f85d3e15ba
Fixed styling issues
7 years ago
Ivan Chebykin e19fe56e2f
Focus inactive container instead of checking cursor position
7 years ago
Ivan Chebykin 3b67253312
Skip all nested containers
7 years ago
Ivan Chebykin c62efbb5ce
Implement correct focusing for tabbed containers
7 years ago
Ivan Chebykin c1be4b0153
Fix focusing from other containers
7 years ago
Ivan Chebykin 87af08966a
Don't focus tabbed and stacked containers on mouseover
7 years ago
emersion 24832d8574
Update for swaywm/wlroots#1000
7 years ago
emersion 01abab8838
Merge pull request #2017 from emersion/wlroots-993
7 years ago
Drew DeVault ab74c95d56
Merge pull request #2036 from RyanDwyer/workspace-switch-on-map
7 years ago
Drew DeVault daf328d054
Merge pull request #2033 from RyanDwyer/arrange-after-flatten
7 years ago
Drew DeVault a268a0c2ae
Merge pull request #2034 from RyanDwyer/cleanup-container-titles
7 years ago
Ryan Dwyer f32a002401 Switch workspace if required when mapping a view
7 years ago
Ryan Dwyer e496cc99f8 Fix focus bug when moving between outputs
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
Ryan Dwyer 320703fdca Arrange views after flattening the parent
7 years ago
Ryan Dwyer c9630975da Fix crash in move workspace to output command
7 years ago
Ryan Dwyer cdbae9a5e9 Fix nested tabs
7 years ago
Brian Ashworth a6d43ff746 Implement IPC_GET_MARKS
7 years ago
Ryan Dwyer 5354988317 Implement clicking stacked title bars
7 years ago
Ryan Dwyer f6c3682c05 Use constants for titlebar dimensions
7 years ago
Ryan Dwyer 664169fbf1 Implement stacked layout
7 years ago
Drew DeVault 8bbf78fdd4 Fix focus follows mouse with no focus
7 years ago
emersion 708ff238f3
Update for swaywm/wlroots#993
7 years ago
Brian Ashworth 0273c6438c Fix hide_edge_borders smart for tabs and stacks
7 years ago
Ryan Dwyer 048b29527b Pre-multiply alpha for tab decorations
7 years ago
Ryan Dwyer 90607dc329 Add left/right borders to tabs
7 years ago
Ryan Dwyer 5ab4930185 Fix tab border issues
7 years ago
Ryan Dwyer 4672cb7ccf Use class or app_id in tree representation
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer bd79584f65 Add assertion in container_at_view
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Ryan Dwyer c4ea2b51f6 Fix hide_edge_borders constraints
7 years ago
Brian Ashworth 82cd55a670 Fix border commands from changing focus
7 years ago
Drew DeVault cf3ab1f45f
Merge pull request #2007 from swaywm/fix-focus-follows-mouse
7 years ago
Drew DeVault a3d3c819cf Fix focus_follows_mouse over swaybar
7 years ago
Brian Ashworth 750a497a8b Pre-multiply alpha for non-textures
7 years ago
Konstantin Pospelov fcc11f9771 Fix pixel bar below title
7 years ago
Ryan Dwyer 9fd28aea8c Rebuild textures if needed when moving a container
7 years ago
Ryan Dwyer f0212d66ee Update marks textures on output scale event
7 years ago
Ryan Dwyer ebb0d051db Fix many border opacity issues
7 years ago
Ryan Dwyer b1645fb352 Update show_marks documentation
7 years ago
Ryan Dwyer 69ac7f73e7 Destroy marks textures when view destroyed
7 years ago
Ryan Dwyer b351d0a64a Set textures to null when destroying
7 years ago
Ryan Dwyer 5384fdcbc6 Don't show marks which start with an underscore
7 years ago
Ryan Dwyer 0e2cc0af30 Implement show_marks
7 years ago
Ryan Dwyer fc96f004d2 Don't steal focus when a view changes its title
7 years ago
Dominique Martinet 89ae1792b5 sway: run commands without waiting for Xwayland
7 years ago
emersion 79e970d86e
Correctly clip title texture if necessary
7 years ago
Ryan Dwyer 4d1edfcba9 Change unmark implemention to match i3's
7 years ago
Ryan Dwyer 22d38600d0 Implement marks
7 years ago
Brian Ashworth 9ba0dca7ba
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 77b42ec821 Always render top border for border normal
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
Brian Ashworth 3488fbc859 Fix y and height for a hidden top normal border
7 years ago
Brian Ashworth 34b864fb17
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 6ff7c52736 Fix titles and detect edges for hide_edge_borders
7 years ago
Ryan Dwyer 92b8497a0b Fix crash when launching programs from dmenu
7 years ago
Ryan Dwyer 8432d8a15e xdg_shell: Replace get_prop with get_string_prop
7 years ago
Ryan Dwyer 490f92255c Initialise error_arg to NULL in criteria_parse
7 years ago
Ryan Dwyer 39007fc30f Fix double free in criteria
7 years ago
Ryan Dwyer bffcb496cc Revert "Revert "Merge pull request #1953 from RyanDwyer/criteria-focused""
7 years ago
Ryan Dwyer 1e9aaa54a8 Revert "Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements""
7 years ago
Drew DeVault 404d006a1c Enable lazy xwayland
7 years ago
Drew DeVault b2dec12368
Merge pull request #1970 from emersion/xdg-shell-stable
7 years ago
emersion 88d9d43b36
Add xdg-shell stable support
7 years ago
Heghedus Razvan 789a877b37 Fix crash when using pango markup font
7 years ago
Drew DeVault 61aa0937a7
Merge pull request #1824 from snaggen/idle
7 years ago
Ryan Dwyer 90e6dfa268
Merge branch 'master' into edge-borders
7 years ago
Brian Ashworth 0f43eac5dc Fix recursion when counting descendants of a type
7 years ago
Mattias Eriksson 8fbafbfab5 Idle handling for dpms/lockscreen et al
7 years ago
emersion 360e63b8a7
Don't destroy view child on xdg-popup unmap
7 years ago
Brian Ashworth 2adf23c2a3 Only count views for hide_edge_borders smart
7 years ago
Brian Ashworth ec60e24f75
Merge branch 'master' into edge-borders
7 years ago
Brian Ashworth e3625d8f33 Count descendant views for hide_edge_borders smart
7 years ago
Drew DeVault e2b8eac4bf
Merge branch 'master' into wlroots-970
7 years ago
Drew DeVault 2da685e913 Merge remote-tracking branch 'origin/master' into scdoc
7 years ago
Drew DeVault 51b0b25587
Merge pull request #1959 from RyanDwyer/ipc-get-seats
7 years ago
Drew DeVault a2d7079b26 Merge branch 'master' into scdoc
7 years ago
Drew DeVault da679a8051 Fix typos
7 years ago
emersion 50298dc901
Send pointer discrete axis values and source
7 years ago
Drew DeVault 32a572cecf Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"
7 years ago
Drew DeVault ac0e62584f Revert "Merge pull request #1953 from RyanDwyer/criteria-focused"
7 years ago
Ryan Dwyer c72940837c Implement IPC get_seats command
7 years ago
Ryan Dwyer 4717c71da5
Merge branch 'master' into fix-crash-on-fullscreen
7 years ago
Ryan Dwyer 94e42f9857 Implement __focused__ criteria
7 years ago
Drew DeVault 7a964651fb Remove sway-security(7)
7 years ago
Drew DeVault d9a08b7a9d Add sway-input(5)
7 years ago
Drew DeVault 1813482266 Add sway-bar(5)
7 years ago
Drew DeVault 432256ad84 Add sway(5)
7 years ago
Drew DeVault c2a7d367af Wire up scdoc and rewrite sway(1)
7 years ago
Drew DeVault 3e1bf721c6
Merge pull request #1943 from RyanDwyer/criteria-improvements
7 years ago
Brian Ashworth 3db7fc2bb2 Implement hide_edge_borders
7 years ago
Dudemanguy911 935bda0f33 fix crash on fullscreen toggle
7 years ago
Drew DeVault 2217518bd5
Merge pull request #1956 from ggreer/move-focus
7 years ago
Geoff Greer 87fa84df13 cmd_move_container: Focus a window on the source workspace.
7 years ago
Geoff Greer 0a79983f94 Allow setting border widths for normal borders using default_border.
7 years ago
Ryan Dwyer 8595fc5a6f Update criteria documentation
7 years ago
Ryan Dwyer 0bf0a4fa40 Don't unescape \\ in criteria
7 years ago
Ryan Dwyer 3b0c26d149 Overhaul criteria implementation
7 years ago
Ryan Dwyer 83e314bf51 Highlight all child borders when using focus parent
7 years ago
emersion 44fcc06efd
Fix damage tracking on HiDPI
7 years ago
emersion 90614f3a63
Accumulate surface damage even if whole=true
7 years ago
emersion c0f5d740a5
Damage container when updating title
7 years ago
emersion 70b80b4698
Damage container on focus
7 years ago
emersion bec80f1551
Damage borders when damaging view
7 years ago
emersion 98f7ee8f59
Render borders with damage
7 years ago
emersion c8a9ea3903
Implement full damage tracking
7 years ago
Drew DeVault 3bab37858a
Merge pull request #1932 from emersion/fix-layer-shell-exclusive
7 years ago
Ryan Dwyer 497793b5b7 Use reasonable default for font height
7 years ago
emersion 3d29e73e72
layer-shell: use usable_area when arranging non-exclusive layer surfaces
7 years ago
Dan Robertson 4ebd6f3507
Fix null deref in server_init
7 years ago
Ryan Dwyer 4922d269b8 Fix titles on rotated outputs
7 years ago
Vincent Vanlaer 95dac2a069 Update xwayland start for new API
7 years ago
Rostislav Pehlivanov b592351eef Revert "exec_always: Search for executables in /usr/lib/sway"
7 years ago
Rostislav Pehlivanov 2c0c3dc7cc Revert "Make the LIBDIR path configurable"
7 years ago
Rostislav Pehlivanov 0cdc47ab1e Revert "Meson: Replace option `instlibdir` with `libexecdir`"
7 years ago
Rostislav Pehlivanov cf602687c6 Revert "command/exec_always: Use wlr_log for logging errors in the child process"
7 years ago
Ryan Dwyer 556ff5f50e Implement pango support
7 years ago
Ryan Dwyer 1daf69477e Fix PATH setenv() in exec_always
7 years ago
emersion 786727d8bb
Merge branch 'master' into usr-lib
7 years ago
Nicolas Braud-Santoni 177c67e6b8 command/exec_always: Use wlr_log for logging errors in the child process
7 years ago
Nicolas Braud-Santoni 830c4ef74c Meson: Replace option `instlibdir` with `libexecdir`
7 years ago
Nicolas Braud-Santoni 1670b46bf6 Make the LIBDIR path configurable
7 years ago
Nicolas Braud-Santoni 7709340727 exec_always: Search for executables in /usr/lib/sway
7 years ago
Ryan Dwyer 936226845f Add extra check for view title being NULL
7 years ago
Ryan Dwyer 5d6d24e71a Move code for re-arranging after font height change into a common place
7 years ago
Ryan Dwyer da7d6642d3 Refactor parse_title_format()
7 years ago
Ryan Dwyer d10a0a8c41 Fix memory leak in title_format command
7 years ago
Ryan Dwyer 228c478e8d Implement title_format
7 years ago
Ryan Dwyer e83e5487be Use scissor to render title texture
7 years ago
Alex Xu (Hello71) 3202c45054 Check for NULL in container_update_title
7 years ago
Drew DeVault 029c9b1796
Merge pull request #1907 from emersion/backend-input-mapping
7 years ago
Drew DeVault d233e75eec Hide cursor on touch down
7 years ago
Drew DeVault 00e62c214d Fix alphabetization of command list
7 years ago
emersion 424006089e
Default to backend-wise input device mapping, if any
7 years ago
emersion 29224e7aec
Fix segfault when running the resize command without arguments
7 years ago
Ryan Dwyer ed0d606c2a Fix title texture width
7 years ago
Drew DeVault 85396b90fb Fix unfocused.text default
7 years ago
Drew DeVault 58a033d816 Convert border_colors.text to float[4]
7 years ago
Drew DeVault 8f06aa7598 Fix anti-aliasing
7 years ago
Ryan Dwyer 74d1367fac Update titles when surfaces are committed
7 years ago
Ryan Dwyer 89d1571041 Fix potential segfault when setting container title
7 years ago
Ryan Dwyer 55b307cddf Calculate config->font_height based on existing container titles
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Drew DeVault 52aa245b24 Implement basic touch support
7 years ago
Dillen Meijboom b45e2bd95e Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)
7 years ago
Ryan Dwyer daab8e3503 Support alpha in border colours
7 years ago
db 22170bde77 Fix layer surface crash on output destroy
7 years ago
Ryan Dwyer cb07434913 Remove unnecessary pointers
7 years ago
Ryan Dwyer 51df1d4ff8 Update cursor when border is changed
7 years ago
Drew DeVault 7f574c538d Fix alphabetization of commands array
7 years ago
Ryan Dwyer 83952c5201 Restore view_update_position()
7 years ago
Ryan Dwyer 55577498c0 Allow clicking view decorations to focus view
7 years ago
Ryan Dwyer 700510b45e Implement indicator border
7 years ago
Ryan Dwyer ed9e2015b2 Scale borders according to output scale
7 years ago
Ryan Dwyer 0375f966f1 Fix surface offset when using borders
7 years ago
Ryan Dwyer fa5de2876e Move docblock and fix indenting of switch/case.
7 years ago
Ryan Dwyer 630ba30e3c Implement borders
7 years ago
Ryan Dwyer 91f97fc21a Fix segfault in view_unmap()
7 years ago
Ryan Dwyer 312fdf313f Remove arrange_windows()
7 years ago
emersion 976e6b99b6
Merge branch 'master' into refactor-arrange-windows
7 years ago
Drew DeVault 24ab66d123
Merge pull request #1867 from emersion/wlroots-923
7 years ago
emersion 3fd8897abe
Don't call view_set_fullscreen on unmapped xwayland views
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
emersion 860d2384b4
Update for swaywm/wlroots#923
7 years ago
Geoff Greer 5587af1782 Rename len to msg_len. Avoids an aliased variable that was a little confusing to follow.
7 years ago
Geoff Greer b9726afd48 invoke_swaybar(): Set process group. Kill process group.
7 years ago
emersion ff61df17ff
Add map_from_region command
7 years ago
Ryan Dwyer ae39d7b28c Remove sway_container.workspace_layout
7 years ago
Drew DeVault c54097428a
Merge branch 'master' into criteria-commands
7 years ago
emersion df245780d2
Do not let tiled xwayland views do what they want
7 years ago
emersion 3ed3bdf03f
Fix segfault when switching back to workspace with osu!
7 years ago
Ryan Dwyer dfc26c664f Update wording about unmanaged/unmapped views
7 years ago
Ryan Dwyer 689a6a5605 Use size_t instead of int and calloc instead of malloc
7 years ago
Ryan Dwyer 30a7488936 Add assert to view_execute_criteria()
7 years ago
Ryan Dwyer 72767e1cc3 Implement criteria commands
7 years ago
Ryan Dwyer 22b9169631 Fix crash in container_descendants()
7 years ago
Drew DeVault 420a669f21 Updates per swaywm/wlroots#887
7 years ago
Ryan Dwyer fbb5198e43 Sort workspaces after rename
7 years ago
Ryan Dwyer d956286b92 Implement rename workspace command
7 years ago
Ryan Dwyer 4d2b3fc950 Render unmanaged xwayland views when an xwayland view is fullscreen
7 years ago
emersion a41057714f
Update for wlroots#885
7 years ago
Drew DeVault 72149111a5
Merge pull request #1838 from emersion/use-wlr-renderer-init-wl-shm
7 years ago
Drew DeVault 4386dcb624
Merge pull request #1837 from emersion/cursor-default-to-current-time
7 years ago
emersion b96d774c70
Use wlr_renderer_init_wl_shm
7 years ago
emersion 4cf77e1de4
Default to current time when triggering cursor events
7 years ago
Drew DeVault 6e6decf385
Merge pull request #1834 from emersion/xwayland-no-unmap-on-destroy
7 years ago
emersion 33ed279494
Update cursor when workspace focus changes
7 years ago
emersion 17bee33fc9
Don't unmap on destroy, this is already guaranteed by wlroots
7 years ago
Ryan Dwyer 34429a3605 Keep view fullscreened when moving to another workspace.
7 years ago
Ryan Dwyer 6afccd07d9 Add TODO about rendering fullscreen views smaller than the output
7 years ago
Ryan Dwyer 76837b9132 Ignore xdg_shell_v6 request_fullscreen if not mapped
7 years ago
Ryan Dwyer bd67342bdc Don't render top layer when fullscreen.
7 years ago
Drew DeVault 777800e37a Fix qutebrowser crash on context menu dismissal
7 years ago
Drew DeVault 21eb63cc9e
Merge branch 'master' into fullscreen
7 years ago
Ryan Dwyer 9ab61716b5 Correct the repeat_rate documentation.
7 years ago
Ryan Dwyer 9d3739a6f7 Split repeat commands into separate files.
7 years ago
Ryan Dwyer 9715e38ca8 render_output(): When fullscreen, clear to black and don't render background
7 years ago
Ryan Dwyer 45a2fad0de container_get_in_direction(): Don't split this function
7 years ago
Ryan Dwyer 7e38cc2e05 arrange_windows(): Calculate workspace properties when fullscreen
7 years ago
Ryan Dwyer 2acfbc519e xdg_shell_v6: Use client_pending state instead of current
7 years ago
Ryan Dwyer 1285f01b13 Merge branch 'master' into fullscreen
7 years ago
Ryan Dwyer 5b30391383 Make key repeat configurable
7 years ago
Ryan Dwyer 8d06b222f0 Fullscreen rendering and input fixes.
7 years ago
Ryan Dwyer 35ccdd67a8 More fullscreen fixes.
7 years ago
emersion 7114451607
Destroy display in server_fini
7 years ago
Ryan Dwyer 72beae209b Fullscreen fixes.
7 years ago
Ryan Dwyer cc4da245a8 Fix views unmapping their own fullscreen windows.
7 years ago
Ryan Dwyer 143b528f71 Handle fullscreen flag when mapping a surface.
7 years ago
Ryan Dwyer a44d016e2b Don't damage views if they're hidden by a fullscreen view.
7 years ago
Ryan Dwyer c685ef081f Create sway_workspace struct.
7 years ago
Ryan Dwyer bfd5834f4c Feedback for fullscreen.
7 years ago
Ryan Dwyer 52420cc24d Implement fullscreen.
7 years ago
db f555edf353 remove empty workspace when focusing its output
7 years ago
Dominique Martinet 8490d1662c Fix gcc maybe-uninitialized warning
7 years ago
Dominique Martinet 25af959fe9 Fix gcc string truncation warnings
7 years ago
emersion 2b34bf1882
Merge branch 'master' into crashes
7 years ago
emersion bdaf420ead
Do not call the map handler when an xwayland surface is created
7 years ago
Dominique Martinet de65d05821 container_destroy: fix segfault
7 years ago
Dominique Martinet 1fd21650d7 seat_set_focus_wrap: fix use-after-free when destroying last focused container
7 years ago
Danny Bautista c53b2edd41 Add documentation for seat cursor command.
7 years ago
Danny Bautista c355d680e9 Clean up cursor simulation code.
7 years ago
Danny Bautista 1edb2bd892 Implement cursor event simulation with sway commands.
7 years ago
db 63b2543749 Add workspace_auto_back_and_forth for move cmd
7 years ago
Drew DeVault 07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
7 years ago
Drew DeVault 0e3ddf255e Add input "identifier" map_to_output "identifier"
7 years ago
Tony Crisci 8ecd89b7ef address feedback
7 years ago
Tony Crisci ae78f6fb93 Merge branch 'wlroots' into focus-inactive-fixes
7 years ago
Drew DeVault 9c5a88a7bd Fix cursor motion issues
7 years ago
Tony Crisci 70b33342fe criteria match containers
7 years ago
emersion 5ebc99253a
Use wlr_surface_point_accepts_input for unmanaged surfaces
7 years ago
Tony Crisci 46280460a5 push all parents of focused container in focus stack
7 years ago
Drew DeVault efff7c4225
Merge pull request #1776 from emersion/wlroots-remove-backend-egl
7 years ago
emersion 9570e37016
Update for wlroots#850
7 years ago
Drew DeVault 8763957344
Merge pull request #1774 from swaywm/tablet-tool
7 years ago
Drew DeVault 9114d3b84c Implement tablet tool support
7 years ago
db 042b80b9fa Add workspace_auto_back_and_forth command
7 years ago
Tony Crisci 9db859585e container_create_notify on split
7 years ago
Tony Crisci 0ff22c1755 implement ipc focus stack
7 years ago
Tony Crisci de811823b6 seat focus inactive children foreach
7 years ago
Tony Crisci c0f9ee7bd1 seat get focus inactive view
7 years ago
emersion 2b357af7ee
Give keyboard focus to unmanaged xwayland surfaces
7 years ago
emersion a5d06b6e2b
Merge pull request #1766 from emersion/fix-output-container-position
7 years ago
Drew DeVault 5d34e4531f Add basic server decorations support
7 years ago
emersion 61abd56ca4
Fix output containers position
7 years ago
Drew DeVault b12b848bdc
Merge pull request #1759 from emersion/output-send-frame-done
7 years ago
emersion 8af0c2b000
Don't send frame done immediately when rendering
7 years ago
emersion 33b4f945ab
Fix inverted assertion
7 years ago
Drew DeVault c47b4d4edb
Merge pull request #1756 from emersion/output-damage
7 years ago
Drew DeVault f5a9bd5cb7
Merge pull request #1700 from swaywm/move-cmd-full
7 years ago
emersion 93ca8919f6
Don't rejigger if parent has two children
7 years ago
emersion 37b173f326
When moving between outputs, use output center as reference
7 years ago
Drew DeVault 606d322bc2 Container coordiantes/sizes are floating point
7 years ago
Drew DeVault 640232eb22
Revert "Break everything^W^WUse wlr_box for sway_container"
7 years ago
emersion 0c627918bb
Damage all surfaces when damaging whole container
7 years ago
Drew DeVault df0d57b916 Fix issue with incorrectly rejiggered workspaces
7 years ago
Drew DeVault 764489e737 Break everything^W^WUse wlr_box for sway_container
7 years ago
Drew DeVault 9109b1fd11 Fix moving to parallel container on another output
7 years ago
Drew DeVault 5ff16994c5 Address @emersion feedback
7 years ago
emersion 58914822aa
Don't damage the whole output
7 years ago
Drew DeVault c8be7bfc1e Fix another of @orestisf1993's issues
7 years ago
emersion e550e22c0b
Refactor rendering code
7 years ago
Drew DeVault 1f70b94f34 Fix moving into right end of container
7 years ago
Drew DeVault cd6e3182fa Fix issues @orestisf1993 raised
7 years ago
Drew DeVault b5baa78dc3 Address @emersion's comments
7 years ago
Drew DeVault 603e0e42c5 Add debug tree view
7 years ago
emersion 516f5454ad
Simplify damage tracking functions, use them in layer shell
7 years ago
emersion 290c916290
Send surface enter/leave events to view children
7 years ago
Drew DeVault a06052ad9d Fix splitting workspaces
7 years ago
Drew DeVault efac07db5f Fix workspaces not updated on swaybar
7 years ago
Drew DeVault 57954a2b24 Implement move [left|right|up|down]
7 years ago
Drew DeVault d77a0119f4 Avoid arranging windows while reloading config
7 years ago
Drew DeVault cca420b2f8 Fix focus_follows_mouse issues
7 years ago
Drew DeVault b08f7e5183 Fix deletion of still-visible workspaces on unfocus
7 years ago
emersion 88e3e5ea5d
Fix wl_output enter/leave events
7 years ago
emersion c2b1beef15
Remove L_TYPES
7 years ago
emersion 254ca8103c
Merge pull request #1747 from acrisci/ipc-layout
7 years ago
Drew DeVault f63d9417cd
Merge pull request #1743 from emersion/subsurface-damage-tracking
7 years ago
Tony Crisci 6b308dbeb7 address feedback
7 years ago
Tony Crisci 235798ff8e dont send ipc events when there are no listeners
7 years ago
emersion 641807d920
Handle unmanaged surfaces motion
7 years ago
emersion d65d001aa5
Fix desktop_damage_whole_surface
7 years ago
emersion 6b9b03f09f
Remove outdated TODO
7 years ago
emersion 076bedb85e
Add container_damage_whole
7 years ago
emersion 1c91d0c10f
Add damage tracking for xwayland unmanaged surfaces
7 years ago
Tony Crisci bbfc5487bc add layout to ipc containers
7 years ago
emersion 07f3bb3ad1
Handle xwayland configure requests for unmanaged surfaces
7 years ago
emersion a528aea2ee
Make xwayland surface destroy more foolproof
7 years ago
emersion 7ce1038478
Fix xwayland unmanaged surfaces
7 years ago
emersion f5e5b1819b
Track damage of xdg-shell-v6 popups
7 years ago
Drew DeVault f242362e7e Handle output removal on swaybar
7 years ago
emersion 45f93e1650
Accumulate damage from subsurfaces
7 years ago
Drew DeVault 94ecd0f0aa Configure wlr_xdg_output_manager during init
7 years ago
emersion dcd15a2d3d
Implement shell views
7 years ago
Drew DeVault 9e89daf213
Merge pull request #1734 from swaywm/resize-cmd
7 years ago
Drew DeVault f77986338f Implement resize command
7 years ago
Tony Crisci aa35715f4b
Merge pull request #1736 from acrisci/ipc-container-type
7 years ago
Tony Crisci 04ce09630c add type to container json
7 years ago
Tony Crisci 65f254f3fb Merge branch 'wlroots' into fix-focus-inactive
7 years ago
Tony Crisci deda37469a fix focus child
7 years ago
emersion 44b8d30f52 Use new wlr_*_surface_at functions
7 years ago
emersion 8eff00f723 Remove unused SWAY_VIEW_TYPES
7 years ago
Tony Crisci fc9398a42e Implement opacity command
7 years ago
Tony Crisci cfd806577b fix sending window new event
7 years ago
Tony Crisci 3e61718053 try to fix focus-inactive
7 years ago
Drew DeVault d2d050d59c Address review feedback
7 years ago
Drew DeVault b7e7794912 Implement input-inhibit in sway, swaylock
7 years ago
Drew DeVault 06fbd51ff5 Add input inhibitor to input manager
7 years ago
Drew DeVault 3ede718c06 Refocus the last focused container on lock exit
7 years ago
Tony Crisci 76b0f3531f send window close event
7 years ago
Tony Crisci 62c79ef451 fix double free
7 years ago
Tony Crisci 741e3959e3 Merge branch 'wlroots' into split-containers2
7 years ago
Tony Crisci 9d1cbd77ac simplify container close
7 years ago
emersion f3ef1da750
Fix wrong output container coordinates
7 years ago
Tony Crisci fa004dd0d7 move output create to its own file
7 years ago
Drew DeVault deb63eda88
Merge pull request #1717 from emersion/fix-multiple-outputs
7 years ago
Tony Crisci a001890fb8 move workspace create to workspace.c
7 years ago
Tony Crisci 97b171649d move output damage to workspace destructor
7 years ago
emersion c0554d23d3
Fix rendering with multiple outputs
7 years ago
Tony Crisci 035a88e0dc rename container_finish to _container_destroy
7 years ago
Tony Crisci 481a8275c1 address feedback
7 years ago
emersion 5cd9457247
Send enter event to layer shell surfaces
7 years ago
Drew DeVault 1a5785b0c3
Merge pull request #1712 from RedSoxFan/workspace-number-names
7 years ago
Brian Ashworth 1e549230db Fix name generation for workspace number <name>
7 years ago
Tony Crisci a514fee1b9 rename workspace_get_initial_output
7 years ago
Tony Crisci 9b567fc37e clean up container_get_default_layout
7 years ago
Tony Crisci 065887bb7b move container_set_layout to layout.h
7 years ago
Tony Crisci fcbcbf34ad make container_finish private
7 years ago
Tony Crisci 5f4761c4f4 unify workspace create functions
7 years ago
Tony Crisci cba258e16a move output code out of the tree
7 years ago
Tony Crisci 09d448ea2d unify container destroy functions
7 years ago
Tony Crisci b4c5f79725 move view and workspace destructors to container.c
7 years ago
Tony Crisci 7afbe9284f rename _container_destroy to container_finish
7 years ago
Tony Crisci 33006c4e64 dont deallocate in container_close
7 years ago
Tony Crisci 20f9d49b82 cleanup
7 years ago
Tony Crisci 2992b72d61 change reap container approach
7 years ago
Drew DeVault 0bf3b88019 Give layer shells under the shell layer focus
7 years ago
Drew DeVault 56078edd65 Give exclusive focus to layers above shell layer
7 years ago
Tony Crisci 2c165e1288 fix more close segfaults
7 years ago
Drew DeVault 623a08e14f Identify topmost interactive layer post-arrange
7 years ago
Tony Crisci 32ef182f47 cleanup split command handlers
7 years ago
Tony Crisci a89096278b Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci d434da5632 Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci d070244362 fix workspace splits
7 years ago
emersion a4a241697a
Merge branch 'wlroots' into view-redesign
7 years ago
emersion 0c0cc79282
Merge pull request #1699 from acrisci/seat-fixes
7 years ago
emersion 2f64ce86c4
Xwayland unmanaged views aren't views anymore
7 years ago
Drew DeVault 4134407fa9
Merge pull request #1690 from swaywm/i3bar-json
7 years ago
Tony Crisci 357a4401fa address feedback
7 years ago
Tony Crisci 2187684bd0 Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci c7a6524954 fix segfault
7 years ago
Tony Crisci 5e024278a6 Merge branch 'wlroots' into seat-fixes
7 years ago
Tony Crisci 22287b42bf dont copy input config
7 years ago
emersion 2a8985a345
Merge pull request #1697 from RedSoxFan/back-and-forth
7 years ago
Tony Crisci 35445b40a2 remove unused attachment config
7 years ago
Drew DeVault e3689dd5a9 Fixes regarding @emersion's feedback
7 years ago
Drew DeVault c507727ad2 Fix use-after-free with block hotspots
7 years ago
Tony Crisci a82c107c76 80col
7 years ago
Drew DeVault b2d871cfe2 Partially implement move command
7 years ago
emersion 61fabede14
Address review comments
7 years ago
Tony Crisci 53bb7ea996 dont copy seat config on the seat
7 years ago
Tony Crisci 0828c77251 rename input-manager functions
7 years ago
Tony Crisci e677c5b204 rename seat functions
7 years ago
Tony Crisci b5d49cc4e8 remove default from kill switch
7 years ago
Tony Crisci 27e394f8b0 fix children list segfault
7 years ago
Tony Crisci eda425fdab fix some segfaults
7 years ago
emersion 1d68f9ecca
Add sway_view_impl
7 years ago
emersion b2c2ee693b
Introduce common functions to create, map, unmap, destroy views
7 years ago
Tony Crisci 2aec85bf24 clean up view destroy seat cleanup
7 years ago
Tony Crisci 6f7b33e691 handle container destroy in the seat
7 years ago
Tony Crisci e7ecb001d7 reap container parent on destroy
7 years ago
Tony Crisci f7a20726fc temporarily add LD_LIBRARY_PATH stuff
7 years ago
Tony Crisci 7706d83160 basic split containers
7 years ago
Drew DeVault 122b96abed
Merge pull request #1684 from swaywm/follow-warp
7 years ago
Drew DeVault f2332dc75c Address review feedback
7 years ago
emersion 8aedc042ee
Fix two segfaults when destroying outputs
7 years ago
Drew DeVault b9d2983324 Fix interaction between warping and following
7 years ago
Drew DeVault 9b38ef950f Implement focus_follows_mouse
7 years ago
Drew DeVault ae6d459000 Implement mouse warping
7 years ago
Drew DeVault 89ca6676be
Merge pull request #1681 from emersion/xwayland-configure-position
7 years ago
emersion 98b67e2399
Fix xwayland configure in set_size
7 years ago
Drew DeVault a1e7ffd857
Merge pull request #1677 from emersion/maximize-xwayland-views
7 years ago
Brian Ashworth c901510e01 Fixes back-and-forth name saving for non-empty ws
7 years ago
emersion 0f7936735c
Fix unmanaged views rendering on all outputs
7 years ago
emersion 6579717994
Fix xwayland configure position
7 years ago
Drew DeVault eb5a8e03ff Check for null container
7 years ago
Drew DeVault e4fd47d3a1
Merge pull request #1682 from emersion/unmanaged-no-container
7 years ago
Drew DeVault ccdcaa478f Fix bug with previous commit
7 years ago
emersion a44a71c116
Make it clear that unmanaged views don't have a container
7 years ago
Drew DeVault 8aa195e311 Fix #1104
7 years ago
Drew DeVault 5c08e13e50 Set Xwayland seat on focus
7 years ago
Drew DeVault ae0552606b Configure linux_dmabuf, primary_selection
7 years ago
Drew DeVault 6a1a94b87c
Merge pull request #1678 from emersion/xwayland-xcursor
7 years ago
Drew DeVault 18173fb5ad Free bar configs on reload and exit
7 years ago
emersion b237fa0b22
Set xwayland cursor
7 years ago
emersion 5f3fce7519
Maximize xwayland views by default
7 years ago
Drew DeVault 212b503992 Use wlr_surface_point_accepts_input
7 years ago
Drew DeVault f5470f3338 Pass pointer events to surface layers
7 years ago
emersion 9665642765
Merge branch 'wlroots' into client-cursors
7 years ago
Drew DeVault 1b88eaee6b
Merge pull request #1665 from emersion/damage-tracking-lite
7 years ago
Drew DeVault e6fa7a722e
Merge pull request #1669 from emersion/workspace-pointer-events
7 years ago
emersion 139f80b0f0
Handle map/unmap events in xdg-shell-v6
7 years ago
emersion 3a68c012a9
Remove debug, add explicit TODO
7 years ago
emersion 50219564c2
Fix white screen due to bad cast
7 years ago
emersion a776ecbb86
Add lite damage tracking
7 years ago
Tony Crisci 7e0d430a0c
Merge branch 'wlroots' into wlroots-xwayland-map
7 years ago
emersion eb716c6c43
Fix segfaults when focusing a workspace
7 years ago
emersion 03255fd202
Fix pointer events for hidden workspaces
7 years ago
Drew DeVault 88f08a42f3 Fix segfault when reaping invisible workspaces
7 years ago
Drew DeVault b28e6d2369 IPC fixes
7 years ago
Drew DeVault 49379dd0fc Fix workspace deletion edge cases
7 years ago
emersion cf09ea184b
Use the new map/unmap events for xwayland views
7 years ago
Drew DeVault a5e457d59a Add xwayland views to focused container
7 years ago
emersion 1592543fd6
Merge pull request #1659 from swaywm/default-orientation
7 years ago
Drew DeVault b6b674fd76
Merge pull request #1657 from emersion/render-fixes
7 years ago
emersion 681f38c878
Fix segfault on xwayland unmanaged view unmap
7 years ago
emersion 6c9d67b105
Handle set_cursor requests from clients
7 years ago
Drew DeVault 01af343912 Destroy empty workspaces when moving away
7 years ago
Drew DeVault 69eb021767 Add default_orientation command
7 years ago
emersion 28cb412b0d
Unify initial xwayland view mapping with map handler
7 years ago
emersion 981827ca42
Cleanup and remove global renderer reference
7 years ago
Drew DeVault 2d46050281 Fix crash when override redirect views close
7 years ago
Drew DeVault e62cc0ac26 Finish porting over workspace_next_name
7 years ago
Drew DeVault 00d450e554 Use output coords for layer surfaces
7 years ago
Drew DeVault d6acb3d86c Set WAYLAND_DISPLAY earlier in startup
7 years ago
Drew DeVault f26ecd9f58 Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
7 years ago
Tony Crisci 8f490d7d2d Fix oversights from previous pull request
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Drew DeVault 6b7841b11f
Merge pull request #1647 from acrisci/refactor-tree
7 years ago
Tony Crisci 2778edef97 arrange windows
7 years ago
Tony Crisci 92c58b1e63 rename container_for_each_descendent
7 years ago
Drew DeVault dbda7bfbed Move declaration into loop
7 years ago
Drew DeVault ddc09940b1 Exit ipc_get_workspace_callback early
7 years ago
Drew DeVault 8efee109ad Implement modes
7 years ago
Drew DeVault 741424c4e7 Clean up imported bar commands
7 years ago
Drew DeVault 849c3515ab Use statically allocated text buffer
7 years ago
Drew DeVault c91adbd188 Fix failure to rearrange output in some cases
7 years ago
Drew DeVault f3fbf19312 Do some small cleanup
7 years ago
Drew DeVault 5f5076baff Call arrange_windows on layer destroy
7 years ago
Drew DeVault 8b5b72c576 Restart swaybar on config reload
7 years ago
Drew DeVault 2e84f21ab7 Terminate swaybar when freeing bar config
7 years ago
Drew DeVault 2719ddfe5e Spawn swaybars when outputs are added
7 years ago
Drew DeVault 5c9cdbcdd2 Add swaybg_command
7 years ago
Drew DeVault 569b2bfd5d Move bar config into its own file
7 years ago
Drew DeVault bf7a4cd0eb Add bar configuration commands
7 years ago
Drew DeVault 6836074fed Implement enough IPC for swaybar to work
7 years ago
Drew DeVault a76829f375 Some layer shell fixes
7 years ago
Scott Anderson c8e7437b82 Clear buffer after beginning renderer
7 years ago
Tony Crisci 4c394a0e9e address feedback
7 years ago
Tony Crisci 4ec8bf4cee 80col
7 years ago
Tony Crisci 62d1b4cb96 fix container_get_in_direction name
7 years ago
Tony Crisci e5491bf498 rename container destroy func
7 years ago
Tony Crisci ed2cedb544 rename layout init
7 years ago
Tony Crisci eca029f218 more renaming things
7 years ago
Tony Crisci b90099b4b7 rename container functions
7 years ago
Drew DeVault 941ca5c8fd Maximize xdg shell surfaces on creation
7 years ago
Tony Crisci 83d09cf594 remove swayc_t typedef
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Drew DeVault 8d6bce02af Address review feedback
7 years ago
Drew DeVault 68cfa7ef67 Render layer surfaces and respect exclusive zone
7 years ago
Drew DeVault 0c8a64942e Add initial layer shell skeleton
7 years ago
Drew DeVault 1e604f3e35 Update input events per swaywm/wlroots#765
7 years ago
Drew DeVault 53df5889d5 Fix lingering xdg shell issues
7 years ago
Drew DeVault cbb2e3308e Update API to match latest wlroots
7 years ago
emersion 01beee5826
Update wlroots API
7 years ago
emersion 1004915796
Update rendering code for wlroots matrix redesign
7 years ago
emersion 4ab5506064
ipc: add output modes
7 years ago
Dominique Martinet 95963e4a1f xwayland: do not send surface configure when no width/height
7 years ago
Tony Crisci 02804584e5 ipc new window event
7 years ago
Drew DeVault 3c80498891 Utilize wlr_xwayland_surface_is_unmanaged
7 years ago
Tony Crisci ad879c99e0 ipc show focused container
7 years ago
Drew DeVault 4b781356a4 Fix wlr_render_with_matrix call
7 years ago
Drew DeVault 265378270a Revert "Multiple output coords by scale"
7 years ago
Drew DeVault 94f8bdf081 Multiple output coords by scale
7 years ago
Drew DeVault 8ad26c8afd Send surface enter/leave events
7 years ago
Drew DeVault 61c1c3e7af Use focus for new windows xwayland/wl_shell
7 years ago
Drew DeVault 669f91b991 Document updates to the output command
7 years ago
Tony Crisci 1cca3965f3 static bfs queue
7 years ago
Tony Crisci 2154b7c7d6 add config handlers
7 years ago
Tony Crisci 7262bf655f remove checks for command handlers
7 years ago
Tony Crisci 5b219a1598 separate config directives and commands
7 years ago
Tony Crisci ac8269d536 take seat param for handle_command and rename
7 years ago
Tony Crisci 66d1e0b313 basic layout command
7 years ago
Tony Crisci bcb870bcf2 bug: fix crash on focus up
7 years ago
Tony Crisci 23e9f5dc35 use wl_container_of() in output destroy callback
7 years ago
Tony Crisci 4b3aa59b8b rename new_input listener on input-manager
7 years ago
Tony Crisci 316effd7b1 make handle_output_destroy() static
7 years ago
Tony Crisci 4c4cc9c999 remove old comments
7 years ago
Tony Crisci b88f06e70a bugfix: get right layout box for rendering views
7 years ago
Tony Crisci 176d24f02d choose adjacent container between outputs
7 years ago
Tony Crisci fb37e80225 basic move focus in direction across outputs
7 years ago
Tony Crisci 80927985fb fix output rendering issue
7 years ago
Tony Crisci 7c089442c3 use box projection function
7 years ago
Tony Crisci 9510a20fcd arrange windows after output add
7 years ago
Tony Crisci a3ae67af4e basic focus in direction
7 years ago
Tony Crisci 52670c636c basic focus (without direction)
7 years ago
Tony Crisci 780d9fe1e3 cleanup layout.c
7 years ago
Tony Crisci 083e11ac7c fix build for latest api
7 years ago
Tony Crisci c6cb87be19 output damage fix
7 years ago
Tony Crisci 7dfbf06de9 output destroy
7 years ago
Tony Crisci 06c71f115b input device destroy
7 years ago
Tony Crisci 946d9459c5 get swayc in direction
7 years ago
Tony Crisci 93084c9cf8 remove old focus member
7 years ago
Tony Crisci ce3a1b3922 properly pick next focus
7 years ago
Tony Crisci 145b4fdf58 use bfs iterator to collect focus stack
7 years ago
Tony Crisci 095ddb1561 fix build for output damage
7 years ago
Tony Crisci a7d49da239 separate seat get focus and seat get focus inactive
7 years ago
Tony Crisci 7d8f2c52aa make index_child static
7 years ago
Tony Crisci 5151502298 basic focus overhaul
7 years ago
Drew DeVault b28602aa74 Implement workspaces
7 years ago
Drew DeVault a686fb07ae Execute pending commands when Xwayland is ready
7 years ago
Dominique Martinet 6259831d31 commands/reload: remove unimplemented 'load_swaybars' call
7 years ago
Dominique Martinet 5766f426aa config reload: destroy old seat when removed from config
7 years ago
Dominique Martinet 869be4378d commands: add 'reload' command
7 years ago
emersion 0c58673c6a
Merge pull request #1574 from acrisci/config-refactor
7 years ago
Tony Crisci beb3805cf0 dont allow kill command in config
7 years ago
Tony Crisci 38a1628a76 clear handler context before ipc command
7 years ago
Tony Crisci c3fc0d446f cmd-kill: use sway_assert when no container
7 years ago
Tony Crisci 5505d84ac2 criteria cleanup
7 years ago
Drew DeVault a6bc46eea9 Remove sway/old/
7 years ago
Drew DeVault c933781fac
Merge pull request #1570 from acrisci/config-references
7 years ago
Tony Crisci 6b03b1205d implement property criteria
7 years ago
Tony Crisci 0e3eae4baa view interface
7 years ago
Tony Crisci 1156523ccf run all commands with focused container context
7 years ago
Tony Crisci 6a1d71b8b8 basic command criteria
7 years ago
Tony Crisci c353e01c85 add kill command
7 years ago
Tony Crisci cc3c713889 seat config handler context
7 years ago
Tony Crisci 9e0595f26b input config handler context
7 years ago
Tony Crisci 2bf76509f8 update for new wlr-keyboard modifiers
7 years ago
Tony Crisci 9f54cd8935 copy config references for input and seat
7 years ago
Tony Crisci ddc49ede46 xwm handle map and unmap
7 years ago
Tony Crisci 83ddd2d9db render override redirect
7 years ago
Tony Crisci 2ce1d8d6cd render wl-shell and xwayland views
7 years ago
Tony Crisci 619254db76 subsurface input
7 years ago
Tony Crisci 76ce629198 xdg-popups
7 years ago
Tony Crisci 4c8c9b29e4 render xdg surface
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet c83900593d config: add 'set' command
7 years ago
Dominique Martinet 19ddb70a32 fixup free config use free_sway_binding
7 years ago
Dominique Martinet 9a326be7f8 config: leak sanitizer pass
7 years ago
Dominique Martinet f5b33cb4b6 fix typos in comments/messages; add shutting down message
7 years ago
Dominique Martinet 28b8ea9f1e cmd_input: cleanup around current_input_config
7 years ago
Dominique Martinet afca73b6fc apply_input_config: restore previous `current_input_config`
7 years ago
Drew DeVault 91313d3847
Merge pull request #1539 from acrisci/bindings
7 years ago
Drew DeVault bc7011db3c
Merge pull request #1543 from emersion/output-config-by-identifier
7 years ago
Tony Crisci b01a53abfb Merge branch 'wlroots' into bindings
7 years ago
Tony Crisci 8b4eb5d7d1 cleanup bindings
7 years ago
Tony Crisci 50e791cadb binding release
7 years ago
Calvin Lee 7196f59db0 Consolidate WLR and Sway logging
7 years ago
emersion ead3f1e676
Allow to configure outputs by their identifier
7 years ago
Tony Crisci bd3ca70e3d fix nitpicks
7 years ago
Tony Crisci 62b7ab3959 overwrite old bindings
7 years ago
Tony Crisci 0b8481f41a fix keyboard_execute_bindcode
7 years ago
Tony Crisci 8d567cd062 bindcode
7 years ago
Tony Crisci 27cd633b40 run compositor bindings last
7 years ago
Tony Crisci ccaedf5b15 run binding command
7 years ago
emersion 21c61f1c09
Refactor output command, add output enable
7 years ago
Tony Crisci d941246d58 match user bindsym
7 years ago
Tony Crisci daad222337 compositor bindings
7 years ago
Tony Crisci eea80e7276 keyboard translate keysyms
7 years ago
Tony Crisci ba69f06695 binding config
7 years ago
Drew DeVault e1c5adc918
Merge pull request #1535 from martinetd/libinput
7 years ago
Tony Crisci 2f7e435c6f desktop: use wlr-surface commit
7 years ago
Dominique Martinet f3d8df45fc seat_configure_pointer: apply libinput config
7 years ago
Tony Crisci 63f7fb9517 cleanup
7 years ago
Tony Crisci f35575f71d handle keymap not found
7 years ago
Tony Crisci 39e7871a85 dont set cursor image on motion
7 years ago
Tony Crisci 5c036a3eac error on not enough input/seat args for cmd
7 years ago
Tony Crisci 730af5e721 use snprintf to get identifier len
7 years ago
Tony Crisci 9df4a2c7a8 document fallback seat
7 years ago
Tony Crisci f2985000f3 ipc get_inputs
7 years ago
Tony Crisci a949d7de5a Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci a87960711a Merge branch 'feature/input' of github.com:acrisci/sway into feature/input
7 years ago
Tony Crisci 4c436a1a6f remove assumption of one device per identifier
7 years ago
Tony Crisci 483ede0146 improve xkb command logging
7 years ago
Drew DeVault eb4f66f785
Merge pull request #1526 from emersion/fractional-output-scale
7 years ago
emersion c815d6d1a9
Add support for fractional output scale
7 years ago
emersion 4e2ab53119
Add IPC get_outputs
7 years ago
Tony Crisci 41e71d950a remove verbose commit logging
7 years ago
Drew DeVault b0291d126f Fix compile error
7 years ago
Tony Crisci a27736adcd cleanup input-manager
7 years ago
Tony Crisci 88bcd43ebf seat fallback config
7 years ago
Tony Crisci e27eff8a29 send keyboard enter on keyboard configuration
7 years ago
Tony Crisci c41801b75e set keyboard config at runtime
7 years ago
Tony Crisci 0256cd1473 fix keyboard hotplugging
7 years ago
Tony Crisci 9e4fc7253e get device id correctly
7 years ago
Tony Crisci b0ed1ad28d device add/remove logging
7 years ago
Tony Crisci 24e2406429 strip whitespace for device id
7 years ago
Tony Crisci b8261ab24b expect exactly one xkb arg
7 years ago
Tony Crisci f16aa3c0ad rename config apply cmds
7 years ago
Tony Crisci f4a5a0ead4 put seat and input config in their own files
7 years ago
Tony Crisci 2624f55f8d input and seat command docs
7 years ago
Tony Crisci b3a0309f26 fix logging issue for new wlroots
7 years ago
Tony Crisci 9fa70ce426 Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 030fcb64da keyboard cleanup
7 years ago
Tony Crisci 9eecbb5d8a xkb config
7 years ago
Tony Crisci 92fef27eaa basic configuration
7 years ago
emersion cba592b3d2
Use strtol instead of atoi in output command
7 years ago
emersion 9254c5a93f
Fail if unknown output subcommand
7 years ago
emersion 4d389f8b65
Replace refresh_rate and position by mode in output command
7 years ago
emersion ec2fd6e5c0
Handle output remove
7 years ago
emersion a4619e98c4
Update output containers on output layout change
7 years ago
emersion d293c42942
Update output container box in event handler
7 years ago
emersion c7abb77f22
Listen to output layout change
7 years ago
emersion f3d880b0ec
Add scale and transform events to sway_output
7 years ago
Tony Crisci c173d30b92 seat configuration
7 years ago
Tony Crisci 538903bc5a config cleanup
7 years ago
Tony Crisci 163edc5a90 sway input device
7 years ago
emersion 475a0132a9
Use custom modes when output has no mode
7 years ago
Tony Crisci 462a451328 input config
7 years ago
Tony Crisci 9ae906cd37 sway pointer
7 years ago
Tony Crisci 4d449743c5 keyboard remove
7 years ago
Tony Crisci 5e9ee32d63 set focus on new window
7 years ago
Tony Crisci 609f63934a basic keyboard
7 years ago
Tony Crisci 6339c4f161 remove pointer device
7 years ago
Tony Crisci 21626e8153 seat focus on button press
7 years ago
Tony Crisci 0fdecb4d3a Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 5f644d78fc button and axis events
7 years ago
Tony Crisci e69b052a6d working pointer motion
7 years ago
Tony Crisci 9333a7eb53 working xcursor
7 years ago
Tony Crisci 7c67bea942 sway xcursor manager
7 years ago
emersion 4a14aa9ad9
Remove output from layout
7 years ago
Tony Crisci d76e745b73 input include directory
7 years ago
Tony Crisci ec7fc42a00 sway cursor
7 years ago
Tony Crisci f6f63f60d6 basic input manager and seat
7 years ago
Tony Crisci 21ce20885a rename input to input-manager
7 years ago
emersion 8764dc26c6
Add new_output_config, update root container size on output hotplug
7 years ago
emersion 41dd291612
Use wlr_output_layout_get_box
7 years ago
emersion 7c5d8c553c
Simplify free calls, use wlr_output_set_scale
7 years ago
emersion c25ad5e7c4
Merge branch 'wlroots' into output-config
7 years ago
Drew DeVault ab36a5a4d7
Merge pull request #1501 from emersion/command-include
7 years ago
Tony Crisci 338a0399f8 input skeleton
7 years ago
Tony Crisci 47f268d8fa view activate
7 years ago
emersion 68ae989cee
Init, merge output config params, use wlr_output_layout
7 years ago
emersion aaae59026f
Add output config
7 years ago
emersion 9aeda82477
Add include command
7 years ago
Drew DeVault 3fe64482bb
Merge pull request #1498 from emersion/config
7 years ago
Tony Crisci 8bdf3b1b02 view set position
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
emersion 514c819ff9
Add exec and exec_always commands
7 years ago
Tony Crisci 0896b68675 Merge branch 'wlroots' into feature/xwayland
7 years ago
Tony Crisci 1870f116ba xwayland shell
7 years ago
Tony Crisci 9afcfd44c4 wl-shell: class instead of app_id
7 years ago
Tony Crisci 6a694853e5 wl-shell: dimensions to size
7 years ago
Tony Crisci 823f6ee122 Merge branch 'wlroots' into feature/wl-shell
7 years ago
Tony Crisci 8239067da4 basic wl-shell
7 years ago
Tony Crisci 802e7392f8 use "size" instead of "dimensions"
7 years ago
Tony Crisci 59db38ce17 sway wl_shell
7 years ago
Drew DeVault b6f4120afc
Merge pull request #1489 from acrisci/feature/basic-get-tree
7 years ago
Tony Crisci 9220225f1d remove unused timespec_to_msec
7 years ago
Tony Crisci 421f49fe03 basic get_tree
7 years ago
Tony Crisci 7152075681 log env after ipc init
7 years ago
Drew DeVault 1cfebe827a
Merge pull request #1479 from acrisci/feature/meson-build
7 years ago
Tony Crisci 31e44c01b4 send callbacks with send_frame_done
7 years ago
Tony Crisci 517af37cc9 remove relevant CMakeLists.txt
7 years ago
Tony Crisci 2f3633433e add meson install files
7 years ago
Tony Crisci cc310cffb0 meson: common static library
7 years ago
Tony Crisci 88cc7e3178 use meson subdirectories
7 years ago
Drew DeVault 974d510585
Merge pull request #1477 from acrisci/bug/set-mode
7 years ago
Tony Crisci 9696f50eba remove nvidia support claim
7 years ago
Tony Crisci 6993a76232 set mode on output
7 years ago
Drew DeVault 8caabe59c2 Handle view destruction properly
7 years ago
Drew DeVault a57d462926 Fix rendering issues, wire up some xdg listeners
7 years ago
Drew DeVault ce1936bc65 Arrange windows on desktop
7 years ago
Drew DeVault b379b40071 Invoke command handlers once parsed
7 years ago
Drew DeVault 7753a0ec75 Wire up IPC server
7 years ago
Drew DeVault d7d21bb0f8 Add initial command subsystem (untested)
7 years ago
Drew DeVault 4ca1e77fdb Add views to tree and render them
7 years ago
Drew DeVault aeda2e077f Add workspace to outputs
7 years ago
Dominique Martinet 6c1cd82e32 xdg_shell_v6: add _POSIX_C_SOURCE define for struct timespec
7 years ago
Dominique Martinet b8f8de27b8 wlr_data_device header update
7 years ago
Drew DeVault db4fb1c85c Add outputs to the tree
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 0c8491f7d0 Initial (awful) pass on xdg shell support
7 years ago
Drew DeVault 1efd5f819f Wire up output frame loop
7 years ago
Drew DeVault 7eafcc75f6 Initialize outputs from backend and add to tree
7 years ago
Drew DeVault 0ba6554c4f Move sway's internal tree code to sway/tree/
7 years ago
Drew DeVault 0f45fad18c Establish sway input submodule
7 years ago
Drew DeVault 7c448b4081 Fire up the wlroots backend and run the event loop
7 years ago
Drew DeVault 6edc32848f Find and link to wlroots
7 years ago
Dan Robertson 88d042ec49
nvidia: Validate the nvidia_drm module options
7 years ago
Mykyta Holubakha 22906f7fce
handlers: preserve parent pointer value
7 years ago
Drew DeVault b16dbf6d64 Fix crash closing fullscreen windows in container
7 years ago
David Hurst ee15068a8f Add scale to merge_output_config
7 years ago
Drew DeVault 2216e830be Merge pull request #1398 from johalun/freebsd-fix
7 years ago
madblobfish 93fe8ae705 Various manpage edits
7 years ago
Johannes Lundberg 5a63f0f57b Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
David Zero 03f8a8ae05 Update man 5 page
7 years ago
Drew DeVault a82aa2a20d Fix use-after free introduced by cbe7364
7 years ago
Drew DeVault 6271abd644 Fix #1291
7 years ago
Drew DeVault eb7b920303 Document new criteria
7 years ago
Drew DeVault a6d5cad309 Document swaylock -f, scratchpad show
7 years ago
Drew DeVault 6d83a59b46 Merge pull request #1263 from nyorain/master
7 years ago
Drew DeVault 5ecedc7199 Remove destroyed views from scratchpad
7 years ago
Drew DeVault 46e5aeac50 Fix crash on swaygrab with scratchpad populated
7 years ago
lbonn 61005c3bda ipc/window-event: fill "container" on close events
7 years ago
lbonn b2d4caf6c3 commands: fail when criteria match nothing
7 years ago
lbonn 514eed7e4b commands: allow criterion values to be unquoted
7 years ago
lbonn d879e5b15d commands: implement 3 missing criteria from i3
7 years ago
lbonn fd7c4bacbd ipc/tree: populate `focus` fields
7 years ago
lbonn 661625b29e ipc/tree: output mandatory fields for all nodes
7 years ago
lbonn e7df811f10 Security config: skip hidden files
7 years ago
lbonn a7e1a0eea9 Make `workspace_next_name` work with spaces
7 years ago
lbonn 6197fff0b4 Fix move to named workspaces
7 years ago
Drew DeVault c850d433a7 Merge pull request #1383 from kasicka/macarena
7 years ago
Zuzana Svetlikova ef0c51b2f3 Fix github links in doc
7 years ago
Calvin Lee 419a1087ac Clean up output command
7 years ago
Jonas Karlsson 05aeccfca0 Fix issue #1287
7 years ago
azarus 5987f19eb2 Check for Raspberry Pi
7 years ago
Hummer12007 6f355c6ff7 Raise max ipc message size limit to 256 MB
7 years ago
Drew DeVault 3553fa0a74 One more
7 years ago
Drew DeVault 03af90d302 Clean up fallthrough issues
7 years ago
Ilya Lukyanov 1c5a96c112
Implement nonblocking IO in IPC server
7 years ago
Calvin Lee 3c93e2cf1b Prevent race condition in the kill command
7 years ago
Drew DeVault 14eeeed7e0 Remove test clipboard code
7 years ago
Scott Anderson c29e5bbde8 Use WLC v2 pointer interface
7 years ago
nyorain 1cca551c6f Add get_clipbard ipc errors; Adapt swaymsg
7 years ago
nyorain 20888fbb5e Close fd in clipboard request
7 years ago
nyorain 727215c907 Add timeout; Fix receive loop & style issues
7 years ago
Johannes Lundberg a3c07273ba Add secucity config for FreeBSD.
7 years ago
Tobias Blass 566863ba5d fix use-after-free bug
7 years ago
nyorain f0463dab32 Signal base64 in clipboard type; Reimplement loop
7 years ago
nyorain 1e894c1166 Handle x11 text atoms in get_clipboard ipc
7 years ago
nyorain c0f2acce4e Rework get_clipboard implementation
7 years ago
nyorain 42547cafb6 Fix/Simplify get_clipboard ipc-server impl
7 years ago
nyorain 02c75ebe37 Implement ipc get_clipboard
7 years ago
Drew DeVault 23a1e94402 Make asciidoc (and man pages) optional
8 years ago
Mykyta Holubakha 7d8a84b587
Do not add empty policies
8 years ago
Mykyta Holubakha 4f905ecb96
permit.c: check for NULL pointer dereference
8 years ago
nyorain 60fa626116 Add the 'clipboard' command to set the clipboard
8 years ago
Drew DeVault 298f56353e Merge branch 'master' into server-decoration
8 years ago
Drew DeVault 76fcfa1e7f Force focus on unmanaged views during pointer test
8 years ago
Drew DeVault d158e18308 Fix Firefox address bar thing
8 years ago
Calvin Lee 843ad38b3c Implement Tray Icons
8 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Mykyta Holubakha 93cf21fb9a Terminate when both suid bit and filecaps are set
8 years ago
Mykyta Holubakha f736198c31 Initialise logging earlier
8 years ago
wdbw 264a9ee9d8 Add missing send-event mode to sway-input(5)
8 years ago
Josip Janzic 400998d6d2 Add mouse button bindings
8 years ago
Zandr Martin 51ce752ebf
document font command
8 years ago
Zandr Martin f65a88e68d
prevent crash when `layout auto` is missing args
8 years ago
Drew DeVault 816ceddcbd Set child border to background if not specified
8 years ago
Drew DeVault 02812a2e4d Support specifying fewer than 5 colors
8 years ago
Drew DeVault a5c07dde6a Implement KDE's server-side decoration protocol
8 years ago
Drew DeVault 537261f23f Fix handling of floating windows
8 years ago
Drew DeVault ffd0d020d6 Update sway(5)
8 years ago
Drew DeVault 51143a75af Implement no_focus
8 years ago
Sebastian Noack 173b338567 Add -DVERSION flag for release version numbers
8 years ago
Calvin Lee 0dc7e9f514 Fix typo in sway(5)
8 years ago
Tomáš Čech 974be01e83
explicitly ignore unused return value
8 years ago
Drew DeVault 94ad169eb6 Merge pull request #1181 from wasamasa/bugfix-initial-scratchpad-size
8 years ago
Drew DeVault 35603b2341 Merge pull request #1178 from 4e554c4c/fork
8 years ago
Vasilij Schneidermann 0f31323659 Use i3's dimensions for initial scratchpad views
8 years ago
Calvin Lee cee26500a8 Prevent sway from duplicating on a failed fork
8 years ago
Vasilij Schneidermann d4ac594264 Implement and document `move [to] scratchpad`
8 years ago
Jerzi Kaminsky 2ad8850398 Handle symlinks as IPC security targets
8 years ago
Jerzi Kaminsky bcf9338ce7 Add validate_ipc_target()
8 years ago
Jerzi Kaminsky bfb99235e3 Move get_feature_policy to sway/security.c
8 years ago
Jerzi Kaminsky b4357a8eb6 Rename get_policy to get_feature_policy
8 years ago
Jerzi Kaminsky cf5e764c7f Disambiguate get_*_policy() and get_*_policy_mask()
8 years ago
Jerzi Kaminsky 6079e6f7e5 Fix style in sway-bar(5) manpage
8 years ago
Jerzi Kaminsky b463fb8adc Remain compat with libinput < 1.7.0
8 years ago
Drew DeVault b3541d9dc5 Implement more thourough nvidia config check
8 years ago
Drew DeVault b036ad9b54 Downgrade nvidia proprietary driver warning
8 years ago
Drew DeVault 5d3a02a7c6 Merge branch 'master' into pretty-print-swaymsg
8 years ago
Drew DeVault 7fee555a46 Merge pull request #1150 from JerziKaminsky/cmake_find_libcap
8 years ago
Calvin Lee 154c6718c1 Add `-t get_marks` and use more i3-like marks
8 years ago
Scott Anderson 1b2cd93212 Removed explicitly setting file descriptors to -1
8 years ago
Drew DeVault 50a31a6c88 Fix dangling file descriptors (fixes #1152)
8 years ago
JerziKaminsky aa6bd85da1 Add libcap check to CMake
8 years ago
Scott Anderson 3a32be67ed Added designated initaliser, to prevent any possible problem with
8 years ago
Scott Anderson fe54a6725e Changed regular expressions to use PCRE for i3 compatibility
8 years ago
Calvin Lee 069d37f987 Improve criteria handling
8 years ago
Calvin Lee 2445d27960 Impliment i3-style marks
8 years ago
Drew DeVault ab7570d311 Update man page
8 years ago
Drew DeVault 60ce81e06a Add pretty printing to swaymsg
8 years ago
Jarkko Oranen 924ed6464c Prevent "move next" and "move prev" commands from crashing
8 years ago
Jarkko Oranen d7350915d9 The default layout of a workspace should follow the output
8 years ago
Zandr Martin 2d46fc5602
prevent fullscreen focus thievery
8 years ago
Zandr Martin baa17ec696
remove unnecessary todo item
8 years ago
Jarkko Oranen f6196b7e9a Fix off-by-one error when checking workspace_layout arguments
8 years ago
Jaanus Torp 8306b886e9 Allow also 444 for security file mode
8 years ago
Zandr Martin b507462d1c
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
8 years ago
John Chen a0711d9c94 Fix trivial typo in sway.5.txt (right_ -> _right_)
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Drew DeVault 74d4f1bec9 Further indentation corrections
8 years ago
Zandr Martin 18450dd16a
deprecate new_window and new_float commands
8 years ago
Zandr Martin 8684b9ecca
fix workspace output assignment
8 years ago
Calvin Lee d47d3d78de Fix #1099: Allow spaces in worspace names
8 years ago
Calvin Lee 032907e9d2 Clarify move documentation for floating containers
8 years ago
Calvin Lee b35782bcad i3 feature support: Moving flotaing containers
8 years ago
Drew DeVault 407ebe9cd3 Move env logging to earlier than wlc_init
8 years ago
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/*
8 years ago
Drew DeVault eabfb6c559 Add * policies and fix bug
8 years ago
Drew DeVault 1980a08358 Enforce new IPC policies
8 years ago
Drew DeVault b10721b89e Add initial support code for new IPC security
8 years ago
Drew DeVault 7dbecdde95 Revise IPC security configuration
8 years ago
Zandr Martin c6f971d108
use absolute view geometry to calculate position
8 years ago
Mykyta Holubakha 4eae9b33e8
xdg-positioner: log window placement
8 years ago
Mykyta Holubakha 006bd0bc3f
Handle xdg-positioner stuff
8 years ago
Drew DeVault b3c0aa3a9e Merge pull request #1055 from Hummer12007/positioner
8 years ago
Mykyta Holubakha 7520607b8d Properly place windows with xdg-positioner
8 years ago
Drew DeVault 7cc6f288d9 Merge pull request #1053 from Hummer12007/__focused__
8 years ago
Mykyta Holubakha 28278864b4 Support __focused__ as a valid criterion
8 years ago
Mykyta Holubakha d443bce6fe Display instance (if present) in nested layouts
8 years ago
Mykyta Holubakha e714fbcbec Add window instance support
8 years ago
Frantisek Fladung 33a709cae9 add hide_edge_borders smart to sway.5 manual
8 years ago
Mykyta Holubakha 138bcd0cfa Unset LD_LIBRARY_PATH, unless specified
8 years ago
wil a90dddea40 [fix] handle auto layout of empty container
8 years ago
wil 71b386964a replaced "bot" with "bottom" in auto layout commands
8 years ago
wil b74870f516 Improved behavior of insert/remove child in auto layouts
8 years ago
willakat 4c06a10004 Merge branch 'master' into master
8 years ago
Daniel Kessler eda4bad725 Add output wrapping
8 years ago
Drew DeVault c1e6cc3257 Merge pull request #1044 from ametisf/master
8 years ago
Frantisek Fladung c04819e8c0 Implement hide_edge_borders smart (like in i3 4.13)
8 years ago
Mykyta Holubakha d9ba61d7e9 Log capability dropping
8 years ago
Mykyta Holubakha ea1313d80d Keep CAP_SYS_PTRACE with suid binary
8 years ago
Drew DeVault 527c259d06 Fix #1008
8 years ago
willakat dc361fd9df Merge branch 'master' into master
8 years ago
wil 52f3a8df51 fixed up space-after-cast style issues
8 years ago
wil 07474a4fa7 reworked "layout auto*" star commands
8 years ago
Drew DeVault 7c636da8a3 Fix format error
8 years ago
wil 063c79874a Indent cleanups
8 years ago
wil d822150d83 [fix] Keep Clang happy
8 years ago
wil 2040c62da9 Merge branch 'master' of https://github.com/SirCmpwn/sway
8 years ago
wil f24ebd75fa Added mouse resize for auto layouts
8 years ago
wil 1f47c58d63 simplification of apply_auto_layout
8 years ago
wil 3c84250be8 [fix] resize should now preserve surrounding container's dimensions
8 years ago
wil f7269684d0 [fix] scale check to prevent un-necessary layouts was in the wrong place.
8 years ago
wil d99efb5f6f [fix] corner cases win nb_children < nb_master|nb_col
8 years ago
wil bd415029ba Moved auto_* layout functions from resize.c to layout.c
8 years ago
Hummer12007 d59af31256 Fix workspace layouts in json data
8 years ago
wil 704b2db050 Merge branch 'master' of https://github.com/willakat/sway
8 years ago
wil 97f70987d7 [fix] cleanups suggested by Sway community
8 years ago
wil a62048f15d changed "layout promote" command to "move first"
8 years ago
Drew DeVault 0412e95ba9 Document new layout command syntax
8 years ago
Drew DeVault c01b898398 Fix inline is_auto_layout
8 years ago
wil 15745abf0c [fix] cycle auto layouts backwards
8 years ago
wil 1b87193c3d Added "layout promote" command.
8 years ago
wil a0aa8d9780 cleanup in auto layouts
8 years ago
wil 2b0e3c212a [fix] move next/prev behavior for vert/horiz layout
8 years ago
wil 0ff9fe9a7a introduce next/prev as a direction for focus/move commands.
8 years ago
wil bc3dc97026 [fix] Handle auto layout resize with multiple slave groups
8 years ago
wil ed71e67d7e [fix] handle cases where nb_master > children->length in auto layout
8 years ago
wil 8b0073b195 Added "layout incnmaster|incncol" commands
8 years ago
wil 5425d0489f Handle resize in auto layouts
8 years ago
wil 97f7d47413 Added Awesome/Monad type "auto" layouts
8 years ago
Drew DeVault aab360bf2f Add redshift support
8 years ago
Aleksa Sarai 09259021ab
sway: extensions: make locking give back focus
8 years ago
Aleksa Sarai 29a535aae4
sway: extensions: only unlock if lock_surfaces.length == 0
8 years ago
Drew DeVault 36e48fcf8d Update default swaybar command
8 years ago
Nicolas Cornu 0f0bbbff4d Put floating views in center, fallback on top left
8 years ago
Drew DeVault 1172566d4e Change how security config is loaded
8 years ago
Drew DeVault 14d9200e4e Merge pull request #996 from woutershep/datadir
8 years ago
Wouter van Kesteren 09b9106550 Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
8 years ago
Drew DeVault d859f825d3 Fix build error
8 years ago
Drew DeVault 63d96c1bb4 Fix indentation issues
8 years ago
Drew DeVault 10c8b73075 Handle calloc failures
8 years ago
Drew DeVault a2b9149656 Add remaining sway allocation failure handling
8 years ago
Drew DeVault 7784f1a905 Handle allocation failures in security code
8 years ago
Drew DeVault 31b002b6d5 Handle IPC server allocation failures
8 years ago
Drew DeVault 8cef81d6f2 Handle some more memory allocation failures
8 years ago
Drew DeVault d75a747a3d Handle config-related allocation failures
8 years ago
Drew DeVault 248df18c24 Handle allocation failure in commands
8 years ago
Drew DeVault 8691ff1b63 Handle border-related malloc failures
8 years ago
Drew DeVault 4c6c65e70c Handle malloc failures from read_line
8 years ago
Greg V da26d69cb1 Fix build on FreeBSD
8 years ago
Drew DeVault d93e53fd4b Use return value of write
8 years ago
Drew DeVault 979878d8af Decrement expected_len
8 years ago
Drew DeVault 1a509dcc29 Fix to sway-security(7)
8 years ago
Drew DeVault cdecf3c495 Drop restart command from sanity check
8 years ago
D.B 35b8d185ac fix layout switching (was broken because of workspace_layout)
8 years ago
D.B 4762bcb3b9 wrap some views under workspaces
8 years ago
D.B 6fb4b6737a add workspace_layout to container
8 years ago
Drew DeVault e7a764fdf4 Disallow everything by default
8 years ago
Drew DeVault 93d99f3712 Fix use-after-free
8 years ago
Drew DeVault d2d6fcd1ff Fix clang issues
8 years ago
Drew DeVault 8577095db7 Check for CAP_SYS_PTRACE
8 years ago
Drew DeVault d353da248b Add ipc connection feature policy controls
8 years ago
Drew DeVault 62dad7148f Enforce IPC security policy
8 years ago
Drew DeVault c8dc4925d1 Add IPC security policy command handlers
8 years ago
Drew DeVault e9e1a6a409 Add IPC policy to config
8 years ago
Drew DeVault 0a1b211e09 Drop -Denable-binding-event
8 years ago
Drew DeVault 25a4a85a59 Run config files through sed and install to /etc
8 years ago
Drew DeVault 751e6d2ab2 Clarify lock permission consequences
8 years ago
Drew DeVault 0c8dc0e6df Clarify that executable has to be a full path
8 years ago
Drew DeVault c61746a15b Soften up environment security
8 years ago
Drew DeVault a4e92ad272 Deal with LD_LIBRARY_PATH
8 years ago
Drew DeVault 1a143e601b Clarify when keyboard/mouse features work
8 years ago
Drew DeVault 4d312f753c Add docs on what features sway programs require
8 years ago
Drew DeVault 3dbeb9c35c Add sway-security(7)
8 years ago
Drew DeVault 10c2125040 Unset LD_PRELOAD on startup (before dropping root)
8 years ago
Drew DeVault 04fc10feeb Flesh out security_sanity_check
8 years ago
Drew DeVault 39cf9a82f7 Enforce command policies
8 years ago
Drew DeVault f23880b1fd Add support for command policies in config file
8 years ago
Drew DeVault 0d395681fe Enforce mouse permissions
8 years ago
Drew DeVault 8aeeacf178 Enforce keyboard permissions
8 years ago
Drew DeVault ffdbb9d050 Enforce fullscreen permissions
8 years ago
Drew DeVault dc4b57c868 Shut Clang up
8 years ago
Drew DeVault 21e1b2bef3 Add security checks for background, panel, lock
8 years ago
Drew DeVault 76cab04b4d Implement permit and reject commands
8 years ago
Drew DeVault 1a8a42f372 Memory leak
8 years ago
Drew DeVault 2675293200 Implement policy lookups
8 years ago
Drew DeVault 44cc0ef125 Add config related code and initial headers
8 years ago
Drew DeVault 5831f7ab68 Write example security config, start on code
8 years ago
D.B 05be14ff7c change default layout toggle to L_HORIZ
8 years ago
D.B 3d1b472b83 swap unnecessary function for strndup
8 years ago
D.B 58eb7ac19f change bar colors from char[10] to *char
8 years ago
D.B ad4d21d60b add bar colours for focused_(workspace|statusline|separator)
8 years ago
D.B 39ee0ec552 use urgent_ws color in swaybar if binding_mode is undefined
8 years ago
Drew DeVault d3e55f88ec Log LD_LIBRARY_PATH
8 years ago
Drew DeVault 78b65e2317 Remove duplicate redhat-release line
8 years ago
Drew DeVault 7aef6e66ae Log uname -a on startup
8 years ago
Drew DeVault 6ad2186f0e Log contents of distro version files
8 years ago
Drew DeVault 0d6cbcacbe Log important env vars on startup
8 years ago
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices
8 years ago
Mykyta Holubakha 2a24772c4b config: set pango_markup default to false
8 years ago
Drew DeVault 67a9a94596 Overwrite alpha when drawing borders
8 years ago
Drew DeVault 56a7e5fbce Revert "Merge pull request #952 from SirCmpwn/revert-948-floating-titlebar-click"
8 years ago
Drew DeVault 4cba91803e Revert "Fixes dealing with workspace_layout and related bugs [rfc]"
8 years ago
Drew DeVault f30f60dad8 Revert "also check floating cons in container_find"
8 years ago
Drew DeVault ce713efcd2 Merge pull request #945 from thejan2009/workspace_layout
8 years ago
D.B 166c2a3687 generalize wrapping views under workspaces
8 years ago
D.B 571321a1d8 add workspace_layout, ensure ws is always L_HORIZ
8 years ago
D.B 0ddc4279d1 wrap workspace's child into a container if needed
8 years ago
D.B 24c3b86065 also check floating cons in container_find
8 years ago
Nicolas Cornu 5384d3effe Can't move an empty workspace
8 years ago
Drew DeVault 8d277bc962 Merge pull request #942 from thejan2009/bugfix-931
8 years ago
Drew DeVault 0fc03f9c13 Merge pull request #941 from thejan2009/floating-border
8 years ago
D.B 8264fedce6 fix for_window [] move scratchpad
8 years ago
D.B 746345e3b8 reorder cmd_handler arrays for bsearch
8 years ago
D.B 77f99480ae draw indicator border only for non-floating
8 years ago
Nicolas Cornu 382d47e238 Fix creating of sibling floating/children
8 years ago
Nicolas Cornu 2d82586c88 Add constant scale factor in get_text_size
8 years ago
D.B 379b1a0378 add focus changing between floating containers
8 years ago
D.B d3f5ac8cbb add force_focus_wrapping option
8 years ago
D.B 7f558ce894 wrap container in direction (if possible)
8 years ago
Nicolas Cornu 6ced4098dc fix for click on title_bar
8 years ago
Nicolas Cornu 37065cd0c4 add click on title_bar to focus a container
8 years ago
Drew DeVault d2aba3ce3a Merge pull request #924 from zandrmartin/fix-focus-segfault
8 years ago
Zandr Martin ba581c4442
consolidate nodes json
8 years ago
Zandr Martin 09a44263c3 Merge branch 'master' into fix-focus-segfault
8 years ago
Zandr Martin 4c0e809028
prevent dereference of freed workspace
8 years ago
Patrick Sauter 153620aefe moved ipc_init above config file processing.
8 years ago
Zandr Martin 58ac1f7f24 fix pointer format string in sway_log() call
8 years ago
Drew DeVault 4e660975a9 Merge pull request #911 from thejan2009/setgid-setuid
8 years ago
Drew DeVault a95ce5ce65 Merge pull request #914 from zandrmartin/container-ids
8 years ago
Ryan Dwyer 64d463142f Implement default name for workspace command
8 years ago
Zandr Martin 7d947fdb95
add unique IDs to containers
8 years ago
D.B 5e585f9603 Split setgid and setuid, add privilege check
8 years ago
Zandr Martin 0516dba3f6
implement "focused container" feature for swaygrab
8 years ago
Zandr Martin e75217cfb1
fix get_workspaces json reply
8 years ago
Zandr Martin 87080bb9cc
take four!
8 years ago
Zandr Martin e18b7cdfa9
add global `current_focus` pointer
8 years ago
Ryan Dwyer e4cb4d1b5c Fix swaybar when running on named outputs.
8 years ago
Zandr Martin 64f61873a9 document `workspace_auto_back_and_forth` command
8 years ago
D.B 873dfc07f3 Use indicator border color only when needed.
8 years ago
Zandr Martin 511eed90cd
squash commits, move enum into resize.c
8 years ago
Mikkel Oscar Lyderik 84d504ebdf Make it possible to move views between outputs
8 years ago
Drew DeVault af44154119 Fix constant scale factor in font code
8 years ago
Drew DeVault 0913eff915 Add support for * input configs
8 years ago
Zandr Martin 65ace5dec5
merge in latest commits
8 years ago
Zandr Martin 79ffea328c
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor
8 years ago
Zandr Martin b374c35758
refactor commands.c
8 years ago
Lukas Lihotzki 6addaca9fa Correct `hide_edge_borders` command
8 years ago
Drew DeVault 38ca94e0ed Tweak how swaylock surfaces are handled
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Zandr Martin a9c0993218 document `orientation` command
8 years ago
Hummer12007 db1c105e77 Fix a format string
8 years ago
James Murphy 8af49eb696 Avoid dereferencing null configuration
8 years ago
Götz Christ aecd33d25d Add input example section to config
8 years ago
Guillaume Brogi 7bbf7e15a0 Update man page
8 years ago
Guillaume Brogi 6173c84117 Rerender after every split command
8 years ago
Guillaume Brogi fc492a4da8 Add support for indicator color
8 years ago
D.B ce98569fbc Handle output disabling during runtime
8 years ago
Manuel Mendez 631ba506d6 document all xkb settings handled by wlc
8 years ago
Drew DeVault b8642ce681 Merge pull request #843 from thejan2009/bug/move-container-819
8 years ago
D.B 41b5c6d1a9 Sort workspaces when moving workspace to output
8 years ago
D.B 61781bbef0 Fix container move when workspace is focused
8 years ago
D.B 9c91952aec Display class in tab title if app_id is null
8 years ago
Drew DeVault aca9f6b2a2 Merge pull request #840 from minus7/man-inputs
8 years ago
minus 2f50be3d88 added get_inputs hint to man 5 sway-input
8 years ago
D.B aa292db8d1 Fix switch to prev ws on handle_view_created
8 years ago
Tony Crisci 4ab35df157 ipc: log sending of events
8 years ago
Tony Crisci e1e15bb43e ipc: recursive workspace containers in event
8 years ago
Tony Crisci 50901a0892 ipc: always include nodes in views
8 years ago
Mykyta Holubakha e1b1d94a4e Arrange windows after swapping containers
8 years ago
D.B 132017d242 Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash
8 years ago
Tony Crisci 81eb9ea12c Simplify focus setting
8 years ago
Tony Crisci c98e91f01f Use uintptr_t for ipc container id
8 years ago
minus b246799548 fixed uninitialized bar.wrap_scroll
8 years ago
Zandr Martin 9fa92951fe
remove unmanaged nodes from get_tree
8 years ago
Drew DeVault 31ce010861 Fix segfault in border.c
8 years ago
Tony Crisci 4344fe5011 bugfix: focus container on output when focused
8 years ago
Tony Crisci 2f65100bee Remove dead global locked_view_focus
8 years ago
Drew DeVault 2d907ef1f6 Merge pull request #811 from acrisci/feature/focus-container
8 years ago
Zandr Martin b18c169036
cache floating container size when fullscreening
8 years ago
Tony Crisci fe608c80ae Update view border when workspace is focused
8 years ago
Tony Crisci d731d6a846 Bugfix: descend focus stack on new window focus
8 years ago
Tony Crisci b39249508f Refactor functions to update container borders
8 years ago
Tony Crisci f78d07d39b Implement focus handling for containers
8 years ago
Zandr Martin 53f6b1f3b0
document `kill` command
8 years ago
D.B 9977b01928 Update container geometry on layout switch
8 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
8 years ago
Zandr Martin e6af5f8bdb
Merge branch 'master' of git://github.com/SirCmpwn/sway into x11-pids
8 years ago
D.B c33e0ee629 revert border hiding to more recent version
8 years ago
D.B 8d0048c8d5 properly hide top border inside tabbed/stacked
8 years ago
Zandr Martin c0683a0444
remove outdated (when wlc commit merged) comment
8 years ago
Zandr Martin d0a0d5e03c
update handler to get pid from wlc for all views
8 years ago
Drew DeVault 3f83968d30 Fix swaybg sizing on hidpi outputs
8 years ago
Drew DeVault 9b24af1c22 Document scale factor configuration in sway(5)
8 years ago
Drew DeVault 9661272224 Merge remote-tracking branch 'origin/hidpi'
8 years ago
Zandr Martin a3980d456d
third try for #678
8 years ago
Drew DeVault cad085ed9d Update IPC JSON responses for HiDPI setups
8 years ago
Drew DeVault 11e7ca044c Update hidpi support to latest wlc API
8 years ago
Drew DeVault 6ea02f3064 Initial pass on HiDPI support
8 years ago
Mykyta Holubakha cf8ef2aea2 Initialize client's subscribed events
8 years ago
Drew DeVault d07eaed79f Merge pull request #793 from thejan2009/workspace_layout_first_window_fix
8 years ago
Drew DeVault ee67c5bee3 Merge pull request #791 from acrisci/feature/focus-child
8 years ago
Drew DeVault d03266a77a Merge pull request #792 from acrisci/feature/render-focused-stack-children-focused
8 years ago
D.B 33c1df38bd Close all focused container's child views on kill
8 years ago
D.B a46cf77549 bugfix: windows on empty workspaces with layout tabbed/stacked would spawn with 0x0 geometry
8 years ago
Tony Crisci badfcf7c76 Render focused stack/tab children focused
8 years ago
Tony Crisci 88b7cbe314 Implement `focus child` command
8 years ago
Tony Crisci 8a03f138bf bugfix: set focus to workspace of an output
8 years ago
Tony Crisci afc6ad6419 bugfix: cmd focus parent don't set focus above ws
8 years ago
Tony Crisci 0d461ad988 Put ipc command result json in an array
8 years ago
D.B 80858c1f57 don't passthrough a floating_scroll event to focused window
8 years ago
Drew DeVault 643bd8f158 Merge pull request #779 from thejan2009/smart-gaps-outer
8 years ago
D.B f16cb1464f properly hide bottom and right borders
8 years ago
Zandr Martin 3137615838
fix regression in hide_edge_borders
8 years ago
D.B d61b59cad1 outer gap 0 with smart_gaps on
8 years ago
D.B 03b0180c30 rename ws to workspace for clarity
8 years ago
D.B b893f07ce1 calculate borders for hiding from workspace geometry
8 years ago
Mykyta Holubakha a2bc6f3bfd Arrange backgrounds only when required
8 years ago
Mykyta Holubakha f022628a2e Handle transient_for
8 years ago
Mykyta Holubakha f52daa26c9 Unite describe_view and describe_window
8 years ago
Mykyta Holubakha e5c7b019ff Fix dispatching and assigning events
8 years ago
Mykyta Holubakha 2029fef6b8 More progress on window events
8 years ago
Mykyta Holubakha 976e48d79f Initial work on window events
8 years ago
Drew DeVault 095353d91d Remove arrange_windows from post-render
8 years ago
minus 50b09937b2 clean up apply_input_config
8 years ago
Drew DeVault 5a1d95ac2a Move backgrounds to back after arrange_windows
8 years ago
Drew DeVault c0e4522202 Merge pull request #764 from deklov/move-position-bug-02
8 years ago
D.B 5d250f3da6 Construct titles of nested tabbed/stacked containers from app_id instead of title
8 years ago
David Eklov d9eb49f3b1 Add missing entry to list of accepted arguments for the move command
8 years ago
David Eklov d202ca2fd7 Do not crash when handling the command 'move position'
8 years ago
Drew DeVault 2530f952c9 Fix clang warning
8 years ago
Drew DeVault ff363aa7f7 Fix bug with views behind backgrounds on ws switch
8 years ago
Drew DeVault 6d971af5c3 Turn swaybg into a shell surface
8 years ago
Drew DeVault 3bb880bf20 Implement configurable wrapping on bar ws scroll
8 years ago
Drew DeVault a9767ad2f7 Allow users to customize the cursor on clients
8 years ago
Hummer12007 cf7c6c5822 Fix a memory leak
8 years ago
D.B ad7605675e refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
8 years ago
David Eklov 5c4f52f953 Set panels' geometries correctly and don't render them explicitly
8 years ago
David Eklov 4bb45abc46 Don't treat backgrounds as shell surfaces
8 years ago
Mykyta Holubakha c503bf1342 Suspend destruction of wss when creating views
8 years ago
Mykyta Holubakha a2bb280172 Spawn new views to target ws's focused container
8 years ago
Mykyta Holubakha ea7917784d Fix build on x86
8 years ago
D.B ee67cd0ba1 Fix tabbed/stacked corner case #742
9 years ago
Zandr Martin c65d6e6e95
get_tree json fixes
9 years ago
David Eklov 51204b33c1 Enable backgrounds and panels to be shell surfaces
9 years ago
Zandr Martin 2f54057623
I think this fixes #678
9 years ago
Zandr Martin e07b8c8d7c Merge branch 'master' into get-tree-command
9 years ago
Zandr Martin f8a94f2f4b
fix typo in ipc-json.c
9 years ago
Zandr Martin 15a324b0d3
implement `get_tree` command
9 years ago
Zandr Martin d5e4fff345
resize command updates (#713)
9 years ago
Zandr Martin aced6daa19
match i3 syntax for `resize set`
9 years ago
Drew DeVault 7144fb9fc3 Spawn windows as floating if they have a parent
9 years ago
David Eklov 26842ff383 Add get_log_level() to encapsulate v (current log level)
9 years ago
Mykyta Holubakha bfdda1505e Check if found ws is focused in new view handler
9 years ago
Drew DeVault 71f710cf0f Minor fix to warning messages
9 years ago
Hummer12007 7870a197fc Added a null check in tabbed_stacked_parent
9 years ago
Zandr Martin a6f4bf60f2 Merge branch 'master' into set-size-command
9 years ago
Zandr Martin 889618d3ee
implement resize command for absolute dimensions
9 years ago
Zandr Martin 9ecb43ea3b
couple small fixes
9 years ago
Zandr Martin 2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin 66caee645c Merge branch 'master' into assign-command
9 years ago
Zandr Martin beaa03344e
clean up pid/workspace stuff
9 years ago
Drew DeVault cb0cc32265 Many improvements to man pages
9 years ago
Zandr Martin b00feb25ea
trigger bg change on config reload
9 years ago
Zandr Martin 03d79b41c7
semi-working (only non-client/server wayland apps)
9 years ago
thuck 3710cd6963 Fix segfault when using include with *
9 years ago
Zandr Martin 0f1859ed25 messy, unfinished version
9 years ago
Denis Doria cdd8664198 Merge branch 'master' into variables_corner_cases
9 years ago
Roosembert Palacios 230591fa4e
Common: Readline: Ignore newline on '\' escaped line ends.
9 years ago
Roosembert Palacios e8c0ef98b1
Sway: Configuration: Support for escaping line breaks.
9 years ago
Zandr Martin d4eb964fd1 document `assign` command
9 years ago
Denis Doria 3c3e98b1a3 Merge branch 'master' into variables_corner_cases
9 years ago
Drew DeVault fdefd17391 Merge pull request #695 from zandrmartin/document-client-commands
9 years ago
Zandr Martin 3746542462 add documentation for client commands
9 years ago
wdbw 4f9af09f23 Add missing layout modes in sway(5)
9 years ago
Denis Doria 29eb3bf746 Put w to uppercase just to keep consistency between warnings
9 years ago
Denis Doria bf2298e0a5 Includes $ for variables without it
9 years ago
thuck f55b5a4982 Fix identation issue
9 years ago
thuck 431013db72 Merge branch 'master' of https://github.com/SirCmpwn/sway into variables_corner_cases
9 years ago
thuck e4f80877be Fix output command when varible not set
9 years ago
thuck 1ab3e1023e Including error message when variable do not start with $
9 years ago
Zandr Martin 9ccc92705e implement stable sort for lists
9 years ago
Denis Doria 2256a9b784 Sync master
9 years ago
Denis Doria b692a6d31a Initial implementation for floating_maximum_size
9 years ago
Zandr Martin 3fac9705b0 redo smart_gaps/hide_edge_borders fix
9 years ago
Denis Doria 009eaccd42 Clean up not used variables
9 years ago
Denis Doria b6685da35b Update man page with information about floating_maximum_size
9 years ago
Denis Doria 0ad7857f90 Included option floating_minimum_size
9 years ago
Zandr Martin 8a81f52450 Merge branch 'master' of github.com:SirCmpwn/sway into fix-swaybar-in-08bef67
9 years ago
Zandr Martin 1b4d61662c fix swaybar problem in 08bef67
9 years ago
Denis Doria 3c4c623012 Merge branch 'master' into floating_size
9 years ago
Denis Doria f1d5b89d3e Initial work for floating view with sane values
9 years ago
Eric Engestrom 08bef67f85 sway: refactor ipc_client_handle_command()
9 years ago
Eric Engestrom 9d7d73df7f sway: fix IPC resource leak
9 years ago
Drew DeVault 3b1c125e18 Remove bar position left:right from docs
9 years ago
Zandr Martin d291a29f30 enforce workspace output assignents
9 years ago
Zandr Martin 7df38ce9da remove alphabetic sorting from sort_workspaces
9 years ago
Zandr Martin c6c3a8e758 Implement sort_workspaces() function for outputs.
9 years ago
Zandr Martin 164f384d83 set focus on fullscreen view when changing focus
9 years ago
Mykyta Holubakha 16dc31f33b Concatenate output cmd args, fixes #654
9 years ago
Mikkel Oscar Lyderik f33cdc0f2f Remove stray whitespace
9 years ago
Mikkel Oscar Lyderik 2eb02b6320 Rearrange output when setting background
9 years ago
Jasen Borisov 870a7aaad9 Fix issue #661.
9 years ago
Mykyta Holubakha e73dde3b10 Support floating_scroll sideways
9 years ago
Drew DeVault 5b0af661b0 Revert "sway/container.c: fix segfault where view is assigned prematurely"
9 years ago
Daniel Lockyer 2fb4e5401c sway/container.c: fix segfault where view is assigned prematurely
9 years ago
Mikkel Oscar Lyderik c80ad015ff Prevent changing layout when focusing float window
9 years ago
Mykyta Holubakha 500ee0a731 Allow to set relative path for wallpapers in config
9 years ago
Mykyta Holubakha 0c495eecde Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
9 years ago
Mykyta Holubakha 394a5d36cb Documented floating_scroll
9 years ago
Mykyta Holubakha 0423c41a0f Implemented configurable floating scroll behavior
9 years ago
Drew DeVault 6abdc07559 Merge pull request #638 from neosilky/memleak
9 years ago
Daniel Lockyer b41097c085 sway/config.c: fix double free issue as we need to store path in list
9 years ago
Daniel Lockyer c9d634414a sway/main.c: simplify free'ing by switching to the helper method
9 years ago
Drew DeVault 0cefde87e4 Merge pull request #628 from 1ace/fix/ipc-path
9 years ago
Raman Varabets a9123c38b2 fix a typo (horiziontal -> horizontal)
9 years ago
Eric Engestrom 3d6a3413b8 sway: always terminate ipc path
9 years ago
Mikkel Oscar Lyderik ae5164f1d4 Update view title of tabbed/stacked windows
9 years ago
Eric Engestrom e53ba08626 sway: fix potential buffer overflow
9 years ago
Jasen Borisov de007c9b58 Add input cmd for setting pointer accel profile.
9 years ago
Mikkel Oscar Lyderik 1f8b6b86dd Remove premature break
9 years ago
Daniel Lockyer 682efbb7dd sway/config.c: Initialise struct value
9 years ago
Daniel Lockyer 0ece17c717 sway/workspace.c: Cleanup some un-free'd memory
9 years ago
Daniel Lockyer e1fa51a152 sway/config.c: Move the wordfree call before the if statement so it is always called
9 years ago
Daniel Lockyer 06986e58b8 sway/config.c: Change to the useful free_cmd_results helper method
9 years ago
Daniel Lockyer 01c2b5f2d6 sway/config.c: move free call to after sway_log
9 years ago
Daniel Lockyer b8722ecd5f sway/config.c: Leading on from cdf017c, we need to free path
9 years ago
Daniel Lockyer e077ebdc72 sway/config.c: res->input is a malloc'ed section which wasn't freed
9 years ago
Daniel Lockyer cdf017ceea sway/config.c: wordexp has a corresponding wordfree which was never used
9 years ago
Daniel Lockyer c225bcacee sway/config.c: config_home is the result of a malloc but was never freed
9 years ago
Daniel Lockyer 5a7099eee0 sway/commands.c: add some free calls to release allocated memory
9 years ago
Drew DeVault 3be3867474 Fix oversight in ebdce71
9 years ago
Drew DeVault ebdce719b4 Fix -Wunused-result problems
9 years ago
Mikkel Oscar Lyderik b53b15b477 Fix uninitialized variable
9 years ago
Mikkel Oscar Lyderik 1fb9489032 Fix bindcode by offsetting xkb keycode by 8
9 years ago
Tomáš Čech 468ddfb34d Fix missing include paths
9 years ago
Mikkel Oscar Lyderik ddd5b69b99 border: clear buffer on fullscreen views
9 years ago
Mikkel Oscar Lyderik 27066c6328 Only check tabbed_stacked_parent for focused windows
9 years ago
Mikkel Oscar Lyderik 05b4965a99 Remove commented code
9 years ago
Mikkel Oscar Lyderik 856ac7d5cc Remove unused function
9 years ago
Mikkel Oscar Lyderik 5a22c0f1c0 Don't send invisble view to back
9 years ago
Mikkel Oscar Lyderik 5886ee156e Use correct geometry for nested containers
9 years ago
Mikkel Oscar Lyderik 6c7ed7e7cb Add title to nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik 5492277f0c Disable inner gaps when in tabbed/stacked mode
9 years ago
Mikkel Oscar Lyderik 3e1f78ab26 Add support for nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik 3955c66ce8 Use tabs for indentation
9 years ago
Mikkel Oscar Lyderik 969f76a1a4 Make floating border fixes work with tabbed/stacked code
9 years ago
Mikkel Oscar Lyderik e226b20bd8 Reapply prev layout when exiting tabbed/stacked
9 years ago
Mikkel Oscar Lyderik a0cebb7c5a Improve move command with tabbed/stacked layout
9 years ago
Mikkel Oscar Lyderik d26658fb35 Correctly determine default layout
9 years ago
Mikkel Oscar Lyderik 8d700fe008 Fix problems with floating windows
9 years ago
Mikkel Oscar Lyderik ec7ff769c7 Tabbed and stacked layout
9 years ago
Mykyta Holubakha 09d69f606a Renamed pango_markup config options
9 years ago
Mykyta Holubakha 0f1cfdec61 Renamed to pango_markup
9 years ago
Mykyta Holubakha 2e6c43e62b Added plaintext_markup to swaybar IPC
9 years ago
Mykyta Holubakha 53b53dd8c2 Added plaintext markup configuration
9 years ago
Mykyta Holubakha a25c35f859 Passing missing argument to get_text_size
9 years ago
Drew DeVault 84fae94ab9 Flesh out pango markup implementation
9 years ago
Mikkel Oscar Lyderik f39034a55f Use correct format string for x86_64 and i686
9 years ago
Mikkel Oscar Lyderik 60731ffba1 Remove clang warnings (-Wsign-compare)
9 years ago
Drew DeVault 54c635ca16 Update to wlc 0.0.2
9 years ago
Chang Liu 91d2a505b2 Plug two memory leaks
9 years ago
Mikkel Oscar Lyderik cfea40dce3 Don't init desired width/height on new_view
9 years ago
Mikkel Oscar Lyderik a7f26939c2 Only update geometry of single floating view
9 years ago
Kevin Hamacher b6e2b6add9 Add border color commands
9 years ago
Kevin Hamacher 115b482ed8 Use border background color as border background
9 years ago
crondog b02be709cd Fix window borders
9 years ago
Kevin Hamacher 3953b064f5 improve endianess handeling
9 years ago
Eric Engestrom 3e8081514d Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik 258e31ccdf Fix pointer related crash when stacked/tabbed
9 years ago
Mikkel Oscar Lyderik 66e8b4d5de Correctly reset border geometry
9 years ago
Mikkel Oscar Lyderik 7be476c115 Add cmds new_window and new_float
9 years ago
Mikkel Oscar Lyderik 63474aa04d Make pango: optional for bar font
9 years ago
Drew DeVault 655b003062 Fix pointer scroll thing
9 years ago
Drew DeVault ebead7a9bf Fix crashes with borders
9 years ago
Drew DeVault a4bf09f142 Remove leftover comment
9 years ago
Drew DeVault a12850444d New feature: adjust gaps with floating_mod+scroll
9 years ago
Drew DeVault 4bf10d7771 Merge pull request #551 from mikkeloscar/window-borders
9 years ago
Mikkel Oscar Lyderik 948c594132 Allow surrounding spaces in mode name
9 years ago
Mikkel Oscar Lyderik 0af55539a8 Fix borders with floating windows
9 years ago
Mikkel Oscar Lyderik 6fa6c27f3d Update window title when it changes
9 years ago
Mikkel Oscar Lyderik 7878de5ccc Mark focused view focus_inactive on unfocused output
9 years ago
Mikkel Oscar Lyderik a87a5dbdd5 Comment endianness
9 years ago
Mikkel Oscar Lyderik 5a13cb0ed1 Implement borders
9 years ago
Mikkel Oscar Lyderik 3b05f92f76 Add border <none|normal|toggle|pixel> config
9 years ago
Mikkel Oscar Lyderik 86ea79ea6d Implement parsing of hide_edge_borders
9 years ago
Mikkel Oscar Lyderik da567317ab Make pango: prefix optional for font config
9 years ago
Mikkel Oscar Lyderik e2774aee3c Add default border colors
9 years ago
Drew DeVault b903f7f655 Implement some more on borders
9 years ago
Drew DeVault a8e084433d Window borders proof of concept
9 years ago
Drew DeVault 4611bba3db Initial setup of window border rendering
9 years ago
Drew DeVault eacf3d0396 Loosen restrictions on commands, update docs
9 years ago
Drew DeVault 59a1c5c28c Update sway(1)
9 years ago
Mikkel Oscar Lyderik cdc73fd95e Don't try to read config if not a file.
9 years ago
Mikkel Oscar Lyderik 44ea92ea60 Add config path to error msg
9 years ago
Mikkel Oscar Lyderik b5f34cc27d Load correct config on reload
9 years ago
Mikkel Oscar Lyderik 39df452dc1 Document include command
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Mikkel Oscar Lyderik 938ff29b7b Gracefully exit when config is not found
9 years ago
Drew DeVault 06107bb44e Make the nvidia warning louder
9 years ago
Drew DeVault fd061d4dc4 Don't set WLC_DIM on startup
9 years ago
Drew DeVault 5c85c018b4 Update to new WLC API
9 years ago
Drew DeVault ca400e84f5 Merge pull request #525 from mikkeloscar/fix-clang-warning
9 years ago
Mikkel Oscar Lyderik c1f91c4f5e Use correct type for keycode
9 years ago
Mikkel Oscar Lyderik 2935e24cf5 Implement 'smart_gaps' feature from i3-gaps
9 years ago
Mikkel Oscar Lyderik bb32cba795 Make key handling less strict
9 years ago
Mikkel Oscar Lyderik 8c7bdfc004 Allow legal non-x11 keycodes
9 years ago
Mikkel Oscar Lyderik 9a04f9d8d6 Add config option workspace_layout
9 years ago
Mikkel Oscar Lyderik 99f26c61a5 Don't strip quotes from exec args
9 years ago
Mikkel Oscar Lyderik f63512480c Remove unused panel_size (and fix rearrange)
9 years ago
Mikkel Oscar Lyderik c1d5791482 Focus correct swaylock view in multimonitor setup
9 years ago
Mikkel Oscar Lyderik db7697b830 Document swaybar commands
9 years ago
Mikkel Oscar Lyderik 9faa4ba0a0 Schedule render when adding bg and panel.
9 years ago
Mikkel Oscar Lyderik 1349a44171 Revert "Render outputs as soon as wlc is ready"
9 years ago
Mikkel Oscar Lyderik 96458bf63c Render outputs as soon as wlc is ready
9 years ago
Mikkel Oscar Lyderik eb82a500c8 Remove focus when switching to empty workspace
9 years ago
Drew DeVault 181b6b31a4 Merge pull request #502 from mikkeloscar/lock-reset-input
9 years ago
Mikkel Oscar Lyderik ceb0ef64c2 Reset input state when locking compositor
9 years ago
Mikkel Oscar Lyderik 8ddafeeaae Fix assigning workspaces to outputs
9 years ago
Yacine Hmito 9437eca3eb Segregate between config and runtime cmds in doc
9 years ago
progandy 33887e3955 sway: rearrange the whole ws on lock view setup
9 years ago
progandy 52ff89cecc sway: set lock view to floating after ws switch
9 years ago
Mikkel Oscar Lyderik 6088c6cdf0 Correctly move focus from one output to a new one.
9 years ago
Drew DeVault 3453910c3e Merge pull request #492 from mikkeloscar/swaybar-multi-output
9 years ago
Mikkel Oscar Lyderik 67bbcceba1 Free config before exiting sway.
9 years ago
Mikkel Oscar Lyderik e15a8a0376 Improve how swaybars are spawned
9 years ago
Mikkel Oscar Lyderik 212c6a18a2 Add outputs to bar_config ipc response
9 years ago
Mikkel Oscar Lyderik bad4e22f3b Make sway spawn only one bar per bar config
9 years ago
Mikkel Oscar Lyderik 5ff3fb1c04 Set pointer pos before focusing view under it
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Yacine Hmito c400ca8f88 Fix for when sway_abort doesn't exit
9 years ago
Yacine Hmito 8db417fafe Fixed swaymsg command name in sway(5) doc
9 years ago
Yacine Hmito e239fbbd88 No options when using sway as IPC client
9 years ago
Yacine Hmito 179192e222 Removed p as a valid CLI option
9 years ago
Mikkel Oscar Lyderik 89bb6a4a42 Don't rearrange views behind swaylock.
9 years ago
Mikkel Oscar Lyderik c9d9dd7516 Check for empty ws on view destroyed.
9 years ago
Mikkel Oscar Lyderik ee32bc3aef Send workspace ICP event on ws destroy/empty.
9 years ago
Mikkel Oscar Lyderik 739ba902e0 Prevent crash when showing scratchpad on new ws.
9 years ago
Mikkel Oscar Lyderik 016a77424a Prefer named output config over wildcard config.
9 years ago
Mikkel Oscar Lyderik 6f7cbf2eac Replace deprecated function wlc_output_get_pixels.
9 years ago
Mikkel Oscar Lyderik be6455b295 Squash trailing whitespace
9 years ago
Mikkel Oscar Lyderik bacd40d6db Fix clang warnings
9 years ago
Drew DeVault 4546ce1188 Add wlc-render.h to handlers.c
9 years ago
crondog 7916eb70b9 commands: move position mouse
9 years ago
crondog 0ee5547406 font: Allow adding font to the config. In prep for border titles
9 years ago
Drew DeVault f1f4791a3b Fix returning to sway after swaylock completes
9 years ago
Mikkel Oscar Lyderik 32ae26e519 Add quotes to multiword arguments.
9 years ago
Drew DeVault fe35ea633a Merge pull request #457 from mikkeloscar/move-view-fix
9 years ago
Drew DeVault ef407559e2 Add new wlc thing to views
9 years ago
Drew DeVault a416715372 Revert "s/numlen/log10/g"
9 years ago
Drew DeVault 038bb8cc7c s/numlen/log10/g
9 years ago
Quentin Glidic 449617f104 commands: Fix memory allocation in assign
9 years ago
Quentin Glidic 43483d8fee commands: Fix usage of arrow in assign
9 years ago
Christoph Gysin 2341ae64ad sway-input: fix typo
9 years ago
Mikkel Oscar Lyderik 102719c7dd manpage: fix sway-input layout
9 years ago
Mikkel Oscar Lyderik 54111839a4 manpage: add references sway.5 <-> sway-input.5
9 years ago
Mikkel Oscar Lyderik e953f634d9 Fix generating sway-input.5 manpage
9 years ago
Mikkel Oscar Lyderik 4cbb09d566 cmake: fix libinput include dirs
9 years ago
crondog cd0eaf00da Prevent ipc from crashing sway
9 years ago
Mikkel Oscar Lyderik fa0526f3df Fix rendering of view when moving to new workspace
9 years ago
Mikkel Oscar Lyderik 2c43bd2ac8 Only update visibility if WS isn't destroyed after
9 years ago
Yacine Hmito c487cf71a5 Fix issue #455
9 years ago
Drew DeVault d969a1dec0 Fix memory leak in config.c
9 years ago
Mikkel Oscar Lyderik ac740271a5 Strip stray whitespace
9 years ago
Cole Mickens 28081b7689 libinput
9 years ago
crondog 81caf89ff8 cmd_assign
9 years ago
Mikkel Oscar Lyderik 0ba3f08f52 Strip quotes from workspace name v2
9 years ago
Mikkel Oscar Lyderik fc8e5703a5 Strip quotes of each argv when handling command
9 years ago
Mikkel Oscar Lyderik 222f0d44fc Strip quotes from workspace name.
9 years ago
Mikkel Oscar Lyderik 15621ea8ff Add backwards compatability for binding event
9 years ago
Mikkel Oscar Lyderik e3ddcaabc4 Add bindcode to binding events.
9 years ago
Mikkel Oscar Lyderik f8b260d4a1 Add support for bincode command
9 years ago
Mikkel Oscar Lyderik cb8ac7fd4a Unescape string after doing var replacement
9 years ago
Mikkel Oscar Lyderik 15cbc53a77 Make IPC binding event support a compile time opt.
9 years ago
Mikkel Oscar Lyderik 14147ac056 Reduce duplicate code
9 years ago
Mikkel Oscar Lyderik 6392abe35b Implement IPC binding event (keyboard)
9 years ago
Mikkel Oscar Lyderik 32cd3f70eb Add function for duplication a sway_binding
9 years ago
Mikkel Oscar Lyderik 55f63935ab Implement bindsym --release
9 years ago
Drew DeVault 8f5de70c93 Merge pull request #434 from mikkeloscar/detect-modifier
9 years ago
Mikkel Oscar Lyderik 9186455a3c Merge branch 'master' of github.com:SirCmpwn/sway
9 years ago
Mikkel Oscar Lyderik 364e37a1eb Fix whitespace issues.
9 years ago
Mikkel Oscar Lyderik 843e2ad2c1 Only send modifier event once for active modifiers
9 years ago
Jøhannes Lippmann 648db4016f Clearer order of locations searched for config file.
9 years ago
Mikkel Oscar Lyderik 2e0ef533f2 Init layout before checking config
9 years ago
Mikkel Oscar Lyderik a8402035e9 Add modifier key to bar_config json
9 years ago
Mikkel Oscar Lyderik 95e0f44c73 Move modifier name table to common/util.c
9 years ago
Drew DeVault caaff5ac54 Revert "Free wordexp_t in config.c:get_config_path"
9 years ago
Mikkel Oscar Lyderik c20c63b677 Send IPC modifier event on bar_modifier up/down
9 years ago
Drew DeVault 33b24736c7 Free wordexp_t in config.c:get_config_path
9 years ago
Mikkel Oscar Lyderik 5af4e747d3 Merge pull request #433 from crondog/issue431
9 years ago
crondog b755fd073e Return focus to fullscreen view
9 years ago
Mikkel Oscar Lyderik 7727c9efbc Detect bar modifier pressed/released
9 years ago
Mikkel Oscar Lyderik e62c49f83c Fix overwriting current pressed keys.
9 years ago
Mikkel Oscar Lyderik aa2f754c64 swaybar: Implement binding_mode_indicator
9 years ago
Mikkel Oscar Lyderik 19833fbc8b Add IPC event types
9 years ago
crondog 397b58e88f split toggle
9 years ago
crondog 596c4d9428 Dont try and fullscreen a workspace with no views
9 years ago
Drew DeVault 5292860b92 Merge pull request #418 from mikkeloscar/sway-handle-sigterm
9 years ago
Mikkel Oscar Lyderik 16b8c2e915 Handle SIGTERM sent to sway
9 years ago
Drew DeVault d409620a55 Fix use-after-free when closing fullscreen views
9 years ago
S. Christoffer Eliesen b18f004210 handlers: geometry_request: Better debug output.
9 years ago
S. Christoffer Eliesen 6750975b9f arrange_windows_r: Round pixels to match reality, fixes calculations.
9 years ago
S. Christoffer Eliesen 831f6680f4 arrange_windows_r: Bring parent coordinates into layout calculations.
9 years ago
Mikkel Oscar Lyderik cf64000e21 Focus new sibling added to container
9 years ago
Mikkel Oscar Lyderik 5d07c61330 Trigger workspace init event (floating)
9 years ago
Yacine Hmito f02cf75ff3 Use SYSCONFDIR as recommended
9 years ago
Drew DeVault 8a22ac3966 Initialize id, part two
9 years ago
Drew DeVault 7c06ef35de Initialize ID
9 years ago
Drew DeVault 91c102a897 Merge pull request #393 from robotanarchy/musl-libc-compatibility
9 years ago
robotanarchy c3e9ee5e43 replace non-standard qsort_r with qsort
9 years ago
Mikkel Oscar Lyderik 50b04884b6 Trigger ipc_event_workspace in all cases
9 years ago
robotanarchy 3dd2393797 remove unused execinfo.h include from debug_log.c
9 years ago
Drew DeVault 442a54c38b Merge pull request #390 from mikkeloscar/workspace-ipc-event
9 years ago
Mikkel Oscar Lyderik 42e5b4b032 Don't skip all clients on ipc_workspace_event.
9 years ago
Mikkel Oscar Lyderik c803b79764 Trigger event on bar mode|hidden_state commands
9 years ago
Mikkel Oscar Lyderik 66c66c7304 Implement `barconfig_update` IPC event
9 years ago
Mikkel Oscar Lyderik a96a5e0013 Handle bar commands outside config file
9 years ago
Drew DeVault fc71c6303c Fix default swaybar font
9 years ago
S. Christoffer Eliesen f4b9c3856a layout: Fix `edge_gaps off` with top/left panels.
9 years ago
S. Christoffer Eliesen ce54b4ff2e container: Fix inner gaps against screen edge.
9 years ago
Drew DeVault 3082245243 Merge pull request #373 from sce/per_panel_config
9 years ago
Drew DeVault 33fb648938 Merge pull request #372 from sce/fix_swaybar_output_name_test
9 years ago
S. Christoffer Eliesen e45fd9b6c5 extensions: Track panels by wl_resource, position per panel.
9 years ago
S. Christoffer Eliesen 6db0f6f80f extensions: panel_config->resource => wl_surface_res.
9 years ago
S. Christoffer Eliesen 6ace37d0b1 config: load_swaybars: Fix name comparison.
9 years ago
S. Christoffer Eliesen 2779559b15 config: free_bar: Check if outputs is NULL.
9 years ago
Drew DeVault 3282163f64 Implement compositor support for swaylock
9 years ago
Drew DeVault eefc93db43 Fix lock extension setup in compositor
9 years ago
Drew DeVault 253efad437 Merge pull request #361 from mikkeloscar/i3bar-command
9 years ago
Mikkel Oscar Lyderik 207678e809 Add support for running swaybar_command
9 years ago
Drew DeVault 7647762bab Fix default workspace name generation
9 years ago
Drew DeVault 2ab4e5676e Merge pull request #360 from sce/fix_arrange_windows
9 years ago
Drew DeVault b9f14cee41 Merge pull request #359 from mikkeloscar/i3bar-command
9 years ago
Mikkel Oscar Lyderik 9d7f1afdfb Add bar option: swaybar_command <command>
9 years ago
S. Christoffer Eliesen f0b3ee6d84 layout: arrange_windows: Partially fix swaybar irregularties.
9 years ago
S. Christoffer Eliesen 0ad5059b6f layout: arrange_windows: Fix/better debug output.
9 years ago
Mikkel Oscar Lyderik 90ff36cab8 Terminate children when freeing output container
9 years ago
Mikkel Oscar Lyderik ede27eabc5 Reload swaybar/swaybg on config reload.
9 years ago
Drew DeVault 7558a274fa Add shims for swaylock on compositor
9 years ago
S. Christoffer Eliesen ed730db11b layout: Keep output at the correct size, workspace can be smaller.
9 years ago
S. Christoffer Eliesen 18a7afa1b3 focus: Fix moving last workspace.
9 years ago
progandy 76c520a04b sway: insert numbered workspaces in order
9 years ago
progandy 8f1ac1ef2c sway: enable workspace selection by number
9 years ago
Drew DeVault 03787871d0 Fix bar invocation for multihead setup
9 years ago
Drew DeVault 1a365f19c9 Use system swaybar instead of local swaybar
9 years ago
Drew DeVault 60c204a09b Invoke swaybar when an output matches a bar config
9 years ago
Drew DeVault f6da4dda4b Bring unmanaged windows to front on output arrange
9 years ago
Drew DeVault 01798a5ae2 Merge pull request #338 from mikkeloscar/bar-separator-symbol
9 years ago
Mikkel Oscar Lyderik 053fb09d1e Use free_flat_list for simple char* list.
9 years ago
Mikkel Oscar Lyderik 2fd7dd64ec Implement bar option: separator_symbol
9 years ago
Drew DeVault 473ac4531f [swaybar] Get bar config via IPC
9 years ago
Drew DeVault efff8e5ba5 Merge pull request #335 from mikkeloscar/bar-font
9 years ago
Mikkel Oscar Lyderik 9316851715 Implement bar option: font <font>
9 years ago
Mikkel Oscar Lyderik ded8919c69 Implement bar option: binding_mode_indicator <yes|no>
9 years ago
Mikkel Oscar Lyderik 47f4aea9e7 Correctly free bindings list
9 years ago
Mikkel Oscar Lyderik f59f5d27aa Implement bar option: output <output>
9 years ago
Mikkel Oscar Lyderik 05e7334106 Fix active_workspace_border color definition
9 years ago
Drew DeVault 809c251df8 Merge pull request #328 from mikkeloscar/bar-height
9 years ago
Mikkel Oscar Lyderik 6834a33290 Add bar height option (Airblader/i3)
9 years ago
Drew DeVault 432e3310f6 Fix crash from ipc_json_describe_workspace
9 years ago
Drew DeVault b76acbaf4f Implement IPC_GET_BAR_CONFIG
9 years ago
Mikkel Oscar Lyderik de1f625c27 Add rgba support for bar colors
9 years ago
Mikkel Oscar Lyderik 8c1d56812b Implement bar option: colors {}
9 years ago
Mikkel Oscar Lyderik 71a25d5da7 Remove a couple of unwanted spaces
9 years ago
Drew DeVault 242da783f4 Merge pull request #324 from mikkeloscar/free-bar-bindings
9 years ago
Drew DeVault 7b0ea051c6 Merge pull request #325 from gpyh/bar_cmd_modifier
9 years ago
Yacine Hmito 0ead9324dc Added bar_cmd_modifier
9 years ago
Mikkel Oscar Lyderik 95de999922 Free bar->bindings
9 years ago
Drew DeVault 9db15e29b1 Merge pull request #323 from gpyh/bar_cmd_status_command
9 years ago
Yacine Hmito 5786fa7e35 Added bar_cmd_status_command
9 years ago
Mikkel Oscar Lyderik 0513322c03 Move default bar config to bar creation.
9 years ago
Yacine Hmito 87126a9fc2 Added bar_cmd_bindsym
9 years ago
Drew DeVault 42a85431ee Merge pull request #320 from mikkeloscar/configure-mouse-btn2
9 years ago
Mikkel Oscar Lyderik 82af08d8e9 Lookup dragging key when in dragging mode
9 years ago
Mikkel Oscar Lyderik 0aeee6963d Make mouse key used for drag/resize configurable
9 years ago
Mikkel Oscar Lyderik 0d1eb5553c Implement bar option: mode <dock|hide|invisible>
9 years ago
Mikkel Oscar Lyderik d6cd37d873 Implement bar option: hidden_state <hide|show>
9 years ago
Mikkel Oscar Lyderik 401333e7c7 Implement bar option: id <custom-id>
9 years ago
Drew DeVault 2be742d02d Merge pull request #314 from mikkeloscar/bar-id
9 years ago