453 Commits (a4c1270ef0a3c5bd610b13867be7616a55e59dc5)

Author SHA1 Message Date
Tony Crisci f78d07d39b Implement focus handling for containers
8 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
8 years ago
D.B 8d0048c8d5 properly hide top border inside tabbed/stacked
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
Tony Crisci 88b7cbe314 Implement `focus child` command
8 years ago
Mykyta Holubakha a2bc6f3bfd Arrange backgrounds only when required
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
Mykyta Holubakha 0b5391ed77 Properly construct event bitmasks
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
D.B ad7605675e refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
8 years ago
Drew DeVault 147a88260a Fix #753
8 years ago
David Eklov c0b7610c26 Enable windows to register to get notified when the mouse wheel is scrolled
8 years ago
David Eklov 250ddc66c6 Rename pointer_input::notify to indicate that is called on button clicks
8 years ago
David Eklov a0c8799c80 Compute what workspace button is clicked
8 years ago
David Eklov 679c7b397c Use int instead of wl_fixed_t for mouse coordinates
8 years ago
David Eklov c805e42635 Extract workspace size computation from render_workspace_button()
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
D.B ee67cd0ba1 Fix tabbed/stacked corner case #742
9 years ago
David Eklov b9d8cbabdd Fix formatting guide violations (spaces instead of tabs)
9 years ago
David Eklov c8a64305fd Enable windows to register to get notified of pointer button events
9 years ago
David Eklov d9bcea381a Fix formatting guide violations (spaces instead of tabs)
9 years ago
David Eklov bb35960e65 Move code to make a window a shell surface into seperate function
9 years ago
David Eklov 51204b33c1 Enable backgrounds and panels to be shell surfaces
9 years ago
Zandr Martin e07b8c8d7c Merge branch 'master' into get-tree-command
9 years ago
Zandr Martin 15a324b0d3
implement `get_tree` command
9 years ago
Zandr Martin a7b94f1324
typo in focus.h
9 years ago
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