Commit Graph

9450 Commits

Author SHA1 Message Date
Mike Blumenkrantz 2b1b6def72 reject client fullscreening based on config and desk visibility 2015-05-18 13:21:45 -04:00
Jean Guyomarc'h 35bba6b6c0 e_ipc: fix creation of IPC server when $DISPLAY is a path
Summary:
Some implementations of the X server (e.g. Xquartz) define their $DISPLAY
as a path. Since ecore_ipc_server_add() does not create non-existant
directories, and since it may not worth to hide the socket in a complex
path, this patch aims at reducing the $DISPLAY by only keeping its basename.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2465
2015-05-02 10:05:30 -04:00
Mike Blumenkrantz f28eec002a prune module config list when loading a module
it's somehow possible to get multiple instances of a module in the config.
since I don't know whether this is a current or past problem, prune the list
on every module load to remove subsequent instances of the module

fix T2181
2015-04-30 17:07:55 -04:00
Mike Blumenkrantz 829ecc3cc0 try hicolor icon theme as fallback for fdo icon setting if user's theme fails
fix T2142
2015-04-30 14:16:48 -04:00
Mike Blumenkrantz 21536ffa96 force visibility on clients before attempting to hide them
this ensures that edje visibility states get reset in the event of toggling
visibility extremely quickly

probably fixes T2260
2015-04-29 22:08:34 -04:00
Mike Blumenkrantz 7a028f37f3 only apply mouse down focus events if a binding did not run on the same event
fixes the case of enabling "raise on click" and also having a mouse binding
for "lower on click" active

fix T2364
2015-04-29 22:08:26 -04:00
Mike Blumenkrantz aa71cd734c freeze evas events on clients during keyboard move/resize actions
fix T2112
2015-04-29 22:08:22 -04:00
Mike Blumenkrantz 19c652e069 rename client menu move/resize items to indicate real function
ref T2112
2015-04-29 22:08:18 -04:00
Carsten Haitzler cbe533c848 e client - desk wait - ref it properly and clean up delfn
delfn's on desks being referred to as profile.wait_desk were never
cleared when client was freed. als the desk itself never got an obj
reference - fix that and ref/unref it.
2015-04-28 12:29:54 -04:00
Carsten Haitzler cd04374949 e - xsettings - calloc buffer since we leave 3 of 4 bytes unset
the first 4 bytes is a msb/lsb thing for xsetttings - we ignore 3 of
the 4 bytes. thus we should just calloc the whole buffer to ensure its 0
2015-04-28 12:29:49 -04:00
Mike Blumenkrantz 187608ba7a use client geom for comp object centering functions if ec->new_client is set 2015-04-28 12:27:33 -04:00
Mike Blumenkrantz 85e9c985b0 ensure client max w/h props are set before applying them to client geom 2015-04-28 12:24:19 -04:00
Carsten Haitzler 7c868b5be1 e_shelf - check visiblity with zone and desk FIRST not later
es->cfg->desk_show_mode if false (default) implies a shelf is always
visible - true, as it's sticky (visible on all desktops). but this
didn't check zone. check zone first THEN this.
2015-04-28 12:23:14 -04:00
Mike Blumenkrantz 3807b38b72 fix submenu visibility during scroll
sometimes while quickly moving the cursor through menu items with submenus
the visibility flag would toggle more quickly than the menu object's visibility.
this is no longer the case
2015-04-20 18:09:36 -04:00
Mike Blumenkrantz f5273475eb clear app menu cache any time a desktop is edited internally
ref T2271
2015-04-20 16:06:21 -04:00
Mike Blumenkrantz a312cc2429 add function for clearing app menu cache
ref T2271
2015-04-20 16:06:20 -04:00
Mike Blumenkrantz 92d8abd38c use client geometry for starting unmaximize calculations
the resize operations in this function operate off client geometry, so
stop using frame geometry

fix T2170
2015-04-20 15:34:37 -04:00
Mike Blumenkrantz 5f5786ab50 fix nocomp_override conditional which would inaccurately toggle nocomp
hooray gcc 5.0
2015-04-14 20:38:43 -04:00
Mike Blumenkrantz facd645829 set E_Exec_Instance desktop during client idler if none present
ref T2284
2015-04-13 16:22:32 -04:00
Mike Blumenkrantz 4207c1240e raise deskmirror windows on startup
these get added bottom -> top on creation, so ensure that they are raised
2015-04-09 14:21:01 -04:00
Mike Blumenkrantz 2091ef60d8 always lower e_layout children upon packing
fixes issues where a new child added would appear above other child objects
if the new child was meant to be stacked below other children

mostly noticeable in deskmirror
2015-04-09 14:20:59 -04:00
Mike Blumenkrantz 66da90fa0f remove layer setting from deskmirror
smart child objects can't have layers. apparently.
2015-04-09 14:20:56 -04:00
Carsten Haitzler 666da6ab83 e clients - make sure we handle client with a NULL zone 2015-03-11 16:05:52 -04:00
Mike Blumenkrantz 31bf6cb7e6 don't modify pixmap hash when changing pixmap parent window
moderately certain I originally wrote this to work in the other direction
and then failed to remove it when I switched to setting parents instead of
children. regardless, pixmap hash should not be changed here
2015-03-11 16:03:27 -04:00
Mike Blumenkrantz 5e48e67b23 fix crash when using e_comp_object_util_center_pos_get() with non comp_objects 2015-03-06 18:57:37 -05:00
Mike Blumenkrantz baf9640ef5 fix horizontal/vertical smart maximize
fix T2170
2015-03-06 17:18:15 -05:00
Mike Blumenkrantz d3d4cbd616 use stderr messages when failing to init X compositor
can't show error dialogs when we're about to exit, may as well print something useful

