472 Commits (0c58673c6a108ba241419a0f1d5fecd47f22370e)

Author SHA1 Message Date
Zandr Martin d5e4fff345
resize command updates (#713)
9 years ago
David Eklov 26842ff383 Add get_log_level() to encapsulate v (current log level)
9 years ago
Zandr Martin 889618d3ee
implement resize command for absolute dimensions
9 years ago
Zandr Martin 2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin beaa03344e
clean up pid/workspace stuff
9 years ago
Zandr Martin 03d79b41c7
semi-working (only non-client/server wayland apps)
9 years ago
Zandr Martin 0f1859ed25 messy, unfinished version
9 years ago
Zandr Martin 9ccc92705e implement stable sort for lists
9 years ago
Denis Doria 009eaccd42 Clean up not used variables
9 years ago
Denis Doria 0ad7857f90 Included option floating_minimum_size
9 years ago
Denis Doria f1d5b89d3e Initial work for floating view with sane values
9 years ago
Zandr Martin c6c3a8e758 Implement sort_workspaces() function for outputs.
9 years ago
Tomáš Čech eda741d177 Match definition with declaration
9 years ago
Mykyta Holubakha e73dde3b10 Support floating_scroll sideways
9 years ago
Mykyta Holubakha 0c495eecde Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
9 years ago
Mykyta Holubakha 0423c41a0f Implemented configurable floating scroll behavior
9 years ago
Eric Engestrom cc9d1cacbb common: refactor sway_log()
9 years ago
Jasen Borisov de007c9b58 Add input cmd for setting pointer accel profile.
9 years ago
Mikkel Oscar Lyderik ddd5b69b99 border: clear buffer on fullscreen views
9 years ago
Mikkel Oscar Lyderik 856ac7d5cc Remove unused function
9 years ago
Mikkel Oscar Lyderik 3e1f78ab26 Add support for nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik e226b20bd8 Reapply prev layout when exiting tabbed/stacked
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
Mykyta Holubakha 0f1cfdec61 Renamed to pango_markup
9 years ago
Mykyta Holubakha 53b53dd8c2 Added plaintext markup configuration
9 years ago
Drew DeVault e5d2efbfc9 Style issue
9 years ago
Drew DeVault 84fae94ab9 Flesh out pango markup implementation
9 years ago
Eric Engestrom 3e8081514d Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik 7be476c115 Add cmds new_window and new_float
9 years ago
Drew DeVault a12850444d New feature: adjust gaps with floating_mod+scroll
9 years ago
Mikkel Oscar Lyderik 7878de5ccc Mark focused view focus_inactive on unfocused output
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 cefcce48aa Make client/pango.h not depend on client/window.h
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 4611bba3db Initial setup of window border rendering
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Kevin Hamacher fb6dcce2ad Add graphical feedback to swaylock (#526)
9 years ago
Drew DeVault 5c85c018b4 Update to new WLC API
9 years ago
Mikkel Oscar Lyderik 2935e24cf5 Implement 'smart_gaps' feature from i3-gaps
9 years ago
Mikkel Oscar Lyderik f63512480c Remove unused panel_size (and fix rearrange)
9 years ago
Mikkel Oscar Lyderik 8ddafeeaae Fix assigning workspaces to outputs
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 e4c1176b72 Differentiate between all or no outputs
9 years ago
Mikkel Oscar Lyderik bad4e22f3b Make sway spawn only one bar per bar config
9 years ago
Mikkel Oscar Lyderik 6d57f03028 Make single bar handle multiple outputs
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Mikkel Oscar Lyderik b107fc6e5a Fix ipc event bit masks
9 years ago
Mikkel Oscar Lyderik 6f7cbf2eac Replace deprecated function wlc_output_get_pixels.
9 years ago
Drew DeVault e5bb08cc18 Print /proc/<pid>/maps on segfault
9 years ago
crondog 0ee5547406 font: Allow adding font to the config. In prep for border titles
9 years ago
Christoph Gysin a5345e807e extract cairo_set_source_u32()
9 years ago
Mikkel Oscar Lyderik 32ae26e519 Add quotes to multiword arguments.
9 years ago
Mikkel Oscar Lyderik ed227f5664 swaybar: move headers to include/bar
9 years ago
Mikkel Oscar Lyderik c6fc0033e1 swaybar: move core functionality to state.c
9 years ago
Drew DeVault a416715372 Revert "s/numlen/log10/g"
9 years ago
Drew DeVault 038bb8cc7c s/numlen/log10/g
9 years ago
Cole Mickens 28081b7689 libinput
9 years ago
Mikkel Oscar Lyderik f8b260d4a1 Add support for bincode command
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 dffacea831 Add function for getting list of modifier names.
9 years ago
Mikkel Oscar Lyderik 55f63935ab Implement bindsym --release
9 years ago
Mikkel Oscar Lyderik 843e2ad2c1 Only send modifier event once for active modifiers
9 years ago
Mikkel Oscar Lyderik 95e0f44c73 Move modifier name table to common/util.c
9 years ago
Mikkel Oscar Lyderik c20c63b677 Send IPC modifier event on bar_modifier up/down
9 years ago
Mikkel Oscar Lyderik 7727c9efbc Detect bar modifier pressed/released
9 years ago
Mikkel Oscar Lyderik aa2f754c64 swaybar: Implement binding_mode_indicator
9 years ago
Mikkel Oscar Lyderik 7298a9c67a Add type to returned response.
9 years ago
Mikkel Oscar Lyderik 19833fbc8b Add IPC event types
9 years ago
Mikkel Oscar Lyderik 16b8c2e915 Handle SIGTERM sent to sway
9 years ago
progandy 8fefdb3c64 swaybar: fix memory leaks
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
Mikkel Oscar Lyderik 66c66c7304 Implement `barconfig_update` IPC event
9 years ago
Drew DeVault 3082245243 Merge pull request #373 from sce/per_panel_config
9 years ago
progandy 21014e606b make gdk-pixbuf dependency really optional
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
Drew DeVault 7647762bab Fix default workspace name generation
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
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
progandy 76c520a04b sway: insert numbered workspaces in order
9 years ago
progandy 8f1ac1ef2c sway: enable workspace selection by number
9 years ago
Drew DeVault f6da4dda4b Bring unmanaged windows to front on output arrange
9 years ago
Mikkel Oscar Lyderik 2fd7dd64ec Implement bar option: separator_symbol
9 years ago
Mikkel Oscar Lyderik f59f5d27aa Implement bar option: output <output>
9 years ago
Mikkel Oscar Lyderik 6834a33290 Add bar height option (Airblader/i3)
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 0513322c03 Move default bar config to bar creation.
9 years ago
Yacine Hmito 87126a9fc2 Added bar_cmd_bindsym
9 years ago
Mikkel Oscar Lyderik 0aeee6963d Make mouse key used for drag/resize configurable
9 years ago
Mikkel Oscar Lyderik c6b13163c9 Add initial support for custom bar-id
9 years ago
Mikkel Oscar Lyderik 45b959f601 Move numlen(1) to sway/util.c
9 years ago
Drew DeVault 4d17aa9919 Revert "Make mouse key used for drag/resize configurable"
9 years ago
Mikkel Oscar Lyderik 74152043f4 Implement 'bar { }' block parsing
9 years ago
Drew DeVault e277d4e094 Subscribe to workspace change events and redraw
9 years ago
Drew DeVault d361ce656d Track the fullscreen view on a workspace swayc_t
9 years ago
Drew DeVault 34277207fd Pass keys along from wayland backend to clients
9 years ago
Drew DeVault 029e0c7a2c Add some more keyboard handling for wayland clients
9 years ago
Mikkel Oscar Lyderik 22916e9ebc Make mouse key used for drag/resize configurable
9 years ago
Drew DeVault a7710c5537 Initialize keyboard in registry poll
9 years ago
Drew DeVault 266393a705 Include wayland-server.h instead of -core.h
9 years ago
Drew DeVault 7614cb0373 Add keyboard handling shims to registry
9 years ago
Drew DeVault 067ac6cfa7 Discover swaylock extension in registry
9 years ago
Drew DeVault 080a263785 Refactor gdk pixbuf code into shared client lib
9 years ago
Drew DeVault 71afa38890 Add swaylock protocol, add resource destructors
9 years ago
Drew DeVault 44d0f731c3 Add framework for switching command sets
9 years ago
Drew DeVault 4f89735fc4 Add bar config struct and defaults
9 years ago
Christoph Gysin b1bd3ae6f3 cmd_output: Merge instead of replace output config
9 years ago
Christoph Gysin ae7ed79573 config: Store 'enabled' as int
9 years ago
Drew DeVault 82d464bb90 Add text rendering support to wayland clients
9 years ago
Drew DeVault e59cffcea2 Support desktop shell panels in compositor
9 years ago
Drew DeVault 4c1fad95b9 Remove trailing semicolon
9 years ago
Christoph Gysin 7d82cd9c0a cmd_output: Use list_seq_find() to find matching config
9 years ago
Drew DeVault e0cb8284fb Rearrange logging headers
9 years ago
S. Christoffer Eliesen 2d0f78c0d6 workspace: Learn sticky.
9 years ago
Drew DeVault 062c74b7d0 Add command line to swaygrab
9 years ago
Drew DeVault 27f03c705d Move IPC client into common, refactor IPC
9 years ago
S. Christoffer Eliesen a06cb7cd01 criteria: Add. Learn for_window command.
9 years ago
S. Christoffer Eliesen 4367e6d3e3 container: Store app_id attribute for views.
9 years ago
S. Christoffer Eliesen 47c313fe3e container: Store class attribute for views.
9 years ago
S. Christoffer Eliesen a0c5a0bb30 cmd_bindsym: Detect/handle duplicates.
9 years ago
S. Christoffer Eliesen 5531dbe1b2 cmd_workspace: Don't fill up config->workspace_outputs with duplicates.
9 years ago
S. Christoffer Eliesen d0af224e6d stringop: lenient_strcmp: Add.
9 years ago
S. Christoffer Eliesen a33e3badad list: Add list_seq_find.
9 years ago
Drew DeVault 79b277fe9b Parse output background config
9 years ago
Drew DeVault b4e5e1381f Refactor the crap out of wayland clients
9 years ago
Drew DeVault 4a1584be53 Fix background extensions
9 years ago
Drew DeVault 65b8a5c3ce Add background handling
9 years ago
Drew DeVault 82db2a57a9 Basic support for extensions in server and clients
9 years ago
Drew DeVault 7a40eb6de6 Support cursors over wayland clients
9 years ago
Drew DeVault 86372d00db Fix SIGBUS from wayland clients
9 years ago
Drew DeVault 665d4baaf1 Normalize indentation
9 years ago
Drew DeVault 9a1e95b7da Clean up memory pool files better
9 years ago
Drew DeVault 399220f14b Fix up wayland client implementation
9 years ago
S. Christoffer Eliesen 236f26f62e output: Support multiple adjacent outputs.
9 years ago
S. Christoffer Eliesen a94a91a723 cmd_output: Replace existing config if called multiple times.
9 years ago
Drew DeVault c43ef2aedd We don't need to implement strdup
9 years ago
Drew DeVault 11b1ba397f Further refinement of wayland client support
9 years ago
Drew DeVault bfcabe48ef Start fleshing out wayland client implementation
9 years ago
Drew DeVault ef8335d694 Start working on IPC for get_pixels
9 years ago
Drew DeVault d729032ba2 Add file and line number to log in Debug build
9 years ago
Drew DeVault edb3e4b5ab Add some documentation comments
9 years ago
S. Christoffer Eliesen abc5fbfaec Learn "gaps edge_gaps <on|off|toggle>".
9 years ago
S. Christoffer Eliesen af31a3f04a commands: Learn 'move workspace to output <direction|name>'.
9 years ago
S. Christoffer Eliesen 515ed86f4d container.h: Remove unused.
9 years ago
S. Christoffer Eliesen 5ba47d4a44 input_state: Remove mouse_origin (x&y). Query wlc instead.
9 years ago
S. Christoffer Eliesen 78ca619769 commands: Learn mouse_warping.
9 years ago
S. Christoffer Eliesen 4799d07ac1 input_state: Extract 'pointer_position_set' function from handlers.
9 years ago
S. Christoffer Eliesen 865b30f138 container: Move container_under_pointer here from handlers.
9 years ago
Drew DeVault 6cd106d23c Merge pull request #208 from minus7/ipc_subscribe
9 years ago
minus 9925554ea4 implemented IPC subscribe for workspace event
9 years ago
S. Christoffer Eliesen 9f02b0bf16 commands: Learn 'debuglog'.
9 years ago
S. Christoffer Eliesen 5a70853253 log: Add swayc_log, use at a few key places.
9 years ago
S. Christoffer Eliesen c6bb23b7dd sway/output: Create, move code from handlers.c here.
9 years ago
S. Christoffer Eliesen c1479701de seamless_mouse: Move pointer only if successfully changed workspace.
9 years ago
S. Christoffer Eliesen 362413bd50 commands: cmd_results->input is duplicated/freed.
9 years ago
S. Christoffer Eliesen af30a1b67c ipc,commands,config: Replace cmd_status enum with cmd_results struct.
9 years ago
S. Christoffer Eliesen edf33aad29 config: Add "seamless_mouse" to decide if pointer crosses output edges.
9 years ago
S. Christoffer Eliesen ca862a5bd4 config: Apply output config also during config reload.
9 years ago
S. Christoffer Eliesen 3be11a08e6 main: Implement --get-socketpath switch.
9 years ago
taiyu 0d51f62224 merge + no c_extensions
9 years ago
Drew DeVault 318e1be240 Fix warnings introduced by prior commit
9 years ago
taiyu 0bea2e2122 multi command keybinds
9 years ago
Drew DeVault e505abfe75 Revert "new_workspace null behavior + testmap functions + regex"
9 years ago
taiyu f76f9e2eea visible values
9 years ago
taiyu e1d18e42a8 new_workspace null behavior + testmap functions + regex
9 years ago
taiyu aaa0923bc4 cmd status + workspace ws output op
9 years ago
taiyu 6388241abb mode supports multi token names
9 years ago
taiyu aa22dc3113 var replacement changes
9 years ago
taiyu d673a72705 set variable changes
9 years ago
taiyu 71af5b7dde config modes
9 years ago
taiyu f25c6b312b gap resize
9 years ago
taiyu 2ef83664f5 remove outdated comment
9 years ago
taiyu afa6747145 enum for command type
9 years ago
taiyu 4cd18449d2 better handling of commands during config
9 years ago
taiyu dbeca88dee default gap value
9 years ago
Luminarys 12e96f0f9e Added in workspace_auto_back_and_forth
9 years ago
Luminarys fe2ec8a676 Added in workspace back_and_forth
9 years ago
Luminarys 28e937020a Made scratchpad handling identical to i3
9 years ago
Luminarys 7eefecf479 Added in scratchpad adding
9 years ago
taiyu 1820b3f0bb move function redone
9 years ago
taiyu 5678d824e4 update visibility + container info functions
9 years ago
taiyu da79bd65de use previous outputs
9 years ago
Luminarys acb3fbdfb5 Added in default_orientation handling
9 years ago
taiyu 357af228d6 some function documentation, fixed gaps on config reload
9 years ago
taiyu 1fa7a91bfb move_container_to fixup
9 years ago
taiyu 225c2fbe5b fixed segfault on exit + a little fixup of that floatfocus pr
9 years ago
minus ca89ba83a8 changed view visibility to be bool
9 years ago
minus e533014201 added missing util.h/c stuff
9 years ago
minus e854a54e96 changed workspace_{outout_,}{next,prev} to return workspace
9 years ago
minus 03e4a97dbe added "move container to workspace"
9 years ago
minus f22c937953 refactored view visibility
9 years ago
minus 1efda79bf2 refactored workspace_next/prev
9 years ago
Luminarys 7c5b6f8c52 Added in backtrace printing
9 years ago
taiyu dbad30a409 add limit to swayc_in_direction
9 years ago
taiyu c8415d7fef split_string memory leaks cleanedup
9 years ago
taiyu 51ab3c9180 merge
9 years ago
Drew DeVault 1ac0c8cd47 Refactor keyboard to consider modified keysyms
9 years ago
Luminarys a65dca04e8 Style fix
9 years ago
Luminarys 98fad060e2 Added in glitchy disabling
9 years ago
taiyu d72cc92541 style
9 years ago
taiyu f24b78898a dont swap view with workspace...
9 years ago
taiyu 42d5d9a177 mouse tile resize mode done
9 years ago
taiyu e139de0857 floating/tiling move + floating resize cleaned and fixed
9 years ago
Drew DeVault b7f4607544 Implement output configuration through config
9 years ago
Luminarys f6b16ca089 Refactored resizing functions into resize.c
9 years ago
taiyu 5a67628ad9 Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
taiyu 1a1ac64662 bugfixes, renames
9 years ago
Drew DeVault 1c38b7a8d2 Merge pull request #111 from Luminarys/master
9 years ago
Luminarys a8eab5492a Added in proper resize locking
9 years ago
minus 8dfaf6265b fixed #108 signed/unsigned comparison
9 years ago
Luminarys 7ecb55f218 Minor style fix
9 years ago
Luminarys 97bd548456 More minor fixes
9 years ago
Luminarys de86c5f4ea Cleanup and minor fixes
9 years ago
Drew DeVault a436fc17ff Merge pull request #105 from Half-Shot/master
9 years ago
Drew DeVault 464b49eda2 Merge pull request #101 from Luminarys/master
9 years ago
Luminarys 96ab21b276 Fixes to resizing and added in resize lock once boundaries are exceeded
9 years ago
Luminarys 461da7f87f Added in bspwm like mouse resizing
9 years ago
Luminarys f589731f29 Rewrite of resize command to make it more sane
9 years ago
Drew DeVault 3a5fce339f Reset key buffer on reload
9 years ago
Half-Shot 713bf29ec9 Few stray bits
9 years ago
Half-Shot 5a9ba261bc Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
Half-Shot 2a62c5c7fb Basic left right move command implemented.
9 years ago
minus 754793aad4 added IPC messages get_workspaces and get_outputs
9 years ago
taiyu 36e07e9ebc find_parent_by_type
9 years ago
Luminarys bc3babf566 Added in basic resize command
9 years ago
Luminarys 15d9f1edcb Added in basic resize command
9 years ago
minus f8787ce69e added missing header file
9 years ago
minus f26ed32e46 added sway_terminate to exit cleanly
9 years ago
minus 91c0877264 properly exit sway
9 years ago
minus 773e85c681 properly handle IPC clients
9 years ago
minus 5d99215469 added i3-ipc support/parsing
9 years ago
minus 8981b48cd2 very basic IPC implementation
9 years ago
Drew DeVault 579fe70ed9 Add command line parsing
9 years ago
taiyu f5fde7c45c style
9 years ago
taiyu fbaa9111a8 setup for resizable windows, drop weight
9 years ago
taiyu 5ff0619ca1 input state, find_container_in_direction
9 years ago
taiyu 470b4dfbae key_state.ch, and command conflicts resolved
9 years ago
taiyu c5a6982893 fixed some more bugs, moved layout_log into log.ch, restored focus_parent
9 years ago