432 Commits (163edc5a900fda58e006ed30e14ae10cc4aa13b3)

Author SHA1 Message Date
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 39cf9a82f7 Enforce command policies
8 years ago
Drew DeVault f23880b1fd Add support for command policies in config file
8 years ago
Drew DeVault 76cab04b4d Implement permit and reject commands
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
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
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices
8 years ago
Drew DeVault 4cba91803e Revert "Fixes dealing with workspace_layout and related bugs [rfc]"
8 years ago
D.B 571321a1d8 add workspace_layout, ensure ws is always L_HORIZ
8 years ago
D.B d3f5ac8cbb add force_focus_wrapping option
8 years ago
Nicolas Cornu 37065cd0c4 add click on title_bar to focus a container
8 years ago
Zandr Martin 7d947fdb95
add unique IDs to containers
8 years ago
Zandr Martin 0516dba3f6
implement "focused container" feature for swaygrab
8 years ago
Zandr Martin e18b7cdfa9
add global `current_focus` pointer
8 years ago
Zandr Martin 511eed90cd
squash commits, move enum into resize.c
8 years ago
Drew DeVault af44154119 Fix constant scale factor in font code
8 years ago
Drew DeVault b2226ac655 Add client support for HiDPI
8 years ago
Drew DeVault 61184e3208 Initial testing on hidpi clients
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
Drew DeVault 416417a54c Reorganize includes
8 years ago
Tony Crisci 81eb9ea12c Simplify focus setting
8 years ago
Tony Crisci 2f65100bee Remove dead global locked_view_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 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