Commit Graph

8253 Commits

Author SHA1 Message Date
Mike Blumenkrantz c8c21fcc0f apply screen limit policy to border configure requests 2013-07-02 08:34:25 +01:00
Carsten Haitzler 934e02b320 font previews in efm - in thumbnails and in efm preview 2013-07-02 14:24:16 +09:00
Chris Michael de80a48fc3 When we unbind the data device or input device, we do not need to call
free().
Free the allocated strings after creating the keymap (leak--).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 07:57:34 +01:00
Chris Michael 77e6d1c8e1 Update unbind of the data device to use wl_resource_get_link.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 06:50:26 +01:00
Chris Michael bd3281c248 Revert "leak--: Store xkb_rule_names into Input structure so we can free the strings"
This reverts commit 87c1798281.

NB: This actually causes a nasty crash on E shutdown, so I need to
come up with another solution.
2013-06-28 06:49:09 +01:00
Mike Blumenkrantz 181f11a03a fix override window shape input cutting
this is currently GUARANTEED to break with override shaped windows, which means that if such a window is ever opened, it will NEVER receive input unless it is placed over another client window. this is due to a limitation in evas where it is impossible to (de)select input regions which forced me to choose between either having shaped override windows (such as desktop recorders) block all mouse input to the screen OR have normal override windows (gtk menus and popups...) not able to generate their own input shape at all
2013-06-27 14:39:40 +01:00
Chris Michael 87c1798281 leak--: Store xkb_rule_names into Input structure so we can free the strings
on shutdown or keymap change.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 11:37:51 +01:00
Chris Michael ee05616f33 Update wayland client support in the E compositor to work with recent
Wayland changes.

NB: Although the code does compile and clients do run, I RECOMMEND
that you do not use this feature right now. There is a current bug in
Wayland that is causing crashes when you close clients.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 09:23:13 +01:00
Mike Blumenkrantz a6245c5c4a check ignore flags on effect_obj when cutting comp shapes 2013-06-25 09:19:04 +01:00
Mike Blumenkrantz ff3b3c7309 call _e_border_action_finish when hiding/deleting the action_border 2013-06-25 09:19:04 +01:00
Mike Blumenkrantz 2841e44f48 move static variable decls to top of e_border 2013-06-25 09:19:04 +01:00
Mike Blumenkrantz 2b3a8d884a add proto for _e_border_action_finish 2013-06-25 09:19:04 +01:00
Mike Blumenkrantz 37ff81ef2b set ignore events on move/resize info popups 2013-06-25 09:19:00 +01:00
Mike Blumenkrantz 3a7a769edc improve BD_CHANGED macro to abort in debug mode 2013-06-25 09:00:27 +01:00
Mike Blumenkrantz 18a585df48 fix border show/hide events for new clients to not occur before border add event 2013-06-24 13:13:09 +01:00
Mike Blumenkrantz 9cb17f6c8f correctly pop pointer stack when deleting entry widgets 2013-06-24 10:52:51 +01:00
Mike Blumenkrantz 219b7c62fe don't set real_hid when creating comp wins for borders
initial border pixmaps are now available for windows on other desktops immediately after startup, which should:

* improve initial redraw on first desk flip

* make comp mirrors available immediately for non-current desk windows

** fixes ibar menu instances

** fixes deskmirror redraws
2013-06-24 10:08:05 +01:00
Mike Blumenkrantz 32999cfe08 block comp show events for comp wins with borders -- these get handled by the border show event 2013-06-24 10:07:30 +01:00
Mike Blumenkrantz 30b83c7820 always show ecore-x windows for new clients after reparent 2013-06-24 10:07:12 +01:00
Mike Blumenkrantz 26f61cb50a block border comp geometry updates when pixmap has not been fetched 2013-06-24 09:35:34 +01:00
Mike Blumenkrantz 06e4663e7c pop all pointers when deleting a border 2013-06-24 08:56:17 +01:00
Mike Blumenkrantz 0f432b0600 use current border's action->func.end() if it exists when border is deleted to correctly terminate moves/resizes 2013-06-24 08:55:35 +01:00
Mike Blumenkrantz a720865946 don't unset resize pointer value before cancelling border resize 2013-06-24 08:54:51 +01:00
Mike Blumenkrantz a58ae572a4 move all pointer resets for borders to the move/resize end functions 2013-06-24 08:54:22 +01:00
Mike Blumenkrantz c22393189b avoid setting changed on deleted borders when trying to refresh comp pixmap 2013-06-24 08:50:48 +01:00
Mike Blumenkrantz e251e4a8a6 prevent deletion of E_Exec instances from launchers
if a border appears which has a pid that does not match the pid of the e_exec instance which is found for it, prevent the exec deletion until the border is deleted so that we can track it

