Carsten Haitzler
4cd3bb45c4
convert a whole lot of CRIs to ERRs that will not be useful with aborts
2021-09-12 09:14:42 +01:00
Carsten Haitzler
571a188eb0
client list - other prop - not just stacking, keep internal wins out
2021-07-13 20:05:05 +01:00
Carsten Haitzler
b2e79f46c8
e - netwm - dont include intnernal marker layer clients in clients prop
2021-07-13 19:53:44 +01:00
Carsten Haitzler
ea14bdf0d7
e blanking - only us iconic, not hidden when blanked
...
this is enough and doesnt now interfere with hidden state when on
other desks.
2021-04-26 09:05:19 +01:00
Carsten Haitzler
403435f9fd
blanking - when screen blanks (pwsave freeze) set windows to iconic
...
also make them hidden too for good measure. this causes many clients
to stop rendering. saves power and useless cycles drawing stuff you
can't see.
2021-04-20 19:03:02 +01:00
Carsten Haitzler
0e0d80159e
fix restarts with windows with hideen state win hints
...
this fixes the previous commit
42cc4e8c16
ith retarts and windows on
other desktops
2021-04-13 18:05:59 +01:00
Carsten Haitzler
9fcd087b85
exit codes - clean up and handle consistently
...
also x io error - exit as we must.
2020-07-20 14:21:20 +01:00
Elyes HAOUAS
3524bc167c
tree-wide: get rid of trailing whitespace (part 1)
...
Remove trailing white spaces.
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11780
2020-05-14 12:30:31 +02:00
Carsten Haitzler
ea75a4384d
e hints - put in some casts to silence earnings - enums are same vals
2020-01-15 19:06:24 +01:00
Carsten Haitzler
60324a7b2c
steam - special workaround for bad steam games so they match desktops
...
many steam games don't provide much in properites - not enough to
match to a desktop file. the only thing that actually consistently
works is to use the STEAM_GAME property and match thyat to the uri
provided to the steam command in the exec of the desktop file. this
actually can work. nothing else works reliably across the board.
and man can games be horrible and playing nice with desktops and
having poor properties. even steam itself is not good. i had to add a
workaround for that too to match steam-runtime explicitly. :(
2019-11-10 01:33:39 +00:00
Carsten Haitzler
67da43ee36
e hints - fix beyond end of array fetch and segv
...
asan found this one.
@fix
2019-08-10 13:34:32 +01:00
Carsten Haitzler
4f5067dde9
hits: silence warnings about possible null string for strcmp
2017-11-06 11:19:39 +09:00
Mike Blumenkrantz
4d0ceeb02c
add fd passing to aux hints protocol
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
1d72713dc0
use int array for client maximize hint state update
...
CID 1379946
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
09a8888f76
batch x11 maximize state change requests
...
if an app wants to set both horizontal and vertical, set both at the same
time to improve performance and accuracy
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
2b984e68b9
add MISC client property event to be manually triggered whenever misc props change
...
there's too many properties to create flags/events for all of them, so just use this
if it's one of the many misc props
currently only used for skip_{pager,taskbar,winlist}
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
ab328c6512
implement support for wl aux hints
...
this is a direct copy of a feature from tizen git with no modifications other
than what was required for compilation and functionality
https://git.tizen.org/cgit/platform/upstream/enlightenment/commit/?id=8ea090222cee86b57e54f1444c5b63252380fba5
https://git.tizen.org/cgit/platform/upstream/enlightenment/commit/?id=2c5593325c3f32efa92da3c371a780e434a30efd
fix T5780
2017-07-28 15:45:01 -04:00
Mike Blumenkrantz
a064899511
move x11 iconic window init from e_hints -> comp_x initial fetch
...
this reflects the order in which the client passes through these functions
and fixes handling of iconic clients on startup
2017-03-10 15:55:06 -05:00
Carsten Haitzler
e75af1536d
Revert "e bg: remove debug printf"
...
This reverts commit 77c2a2a3d1
.
oops - i forgot i had all this other debugging there
2016-02-06 10:29:04 +09:00
Carsten Haitzler
77c2a2a3d1
e bg: remove debug printf
2016-02-06 10:27:09 +09:00
Mike Blumenkrantz
f8a0cbd534
unset WM_STATE for x11 clients upon unmapping them
...
icccm provides conflicting spec info regarding how this property should be set.
according to 4.1.3.1:
When the window is withdrawn, the window manager will either change the state
field's value to WithdrawnState or it will remove the WM_STATE property entirely.
however, 4.1.4 states:
Only the client can effect a transition into or out of the Withdrawn state
so to be on the safe(r) side, deleting the property seems to be the best choice here
ref 41daddeacc
fix T3011
2016-01-18 13:46:31 -05:00
Mike Blumenkrantz
41daddeacc
never set withdrawn state on x11 clients
...
icccm 4.1.4:
Only the client can effect a transition into or out of the Withdrawn state.
fix T2901
2015-12-11 15:07:48 -05:00
Mike Blumenkrantz
9b2eb5541c
use more accurate math to determine whether to apply a client maximize change
2015-09-28 14:42:21 -04:00
Mike Blumenkrantz
29823dbf1b
unset the requested maximize state when receiving a client unmaximize request
...
not sure why it was always removing VERTICAL here but that's a bug
2015-09-28 14:41:44 -04:00
Mike Blumenkrantz
ec7752cc90
set x11 supported atom array size correctly
...
CID 1324958
2015-09-25 21:57:25 -04:00
Mike Blumenkrantz
1c36bb8333
fix handling of x11 ICCCM WithdrawnState
...
according to ICCCM 4.1.4:
Only the client can effect a transition into or out of the Withdrawn state
withdrawn windows cannot be shown under any circumstances. the best that can
be done is to try mapping the window and hope it decides to appear.
to prevent any inadvertent showing of the window before it leaves the
withdrawn state, we play games with the E_Client->ignored flag in order
to skip client evals until we get notified that maybe we want to stop
skipping those evals
ref T2745
2015-09-25 21:56:14 -04:00
Mike Blumenkrantz
d1454e4e1a
broadcast support for _GTK_FRAME_EXTENTS
...
this is not actually supported yet, so behavior of windows using this
feature will be more wayland-like, eg. geometry determined by area
of window+shadow
fix T2744
2015-09-24 16:33:56 -04:00
Mike Blumenkrantz
3f13b6889d
replace existing usage of x/wl_comp_data with corresponding globals
2015-08-13 16:05:57 -04:00
Mike Blumenkrantz
e37f5d8c28
set pass events on DND type windows
...
these are the actual drag windows from external apps and will be stuck
under the cursor, ideally not blocking/intercepting all motion events
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
54c6d7094e
remove unnecessary E_COMP_WL #defines
...
this is only required for aliasing E_Client->comp_data as wayland compositor data.
if comp_data is never dereferenced, it is not necessary to declare the compositor
type
2015-07-08 17:12:42 -04:00
Mike Blumenkrantz
2fe9f7c5e8
fix typo in conditional for setting x11 hints
2015-07-01 17:42:26 -04:00
Mike Blumenkrantz
2485cbbd13
allow hint setting on x11 windows in xwayland
2015-07-01 16:44:09 -04:00
Mike Blumenkrantz
2d3c43a39c
replace some x11 compositor checks with calls to util function
2015-07-01 16:25:45 -04:00
Chris Michael
0a94e8ba71
enlightenment: Make E build again with EFL from git
...
sed -i 's/EAPI/E_API/g'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz
58447e9508
completely remove E_Manager
...
the final step in flattening all the canvas/screen apis
2015-03-19 16:53:32 -04:00
Mike Blumenkrantz
471dcb24cb
__UNUSED__ -> EINA_UNUSED
...
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz
1736d1ecb9
e_client functions no longer require E_Comp param
2015-03-13 16:53:19 -04:00
Mike Blumenkrantz
91edd1ce2f
E_CLIENT_*FOREACH() macros no longer take a E_Comp param
2015-03-13 15:45:07 -04:00
Chris Michael
88f44e1a1d
adjust wayland compositor scale when we adjust e_scale
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-26 15:33:40 -05:00
Chris Michael
3be57f67ba
quiet compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 10:58:13 -05:00
Mike Blumenkrantz
0bac875290
remove some e_comp_get() usage in core comp/client files
2015-01-05 15:39:34 -05:00
Mike Blumenkrantz
f4d376be2f
disable client stack debugging
...
this should have been turned off for e19 release but I forgot
2015-01-05 15:39:34 -05:00
Mike Blumenkrantz
922af2c52f
remove e_comp_list(), deprecate all related functions for pending removal
...
there is only one E_Comp which can now be accessed by the e_comp global.
if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable
pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Mike Blumenkrantz
701e2d914a
add support for new netwm csd X atoms
...
nothing uses these yet so there's no way to test them.
fix T1963
2015-01-03 00:42:42 -05:00
Mike Blumenkrantz
68e0b75929
set skip pager/taskbar hints on parent window instead of client window
...
this is a change in behavior as compared to E17-E18 where any setting of related flags would alter the client hints
ref T1692
2014-11-25 15:02:06 -05:00
Mike Blumenkrantz
3b649534c9
Fix building Enlightenment for X11-only, Wayland-Only, and X11 with Wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Additional authors: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
915f8f0613
@bugfix: Fix building for WAYLAND_ONLY by using the proper define
...
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz
de03331469
fix indent for iconic hint setting
...
seriously?
CID 1156985
2014-03-13 12:00:17 -04:00
Mike Blumenkrantz
1a2f4087db
defer netwm maximize hint apply to reduce canvas ops
...
improves maximize performance on apps like chromium which incrementally apply maximize states
2014-03-10 00:27:16 -04:00
Carsten Haitzler
04265d3b9f
bugfix: potential/maybe fix of e checking for itself on startup
...
unknown if this fixes the issue as i can't reproduce it.
2014-01-27 08:21:28 +09:00