Commit Graph

1087 Commits

Author SHA1 Message Date
Mike Blumenkrantz dbc1a2c92a fix guaranteed crash from typo in e_border_lower_below 2013-07-02 10:08:24 +01:00
Mike Blumenkrantz ca7b5169ff don't raise a border during layer set if it has a modal on the same or lower layer 2013-07-02 10:08:23 +01:00
Mike Blumenkrantz 8e0fd0bf4b if the warping border gets a modal window during the warp, do nothing after the warp 2013-07-02 10:08:23 +01:00
Mike Blumenkrantz c8c21fcc0f apply screen limit policy to border configure requests 2013-07-02 08:34:25 +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 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 30b83c7820 always show ecore-x windows for new clients after reparent 2013-06-24 10:07:12 +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 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 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 d4e6c101ff always try to add phony e_exec instances to borders 2013-06-18 15:44:56 +01:00
Thomas Gstädtner 8b4802ad45 honor disable_all_pointer_warps in e_border_activate 2013-06-17 07:48:18 +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 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 9d64707925 block duplicate border creation completely 2013-06-11 13:57:29 +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 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 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 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 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 b0fb5ae565 greatly improve pointer focus models by hooking mouse callbacks to the comp win object 2013-05-22 11:07:01 +01:00
Mike Blumenkrantz c8d615f155 comp shape updates:
* move all shape rectangle stuff into e_container_shape

* use input rects for cutting comp shape when available

* set shape changed and render queue when container shape change callbacks are called

* create fewer comp wins (small memory improvement)
2013-05-21 11:21:05 +01:00
discomfitor 12944d7afe add e_exec_phony to create fake e_exec instances on e restart 2013-05-18 19:39:51 +01:00
discomfitor d8dc6df8c4 add E_Exec_Instance to E_Border and vice versa 2013-05-18 19:39:51 +01:00
Carsten Haitzler 8814dbc109 fix focus hang bug - zmike suggestion... 2013-05-16 14:44:33 +09:00
Mike Blumenkrantz ad89c33535 remove unused "modal_windows" option which was breaking dialog focus in some cases 2013-05-10 13:08:52 +01:00
Mike Blumenkrantz b797b4bb1b always unlock focus after pointer warp, even if warp border has previously been unset 2013-05-10 13:08:31 +01:00
Mike Blumenkrantz 4a7832a61b fix autoraise when mousing into already-focused windows 2013-05-10 13:08:01 +01:00
Mike Blumenkrantz 4da2c68fec fix floating border icons when changing border themes 2013-05-10 12:29:58 +01:00
Mike Blumenkrantz 053a14197e correctly send border move events for shading where applicable 2013-05-10 10:43:09 +01:00
Mike Blumenkrantz 0bcb83b2b6 more accurately init window position for re-managed windows 2013-05-10 10:40:54 +01:00
Mike Blumenkrantz c533d03e59 block border resize action for shading/shaded windows 2013-05-10 10:40:20 +01:00
Mike Blumenkrantz 11388ab67e block window shade animation for new clients 2013-05-10 10:39:56 +01:00
Mike Blumenkrantz 84b071df66 set shape input rects for shaped windows 2013-05-09 14:07:53 +01:00
Mike Blumenkrantz 43c540a4f1 block mouse focus events if desk animation is running 2013-05-08 13:43:19 +01:00
Mike Blumenkrantz b5e79146a3 update container shapes and apply comp hidden when (un)shading windows 2013-05-08 12:42:59 +01:00
Mike Blumenkrantz 2c420cde8b leave britney^Wgravity alone (during shading)! #2 2013-05-08 12:33:07 +01:00
Mike Blumenkrantz 9c91d45f5d remove redundant setting of bd->changed 2013-05-08 12:32:55 +01:00