this fixes ibar tracking of efm windows
2013-06-21 14:37:46 +01:00
Mike Blumenkrantz 9721885ce4 if an e_exec instance gets an exit event, but is a phony exec, block the event 2013-06-21 14:37:46 +01:00
Mike Blumenkrantz 998835bca0 set startup_id in phony e_execs 2013-06-21 14:37:46 +01:00
Sebastian Dransfeld 97dd1d7486 e: No need to check MINOR twice 2013-06-21 12:48:10 +02:00
Mike Blumenkrantz c507b36abf outdent small block in menu idler 2013-06-21 10:28:22 +01:00
Mike Blumenkrantz bc338ab390 fix menu crash when trying to show a menu that isn't ready to be shown 2013-06-21 10:27:18 +01:00
Mike Blumenkrantz 3989e54e21 app menu parsing is now async with efreet 1.8 2013-06-21 10:02:25 +01:00
Mike Blumenkrantz 48e7d59eac only call eldbus_shutdown() for udisks efm backends if there's an existing eldbus connection 2013-06-21 09:02:37 +01:00
Sebastian Dransfeld 7971c68634 e: Remove unneeded variable 2013-06-21 09:30:08 +02:00
Mike Blumenkrantz a41c50632c udisks2 support 2013-06-20 16:36:33 +01:00
Sebastian Dransfeld dd27589470 e: Create a temp XDG_RUNTIME_DIR if not set
Using /tmp as XDG_RUNTIME_DIR is pointless if we want it to be mode 0700
2013-06-20 13:29:37 +02:00
Mike Blumenkrantz 6f2ce10eb1 I guess maybe this was the unused variable that was supposed to be removed 2013-06-19 12:07:03 +01:00
Mike Blumenkrantz 3a10253805 revert a9ab914845
I have no fucking clue what this does, but I'm not reading through a rewrite of the whole file when the commit message is so obviously wrong
2013-06-19 10:43:59 +01:00
Chris Michael f1641f8b8c Fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 10:32:58 +01:00
Chris Michael a9ab914845 Remove unused variable
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 10:32:31 +01:00
Mike Blumenkrantz cf1ccd32f2 things that grind my gears: when my shelf config dialogs don't have check changed 2013-06-19 08:27:00 +01:00
Mike Blumenkrantz 5b3408bb85 s/E17/E18/ 2013-06-18 15:44:57 +01:00
Mike Blumenkrantz d2b7895f3d make e_exec work for desktops when orig_path is not present but name is 2013-06-18 15:44:57 +01:00
Mike Blumenkrantz dec3ed65ed add e_exec_instances_get 2013-06-18 15:44:57 +01:00
Mike Blumenkrantz 30c908cdc0 fix e_remember removal crash which I cleverly added last year to create more work for myself in the future 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz d4e6c101ff always try to add phony e_exec instances to borders 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 720303b53b add E_EVENT_EXEC_NEW and E_EVENT_EXEC_DEL, also prevent deleted exec watchers from being called repeatedly 2013-06-18 15:44:37 +01:00
Mike Blumenkrantz 78e0d3c62e fix emotion filepreview backend setting with 1.8 2013-06-17 16:07:59 +01:00
Mike Blumenkrantz b9cca5a97a fix e widget focus un-setting 2013-06-17 09:52:14 +01:00
Mike Blumenkrantz 9528724cd9 try adding comp damage rects on resume so the screen doesn't stay black 2013-06-17 07:59:46 +01:00
Thomas Gstädtner 8b4802ad45 honor disable_all_pointer_warps in e_border_activate 2013-06-17 07:48:18 +01:00
Carsten Haitzler c65e2cb4c7 add reported acpi events for several button/... events not handled yet 2013-06-16 10:39:20 +09:00
Carsten Haitzler 4d68c30127 add support for acpi events like:
video/tabletmode TBLT on K
video/tabletmode TBLT off K
2013-06-16 10:31:11 +09:00
Chris Michael 30225fa74e Fix uninitialized variable warning
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-15 21:32:29 +01:00
Mike Blumenkrantz f4a327a0ca add teamwork module
see http://e18releasemanager.wordpress.com/2013/06/14/why/ for more info
2013-06-14 15:36:11 +01:00
Mike Blumenkrantz 3198e442ad move comp shutdown before border shutdown to fix some hash failures 2013-06-14 14:41:37 +01:00
Mike Blumenkrantz c78f88b700 add e_widget_preview_size_set 2013-06-14 14:41:37 +01:00
Mike Blumenkrantz e9516c7242 escape link url when opening .desktop links 2013-06-14 14:41:37 +01:00
Mike Blumenkrantz 287ef17734 undeprecate e_icon_object_set and rename to e_icon_image_object_set for clarity 2013-06-14 14:41:37 +01:00
Mike Blumenkrantz d0310ee6de fix e_icon animation when reusing evas object images 2013-06-14 14:41:37 +01:00
Carsten Haitzler 8462dc3c04 put in "key allowed" call in e_bindings for keys to filter out
problematic key binds. :)
2013-06-13 20:10:52 +09:00
Mike Blumenkrantz 092c7e2ba5 efm dnd operations involving multiple files will now show all files during the drag 2013-06-13 09:37:47 +01:00
Mike Blumenkrantz 7ee867e1ac use binbuf when creating efm dnd buffer 2013-06-13 08:27:09 +01:00
Yossi Kantor 7d9b778b76 BUGFIX: Smart policy maximize on restart 2013-06-13 07:23:08 +01:00
Mike Blumenkrantz e6b22fc6bc allow e_comp_win_effect_set() to take a NULL effect for unsetting current effect 2013-06-12 14:08:03 +01:00
Mike Blumenkrantz 8102025dd9 block comp win creation on window create for all border windows 2013-06-12 13:55:30 +01:00
Mike Blumenkrantz bf12a34da0 fix a corner case menu crash when a submenu is created directly above its parent 2013-06-12 13:55:08 +01:00
Mike Blumenkrantz 595ba0859d fix menu item dnd grabber 2013-06-12 13:35:55 +01:00
Mike Blumenkrantz 245c308bb3 after 4 hours of dndebugging gtk apps, I have solved all external dnd issues. 2013-06-12 13:35:55 +01:00
Mike Blumenkrantz 1944f758f6 fix wrong & in module loading check 2013-06-12 08:59:15 +01:00
Mike Blumenkrantz 2543d91f5e all focus ungrab events = noop for focus setting, not just notifypointer 2013-06-12 08:41:28 +01:00
Mike Blumenkrantz 74baabb034 add drop handler "hidden" flag to block drops 2013-06-12 07:46:26 +01:00
Mike Blumenkrantz 90e91530f8 only try to drop into handlers which have been entered 2013-06-12 07:46:25 +01:00
Mike Blumenkrantz 6d398fa27d use drop handler base object layer when available to override drop handler object layer 2013-06-12 07:46:25 +01:00
Mike Blumenkrantz e603dcf486 use stringshare typedef for drop handler types 2013-06-12 07:46:25 +01:00
Eduardo Lima (Etrunko) d4ee6be578 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:19:12 -03:00
Mike Blumenkrantz 1bae7bbf38 selection rectangles in efm no longer sometimes turn into drag operations 2013-06-11 14:20:27 +01:00
Mike Blumenkrantz 8696b2dc6a fix e_border crash that I just added
mfw I realize I just guaranteed a crash: http://i.imgur.com/2lUQGC4.jpg
2013-06-11 14:07:22 +01:00
Mike Blumenkrantz 69b4a51c87 delete an existing comp win if it's set to be ignored 2013-06-11 13:58:00 +01:00
Mike Blumenkrantz 9d64707925 block duplicate border creation completely 2013-06-11 13:57:29 +01:00
Mike Blumenkrantz 68627596f6 go back to creating comp wins for all x windows, but do it...smarter 2013-06-11 13:40:28 +01:00
Mike Blumenkrantz bc69d2ef60 don't try to show a border's desk after pointer warping 2013-06-11 11:48:18 +01:00
Mike Blumenkrantz 477aaa822e zoomaps strike again: only enable for popups and menus now
fixes clicking desktop icons when the efm object is not at 0,0
2013-06-11 09:50:58 +01:00
Mike Blumenkrantz b781e4caa4 set efm icon thumb failure when icon generates at 0x0 2013-06-11 09:25:13 +01:00
Mike Blumenkrantz 17339af862 only set icon change flag and remember change if window name/class is actually different 2013-06-10 13:36:03 +01:00
Yossi Kantor 3a68bf115b Tasks module - not updating task item on every border propery change anymore 2013-06-10 13:35:58 +01:00
Mike Blumenkrantz af121b1da0 fix shelf config stacking options 2013-06-10 10:35:54 +01:00
Mike Blumenkrantz 4628c3b6dc only call app menu scan functions when passing a menu
klocwork issue
2013-06-10 10:16:52 +01:00
Mike Blumenkrantz ca49356bce fix possible null deref
klocwork issue
2013-06-10 10:10:38 +01:00
Mike Blumenkrantz 2908af3845 fix border remember geometry apply 2013-06-10 08:00:32 +01:00
Mike Blumenkrantz 219e197220 fix e_win dnd coord calcs 2013-06-10 06:18:12 +01:00
Mike Blumenkrantz 76090faf33 add conf2 option for new winlist option 2013-06-10 05:04:00 +01:00
Igor Murzov c1f51a82a6 Add missing space to the message 2013-06-09 20:13:00 +04:00
Chris Michael 8f02899b9a Don't try to send an updated keymap if we have no keyboard resource.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-09 09:40:50 +01:00
Chris Michael a612fcf2c9 Initialize geometry variables (ie: The Shutup you stupid clang commit)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-31 13:29:51 +01:00
Mike Blumenkrantz d8cef4eb39 try passing raw border geom in comp resize events 2013-05-30 15:01:07 +01:00
Mike Blumenkrantz ee72a4bd53 fix border shade geometry calculations 2013-05-30 15:00:49 +01:00
Mike Blumenkrantz fe8fa9d249 use new border inset util functions wherever possible to make things look nicer 2013-05-30 14:32:03 +01:00
Mike Blumenkrantz 9a615c1438 new user-requested option for moving the winlist-selected window to the current desk 2013-05-30 14:23:13 +01:00
Mike Blumenkrantz 50a6f16688 block comp win configure updates for borders: attempt #2
this time flag client to update pixmap and geom when the window change comes through
2013-05-30 14:07:13 +01:00
Mike Blumenkrantz be9ee35f1b add e_border inline functions for getting client_inset w/h 2013-05-30 13:56:02 +01:00
Mike Blumenkrantz ab0a0ad4d0 unbreak window manipulation, need to test this more... 2013-05-30 12:04:37 +01:00
Mike Blumenkrantz e07ca1aa8e use client geom when configuring comp win from border resize callback 2013-05-30 12:01:36 +01:00
Mike Blumenkrantz 048b7743a9 block comp win configure updates for borders 2013-05-30 11:45:21 +01:00
Mike Blumenkrantz c8ed7270b8 remove comp win create handler: comp wins now just get created on show 2013-05-30 11:41:54 +01:00
Mike Blumenkrantz 8df93a006d set coords for dnd leave events and remove weird FIXME 2013-05-30 11:28:42 +01:00
Mike Blumenkrantz fce97f9d46 add new border hack for qemu sdl window shading 2013-05-30 11:23:48 +01:00
Mike Blumenkrantz d95369726b start a new "hacks" section for border clients to reduce repeated match attempts against broken clients 2013-05-30 11:05:58 +01:00
Mike Blumenkrantz 36d45c65ef add e_comp_win_effect_clip for manually applying clip to comp wins 2013-05-30 09:39:30 +01:00
Mike Blumenkrantz 36068eaddf streamline dnd drag deletion, unify leave handlers
also fixes some recent dnd bugs
2013-05-30 08:23:19 +01:00
Mike Blumenkrantz ca798e4d05 fix e_exec to successfully open .desktop files which are URLs by using e_open 2013-05-29 15:04:46 +01:00
Mike Blumenkrantz 65e4442f1c block repeated mozilla url drags which would overwrite an existing link 2013-05-29 14:38:53 +01:00
Mike Blumenkrantz bc86c5a8b5 efm now supports text/x-moz-url dnd operations when using efl 1.8 2013-05-29 13:45:48 +01:00
Mike Blumenkrantz db20c24837 dnd overhaul
* use separate list for active handlers to avoid unnecessary iterating

