Commit Graph

290 Commits

Author SHA1 Message Date
Marcel Hollerbach e800a57821 controls: always focus new button
if the terminal is unfocused, the layout is not allowed to get focus anymore.
This way we ensure that cases where we have multiple ui elements overlapping cause problems.
2020-12-09 10:40:59 +01:00
Boris Faure 5df92ee2ac
Fix typo
Summary: Fix typo on "preferred"

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D12028
2020-06-24 22:50:48 +02:00
Boris Faure 8c88c876cd
Merge branch 'terminology-1.7' 2020-06-23 22:39:46 +02:00
Boris Faure 157d65e7ec
win: reorder calls to please _focus_validator() 2020-06-23 22:38:28 +02:00
Boris Faure ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure 30b74f84f3
win: better handle initial focus when creating splits
Closes T8756
2020-06-21 23:46:22 +02:00
Boris Faure ec344090aa
scale wizard: word-wrap the labels 2020-05-19 23:41:39 +02:00
Boris Faure 1d5eee0e60
focus validator: be less strict when changing tabs
Closes T8722
2020-05-16 19:07:28 +02:00
Boris Faure 286e2ebb59
win: on startup, force a window to be considered as focused 2020-04-29 22:54:50 +02:00
Boris Faure f3bf486777
win: handle early case when no child is present 2020-04-29 22:53:02 +02:00
Boris Faure 225b14a54f
win: hide tab bar when restoring the last term 2020-04-16 19:35:19 +02:00
Boris Faure 27f062ff1a
win: reswallow content when it's the only one left 2020-04-16 19:30:27 +02:00
Boris Faure 25496f6689
win: remove hand cursor when drag stops 2020-04-16 19:29:34 +02:00
Boris Faure 338b2c1865
win: fix rollback split + add debug 2020-04-16 17:16:18 +02:00
Boris Faure 985e0b56c5
win: put drag icon under the mouse 2020-04-15 22:52:31 +02:00
Boris Faure 472cfbcff4
win: remove some debug 2020-04-15 22:12:51 +02:00
Boris Faure 7ce4416311
win: save split position when dragging tab 2020-04-14 23:40:08 +02:00
Boris Faure 0d5a796703
win: fix focus display when focusing in/out and grouped input 2020-04-14 22:51:14 +02:00
Boris Faure cdcc6be05e
show grouped input on inactive tabs 2020-04-14 22:06:53 +02:00
Boris Faure 826801b607
group input: show it on active tabs 2020-04-13 20:30:51 +02:00
Boris Faure 537af736e8
win: constify 2020-04-11 10:01:13 +02:00
Boris Faure 210ec3b408
win: add win_has_single_child() 2020-04-11 09:55:52 +02:00
Boris Faure df9700c8a5
win: add win_evas_object_to_win() 2020-04-11 09:50:38 +02:00
Boris Faure b9f3c7bf05
win: don't resize to 0 + remove useless callback 2020-04-11 00:31:04 +02:00
Boris Faure 4c9091c9c6
controls: avoid uses after free
CID1422109
CID1422110
CID1422111
2020-04-06 23:11:10 +02:00
Boris Faure 6411f119ce
win: no need to check wn->config. Closes CID1422298 2020-04-06 22:59:26 +02:00
Boris Faure 0eac2752d3
win: don't call elm_win_alpha_set() too many times 2020-04-06 21:58:21 +02:00
Boris Faure 0fb87e2756
win: use edje_object_message_send on edj part… 2020-04-06 00:53:34 +02:00
Boris Faure cbbfe60aae
config: share translucent+opacity settings accross instances 2020-04-05 23:20:11 +02:00
Boris Faure 5d2e0479b9
win: simplify focus handling when dropping tab to split 2020-03-30 22:30:10 +02:00
Boris Faure 5c85b8c624
win: _focus_validator() saves focused tc + add debug 2020-03-30 22:30:10 +02:00
Boris Faure d267b57fb1
win: unfocus from correct parent + add focus checks 2020-03-29 13:34:59 +02:00
Boris Faure 6b9a9d680f
win: ensure clear state when recreating tabs 2020-03-28 22:08:19 +01:00
Boris Faure 7eba4c97e0
drag: add animation when dragging tab over other tabs 2020-03-26 22:00:31 +01:00
Boris Faure 7c857b211e
win: show hand cursor when dragging tab 2020-03-26 22:00:31 +01:00
Boris Faure 5a2e394c36
tab drag: have a thumbnail of the tab 2020-03-26 22:00:30 +01:00
Boris Faure 1ca9c13ace
win: add _focus_validator() to help debug focus issues 2020-03-26 22:00:30 +01:00
Boris Faure 81d9063d65
win: handle case where tab dragged is the last term 2020-03-26 22:00:30 +01:00
Boris Faure 0edb5f7913
win: rollback tabs when dragging tabs made last tab lonely 2020-03-26 22:00:30 +01:00
Boris Faure 413e6eb2a2
win: move saved position of tab when other tab is closed 2020-03-26 22:00:30 +01:00
Boris Faure 0fc86663a4
win: rollback tab drag from tabs 2020-03-26 22:00:30 +01:00
Boris Faure 9a6ff3c16c
win: rollback splitted term on tab drag cancellation 2020-03-26 22:00:30 +01:00
Boris Faure 496a307f67
win: drag a tab to split 2020-03-26 22:00:29 +01:00
Boris Faure 7b97a64644
tab dnd: add anim on where to drag the tab to split 2020-03-26 22:00:29 +01:00
Boris Faure 00f08812be
win: avoid div by 0. CID1421876 2020-03-19 09:27:57 +01:00
Boris Faure 901e9692c1
win: simplify horizontal drag code 2020-03-18 23:31:06 +01:00
Boris Faure c338286195
win: ensure the term has a container when dragging it 2020-02-25 21:01:33 +01:00
Boris Faure 6f48f706f5
win: have only one tab drag at a time 2020-02-23 21:52:24 +01:00
Boris Faure 1a7df68b84
win: test calloc()
Closes CID1419432
2020-02-15 23:09:32 +01:00
Boris Faure 2316b92d67
win: reinsert the tab when the mouse is 2020-02-15 22:33:51 +01:00