David Eklov
4bb45abc46
Don't treat backgrounds as shell surfaces
...
This code had some issues. Remove it now so that we can start clean and fix
it later.
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
...
Tabbed/stacked containers are now created only if a view is present on
the workspace. If a view is created on previously empty tabbed/stacked
workspace, it gets wrapped in a container.
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
...
Prior to this commit all windows (e.g. shell surfaces) were handled the same
way in handle_view_created. Since backgrounds and panels have to be treated
differently, they could not be shell surfaces. This changes checks whether
a client is a background or a panel in handle_view_created and exists to
let them be dealt with elsewhere.
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)
...
This patch also makes all global variable in log.c static.
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
...
also change sort_workspaces() to use it
9 years ago
Denis Doria
009eaccd42
Clean up not used variables
9 years ago
Denis Doria
0ad7857f90
Included option floating_minimum_size
...
Values cannot be negative or 0; if so uses the default 75x50.
Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
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.
...
This seems to have resolved issue #669 for me.
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()
...
This removes most preprocessor logic, leaving it only it the header.
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
...
This patch makes sure to clear the border buffer of fullscreen view so
the border doesn't get drawn behind a fullscreen view, which would be
visible if the view was transparent.
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
...
Makes any tabbed/stacked layout a container to separate from floating
windows which may be attached to a workspace.
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
...
Makes it possible to set default layout style for new windows and new
floating windows.
Close #556
9 years ago
Drew DeVault
a12850444d
New feature: adjust gaps with floating_mod+scroll
...
I made this configurable but I didn't make the command for it. That's
left as an exercise to an eager contributor.
mod_scroll_behavior [gaps inner|gaps outer]
Would merge implementions of more behaviors for mod+scroll, if anyone
has some neato ideas.
9 years ago
Mikkel Oscar Lyderik
7878de5ccc
Mark focused view focus_inactive on unfocused output
9 years ago
Mikkel Oscar Lyderik
5a13cb0ed1
Implement borders
...
The borders are implemented as a surface/buffer attached to each view
which is sent to and rendered by wlc in the view_pre_render callback.
All the drawing logic is handled in sway/border.c and all the logic for
calculating the geometry of the border/view is handled in
`update_geometry` in sway/layout.c (same place as gaps are calculated).
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
...
Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for
help, I'm at a loss.
9 years ago
Drew DeVault
4611bba3db
Initial setup of window border rendering
...
Please don't complain to me about the performance of this
9 years ago