* use similar function to efm for detecting supported dnd types
2013-05-29 13:45:48 +01:00
Mike Blumenkrantz 76ed05375d register comp canvas for dnd during creation 2013-05-29 13:45:48 +01:00
Chris Michael 16c63ecf8c Remove call to screen_reset (not needed)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 13:30:03 +01:00
Chris Michael 45b4d9f36f Move xinerama init until After randr has setup the screens.
NB: Old Man, THIS should fix your black screen problem ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 12:50:17 +01:00
Chris Michael 99268f50ab Rework the randr restore code
NB: This matches more closely to how xrandr applies settings

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 12:35:57 +01:00
Chris Michael 2a38555368 Add code to handle setting a larger screen size
IF, when applying any saved crtc settings, we find that the current
screen size is too small, then calculate a new screen size and apply it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 07:21:39 +01:00
Mike Blumenkrantz e8f63e0bee handle dragging urls to efm: create new file with url as contents 2013-05-28 15:05:32 +01:00
Mike Blumenkrantz c6f0c79b61 add e_util_string_list_free 2013-05-28 15:05:32 +01:00
Mike Blumenkrantz 5d6b139f35 make new dir creation more clear for error conditions 2013-05-28 15:05:32 +01:00
Chris Michael 7ae5da88da When we try to restore randr config, skip outputs that are not
connected.

