S. Christoffer Eliesen
4799d07ac1
input_state: Extract 'pointer_position_set' function from handlers.
2015-10-29 16:37:19 +01:00
S. Christoffer Eliesen
865b30f138
container: Move container_under_pointer here from handlers.
2015-10-29 16:37:19 +01:00
Drew DeVault
6cd106d23c
Merge pull request #208 from minus7/ipc_subscribe
...
implemented IPC subscribe for workspace event
2015-10-27 17:19:18 -04:00
minus
9925554ea4
implemented IPC subscribe for workspace event
2015-10-27 21:59:17 +01:00
S. Christoffer Eliesen
9f02b0bf16
commands: Learn 'debuglog'.
...
Replicates i3 option. Verbosity level given as command line argument
becomes default log level, and using 'debuglog toggle' switches back and
forth between default and debug (or L_ERROR and debug if default is also
L_DEBUG).
2015-10-27 14:37:44 +01:00
S. Christoffer Eliesen
5a70853253
log: Add swayc_log, use at a few key places.
...
swayc_log works just like sway_log, but appends type and name from given
container to the log output.
2015-10-25 13:14:28 +01:00
S. Christoffer Eliesen
c6bb23b7dd
sway/output: Create, move code from handlers.c here.
2015-10-25 13:14:23 +01:00
S. Christoffer Eliesen
c1479701de
seamless_mouse: Move pointer only if successfully changed workspace.
...
If e.g. a window has a popup open then that will lock the current focus,
making a workspace switch denied.
So don't move the mouse pointer in such cases.
2015-10-23 16:35:48 +02:00
S. Christoffer Eliesen
362413bd50
commands: cmd_results->input is duplicated/freed.
2015-10-23 13:03:14 +02:00
S. Christoffer Eliesen
af30a1b67c
ipc,commands,config: Replace cmd_status enum with cmd_results struct.
...
In i3 the ipc reply will contain a human readable error message, and
this patch replicates that behaviour.
However, that error message is also useful for logging, which this
patch takes advantage of.
E.g. instead of logging errors directly in commands.c/checkargs, it is
fed back to the caller which eventually ends up logging everything with
maximum context available (config.c/read_config).
So instead of logging e.g. "Error on line 'exit'" it will now log:
"Error on line 'exit': Can't execute from config."
2015-10-22 23:36:24 +02:00
S. Christoffer Eliesen
edf33aad29
config: Add "seamless_mouse" to decide if pointer crosses output edges.
2015-10-22 01:39:12 +02:00
S. Christoffer Eliesen
ca862a5bd4
config: Apply output config also during config reload.
2015-10-21 23:24:06 +02:00
S. Christoffer Eliesen
3be11a08e6
main: Implement --get-socketpath switch.
2015-10-18 19:53:56 +02:00
taiyu
0d51f62224
merge + no c_extensions
2015-09-18 07:23:04 -07:00
Drew DeVault
318e1be240
Fix warnings introduced by prior commit
2015-09-18 07:27:35 -04:00
taiyu
0bea2e2122
multi command keybinds
2015-09-14 19:59:25 -07:00
Drew DeVault
e505abfe75
Revert "new_workspace null behavior + testmap functions + regex"
...
This reverts commit e1d18e42a8
.
Fixes #180
cc @taiyu-len
2015-09-13 19:46:16 -04:00
taiyu
f76f9e2eea
visible values
2015-09-12 02:52:18 -07:00
taiyu
e1d18e42a8
new_workspace null behavior + testmap functions + regex
2015-09-12 02:38:03 -07:00
taiyu
aaa0923bc4
cmd status + workspace ws output op
2015-09-10 11:07:40 -07:00
taiyu
6388241abb
mode supports multi token names
2015-09-08 10:53:15 -07:00
taiyu
aa22dc3113
var replacement changes
2015-09-08 10:27:09 -07:00
taiyu
d673a72705
set variable changes
2015-09-08 08:54:57 -07:00
taiyu
71af5b7dde
config modes
2015-09-07 14:29:40 -07:00
taiyu
f25c6b312b
gap resize
2015-09-05 20:48:52 -07:00
taiyu
2ef83664f5
remove outdated comment
2015-09-04 17:10:10 -07:00
taiyu
afa6747145
enum for command type
2015-09-04 17:09:07 -07:00
taiyu
4cd18449d2
better handling of commands during config
2015-09-04 16:57:03 -07:00
taiyu
dbeca88dee
default gap value
2015-09-04 16:14:59 -07:00
Luminarys
12e96f0f9e
Added in workspace_auto_back_and_forth
2015-08-30 21:34:24 -05:00
Luminarys
fe2ec8a676
Added in workspace back_and_forth
2015-08-30 19:59:14 -05:00
Luminarys
28e937020a
Made scratchpad handling identical to i3
2015-08-29 21:14:13 -05:00
Luminarys
7eefecf479
Added in scratchpad adding
2015-08-28 23:39:12 -05:00
taiyu
1820b3f0bb
move function redone
2015-08-28 11:03:10 -07:00
taiyu
5678d824e4
update visibility + container info functions
2015-08-27 23:18:28 -07:00
taiyu
da79bd65de
use previous outputs
2015-08-27 20:32:56 -07:00
Luminarys
acb3fbdfb5
Added in default_orientation handling
2015-08-27 21:52:59 -05:00
taiyu
357af228d6
some function documentation, fixed gaps on config reload
2015-08-26 13:35:22 -07:00
taiyu
1fa7a91bfb
move_container_to fixup
2015-08-26 11:01:26 -07:00
taiyu
225c2fbe5b
fixed segfault on exit + a little fixup of that floatfocus pr
2015-08-25 13:29:33 -07:00
minus
ca89ba83a8
changed view visibility to be bool
...
view_visibility enum remains with one constant that is the mask to wlc's view masking
2015-08-25 20:13:35 +02:00
minus
e533014201
added missing util.h/c stuff
2015-08-25 19:53:59 +02:00
minus
e854a54e96
changed workspace_{outout_,}{next,prev} to return workspace
...
so it can be reused for "move container to workspace next"
2015-08-25 19:00:20 +02:00
minus
03e4a97dbe
added "move container to workspace"
...
makes the previous commit actually testable
2015-08-25 18:25:36 +02:00
minus
f22c937953
refactored view visibility
...
- replace visibilty mask integers with an enum
- set output's visibilty mask on creation
- added update_visibility to manually update a containers visibility (e.g. when it moved to an invisible workspace)
2015-08-25 18:24:15 +02:00
minus
1efda79bf2
refactored workspace_next/prev
2015-08-25 15:17:18 +02:00
Luminarys
7c5b6f8c52
Added in backtrace printing
2015-08-24 15:44:58 -05:00
taiyu
dbad30a409
add limit to swayc_in_direction
2015-08-24 01:11:21 -07:00
taiyu
c8415d7fef
split_string memory leaks cleanedup
2015-08-23 19:09:18 -07:00
taiyu
51ab3c9180
merge
2015-08-23 12:34:18 -07:00