fix T2182
2015-03-06 15:02:20 -05:00
Mike Blumenkrantz 28d85ea90a exit immediately if any unrecognized arg is passed on startup
ref T2182
2015-03-06 15:02:13 -05:00
Mike Blumenkrantz 35e1e2488f never resize client clip object 2015-03-04 17:08:23 -05:00
Mike Blumenkrantz 1d4f7027a4 set ec->fullscreen before applying fullscreen geometry 2015-03-04 17:08:22 -05:00
Carsten Haitzler e7924ad814 e - menus - fix submenu popup direction when zones are not at 0 y 2015-02-25 15:48:58 -05:00
Carsten Haitzler df7a245f55 e - menus - fix autoscroll on zones not at 0 y... 2015-02-25 15:48:53 -05:00
Carsten Haitzler 1815275df5 efm - make dir listing far faster - no file magic content and dont sync
this speed sup dir listing in efm drastically. first the e fm back end
uses an io thread that just spools through everything fast and sends
it over the mainloop to then send by ipc to e.

and on the e side we no longer use the heavy file internal magic using
api calls that wander all over a file for magic numbers - this is
insanely slow and brings listing to a crawl.
2015-02-24 13:09:05 -05:00
Mike Blumenkrantz 577a577dbd don't clamp bgpreview vsize if bgpreview is a fullscreen overlay 2015-02-23 17:34:42 -05:00
Mike Blumenkrantz f7c07dd086 fix dialog sizing when icon setting fails 2015-02-23 16:54:00 -05:00
Mike Blumenkrantz 800ec5eaa3 do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts 2015-02-20 09:56:15 -05:00
Mike Blumenkrantz c15e0848b5 revert some comp object debugging bits that snuck into another commit 2015-02-19 11:13:46 -05:00
Mike Blumenkrantz 2d4929e68e rename extremely frustratingly-named E_Screen_Limits enum and members
this came in a patch that I take full responsibility for not adequately reviewing at the time.
the names are confusing and counterintuitive, and it does not properly include the client namespace.

backported to avoid future backport conflicts
2015-02-18 18:56:18 -05:00
Mike Blumenkrantz 7ea12ff367 clamp client size to screen when client limit policy does not allow offscreen
fix T1779
2015-02-18 18:38:39 -05:00
Mike Blumenkrantz 9567acde42 don't send unfocused signal to override clients
fix T2099
2015-02-18 16:36:11 -05:00
Mike Blumenkrantz f06634622a use direct path for setting icons in util theme set function when icon is a path
fix T1888
2015-02-18 16:14:54 -05:00
Mike Blumenkrantz 5b84c92f12 block linear desk flips that would wrap if desk flip wrapping is disabled
fix T1948
2015-02-18 16:14:49 -05:00
Vincent Torri 3bdc2ebbba add MIN define for non-linux systems 2015-02-15 17:54:25 -05:00
Carsten Haitzler 257118514e e - client list update after adding to client list - fix netwm bug
this fixes T2029
2015-02-12 23:14:59 -05:00
Carsten Haitzler 20cf69893e maximization bug affecting libreoffice and others - fix
the problem is something changes window gravity... what i don't know,
but hey - just forcibly move window to 0,0 which is where we expect it
anyway when resizing.

@fix
2015-02-12 23:14:52 -05:00
Mike Blumenkrantz e7f995294a ensure no duplicate XDG paths are prepended during startup
the previous patch(es) had a number of issues which made them unsuitable for general use:

* only checking "/usr" and "/usr/local" paths, despite this only being accurate if e was installed into /usr or /usr/local

* only checking if the paths were at the beginning of the string, when it's possible that they could be anywhere

* failure to also check XDG_CONFIG_DIRS

* improper formatting: this is a bit of a nitpick, but there are no correct instances of 'strcmp(a, b) == 0' in the e codebase.
2015-01-29 16:07:04 -05:00
Mike Blumenkrantz 1359adbbbd continue to hide window input regions on desk flip if they are shaded 2015-01-23 14:26:59 -05:00
Carsten Haitzler 88319af396 comp base - make base black. makes for better screenshots of blank areas 2015-01-20 21:52:39 -05:00
Mike Blumenkrantz 4d04162470 don't set deskmirror scale for non-mb objects 2015-01-15 17:18:07 -05:00
Carsten Haitzler 023516621e e - force a config flush before sys actions that could kill e
@fix

this should fix T1988. after some looking here is what i think is
happening. he is asking the system (sysvinit or systemd) to
halt/reboot, but these end up killing the e process before it can save
its config that is lurking around still in ram as opposed to on disk,
so puttting in a config flush before beginning such a system action
will ensure everything is on disk.
2015-01-13 23:03:32 -05:00