Fix buffer which was flipping Primary Output when you restart E (ie:
only set Primary Output once).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 14:43:48 +01:00
Mike Blumenkrantz e772799f4d disable comp shadows for override windows with titles that begin with "noshadow" 2013-05-28 13:18:28 +01:00
Carsten Haitzler 317968efa8 fix efm segv on single click due to out callbacks being called while deleting objects etc. 2013-05-28 21:03:07 +09:00
Chris Michael 04b331ecb3 Move setting of XDG_RUNTIME_DIR to e_main
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 07:05:00 +01:00
Carsten Haitzler 4be1d4537a allow xdg dir usage if you add -DDOXDG to CFLAGS. 2013-05-28 12:32:31 +09:00
Carsten Haitzler b5b0756e79 add more acpi button support 2013-05-27 23:25:54 +09:00
Chris Michael 98ac01ceb8 Remove unused variable (not needed).
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-25 20:20:13 +01:00
Chris Michael 74a85a19db Actually, we cannot set primary first as we may need to re-enable a
saved monitor, so move "primary setting" until After we have enabled
and sized the monitors.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-25 20:18:33 +01:00
Chris Michael d498c41467 As we need XDG_RUNTIME_DIR to be set before we can run wayland-clients
inside E, check if it is set, and if not set it.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 21:53:39 +01:00
Chris Michael 04936b207a Set primary output before crtc settings.
If the primary output saved in config does not exist, then set primary
to the first output.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 18:42:45 +01:00
Chris Michael 9f95515926 Record primary output in randr config.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 13:04:58 +01:00
Chris Michael d6a392d127 Preliminary support for Primary Output of XRandR
NB: If you have more than one output, XRandR has the option/support to
set a specific monitor as the primary output. These changes allow some
distinction in the dialog between which output is primary (a faint
glow around the monitor). This is just the "display" portion of
Primary Output support ... next is a method to Change that.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 11:28:34 +01:00
Mike Blumenkrantz 1b58e6cf8e fix shape rect related crash from b738b9fe5f 2013-05-23 13:29:34 +01:00
Carsten Haitzler b738b9fe5f fix shape rects leak in e_border 2013-05-23 21:39:33 +09:00
Mike Blumenkrantz 10585f1771 Revert "dont leak shape rects!"
they weren't leaking.
2013-05-23 13:16:15 +01:00
Carsten Haitzler bfec26893d dont leak shape rects! 2013-05-23 20:56:08 +09:00
Mike Blumenkrantz 5ac0b9df10 remove unnecessary call to evas_object_data_get during gadget deletion 2013-05-23 11:16:00 +01:00
Mike Blumenkrantz 36bdc32757 use relative window coords when setting up desk transitions; fixes animations with multiple monitors 2013-05-23 11:06:11 +01:00
Mike Blumenkrantz 738e8d5d4a set pass events on effect_obj for comp wins instead of shobj; fixes dnd window finding algorithm 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 15933c43a0 improve e_comp_util_wins_print for non-border comp wins 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 74732f5603 block creation of comp wins for border parent windows 2013-05-23 08:59:51 +01:00
Mike Blumenkrantz ce21e7fe98 ensure we delete previous shape if we commandeer an override comp win as a border comp win somehow 2013-05-23 08:59:51 +01:00
Chris Michael 54931cf7f6 Fix several "variable may be used uninitialized" warnings.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-22 17:26:18 +01:00
Mike Blumenkrantz 68829b05d5 block dynamic comp win creation for deleted border-client windows 2013-05-22 14:44:03 +01:00
Mike Blumenkrantz a583f9a118 streamline comp win initial geometry setting to use fewer roundtrips and not randomly put overrides in the upper left corner 2013-05-22 14:17:37 +01:00
Mike Blumenkrantz 74f33f1ed2 block dynamic creation of comp wins for root windows and their parents. my confusion is palpable. 2013-05-22 13:24:03 +01:00
Mike Blumenkrantz b6024ca722 unify comp win external shape creation routine and allow for non-override windows to be dynamically created on window show events
fixes stupid non-override qt menus
2013-05-22 13:16:48 +01:00
Mike Blumenkrantz b0fb5ae565 greatly improve pointer focus models by hooking mouse callbacks to the comp win object 2013-05-22 11:07:01 +01:00