Commit graph

391 commits

Author SHA1 Message Date
Dana Jansens
b1a2c014eb snapping/resistance is optional for window and edge snapping 2002-08-02 18:37:31 +00:00
Dana Jansens
628a4ff368 snap to bottoms too =] 2002-08-02 17:37:28 +00:00
Dana Jansens
39bd954b8b window resistance complete 2002-08-02 17:30:50 +00:00
Dana Jansens
c2b3dc9f71 more resistance working. edge of screen works right now 2002-08-02 16:54:08 +00:00
Dana Jansens
d94e8c5068 stab #3. window-to-window works. window-to-screen doesnt 2002-08-02 16:42:23 +00:00
Dana Jansens
6fd2543588 second stab at resistance 2002-08-02 15:58:35 +00:00
Dana Jansens
e9a5c7158a first stab at window resistance instead of snapping 2002-08-02 15:40:46 +00:00
Dana Jansens
ef0bacbaaf dont switch workspaces when focusing a sticky window 2002-08-02 14:57:30 +00:00
Dana Jansens
79916c273d remove the "exec " from the command for running menu stuff so that normal shell things work right in the menu 2002-08-01 07:25:25 +00:00
Dana Jansens
25a18140fa remove sticky windows from other workspaces when unsticking. stop the abuse of stick()! dont just re-call it! 2002-07-30 07:29:36 +00:00
Dana Jansens
a7515b6d85 don't focus non-visible windows 2002-07-30 07:17:07 +00:00
Dana Jansens
961d7eb5b3 since !isNormal windows cant focus from mouse enter events anyays, we don't need to unmap them/remap them on workspace changes, so we don't. this way they dont flash. 2002-07-29 22:56:08 +00:00
Dana Jansens
06b160db51 use a list of rects instead of windows for window-to-window snapping. Also, snap directly to the slit and toolbar, instead of snapping to the strut. 2002-07-29 15:06:46 +00:00
Dana Jansens
d86284c07b make root scrolling customizable 2002-07-29 14:49:12 +00:00
Dana Jansens
77c518f808 better sticky windows. 2002-07-29 06:21:31 +00:00
Dana Jansens
f61a455ec1 get the window's title before adding it to the workspace, since the workspace menu wants that title 2002-07-29 05:25:30 +00:00
Dana Jansens
03f9d6170b sync with bb-cvs (fixes the java bug, plus menu prasing redone) 2002-07-28 18:40:43 +00:00
Dana Jansens
9e7f5d2208 added sticky windows in the wrong place, before the window was even fully initialized ont he workspace. 2002-07-28 18:40:15 +00:00
Dana Jansens
d06cedce06 keep a minimum menu height so that the pixmaps (checkmarks) draw right in them 2002-07-28 17:58:06 +00:00
Dana Jansens
86af1224bd dont assert for focusing !isNormal() windows 2002-07-28 17:37:31 +00:00
Dana Jansens
5ec63388b8 fixes to make sticky windows work better. they appear in all workspace lists, they get focus when switching workspaces properly, their workspace menus show their focus properly. 2002-07-27 18:17:45 +00:00
Dana Jansens
3816b6a257 when a window is uniconified, ensure its nothe 'last focused window' on some other workspace 2002-07-27 08:19:40 +00:00
Dana Jansens
98c17f1809 let normal windows be netizens again 2002-07-26 21:38:05 +00:00
Dana Jansens
d2ab586410 sync with bb-cvs 2002-07-26 15:22:24 +00:00
Dana Jansens
83b6c9bfa0 sync with bb-cvs 2002-07-26 08:37:15 +00:00
Dana Jansens
462ccd7c4d sync with bb-cvs 2002-07-26 07:32:26 +00:00
Dana Jansens
6253730ef0 don't worry abou overlapping the toolbar if there is none. 2002-07-25 22:35:55 +00:00
Dana Jansens
60f0d8920c take out that goddamn stupid assert 2002-07-25 01:33:45 +00:00
Dana Jansens
1e5bbca8a8 use the flag not the function 2002-07-25 01:32:29 +00:00
Dana Jansens
0d209464b1 better focusing. don't set the focused window when its not really set yet, and don't uncheck windows as they lose focus when they are iconified 2002-07-25 01:24:25 +00:00
Dana Jansens
d18f6a4b55 dont unshade windows when they get focus 2002-07-24 09:37:14 +00:00
Dana Jansens
809f819e6f dont ignore full maxed windows while they are shaded just because they are full maxed 2002-07-23 20:54:40 +00:00
Dana Jansens
5cb2020b9b make modal dialogs unmodal before reassigning focus when they are unmanaged 2002-07-23 16:17:28 +00:00
Dana Jansens
733b4f4a33 add comment 2002-07-23 06:04:08 +00:00
Dana Jansens
9500c095f8 dont accept motion events with same_screen set to false 2002-07-23 06:03:36 +00:00
Dana Jansens
6417766553 indenting 2002-07-23 05:35:40 +00:00
Dana Jansens
725e87a05e reorder the menu, put Workspace Warping beside the opaque moving option 2002-07-23 04:31:28 +00:00
Dana Jansens
6747a451f4 add configmenu option for workspace warping 2002-07-23 04:29:57 +00:00
Dana Jansens
be306f6b60 add rc option for workspaceWarping 2002-07-23 04:22:42 +00:00
Dana Jansens
a41a0c1ac8 fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted. 2002-07-23 04:01:39 +00:00
Dana Jansens
ba9c665a87 workspace warping. this needs to be optional! also motion events are retarded! 2002-07-23 03:56:29 +00:00
Dana Jansens
4c03637fd1 modal transients wouldnt throw their focus up to their arent cuz the parent didnt know the modal dialog was gone yet and would pass it back to them. 2002-07-23 01:05:31 +00:00
Dana Jansens
b1874480ae place large windows correctly instead of asserting 2002-07-22 23:32:30 +00:00
Dana Jansens
1e19ccc2cb snapping better to the xinerama regions 2002-07-22 21:09:30 +00:00
Dana Jansens
a0f9b93d5b indenting 2002-07-22 16:37:49 +00:00
Dana Jansens
107e0911b0 check to make sure the workspaces is > 0 not != 0 2002-07-22 16:15:39 +00:00
Dana Jansens
c15287a822 menu was off-by-one when no xinerama support was built in 2002-07-22 09:15:23 +00:00
Dana Jansens
b73ff84f6f make it real easy to change the modifier key used for mouse bindings 2002-07-22 08:49:50 +00:00
Dana Jansens
fd90355381 xinerama support where it shouldnt be 2002-07-22 08:44:20 +00:00
Dana Jansens
da67802bc8 add a xinerama support menu 2002-07-22 08:09:34 +00:00
Dana Jansens
ccecab7915 dont snap windows to rects they arent in for the screen regions (xinerama) or strut/screenarea 2002-07-22 07:31:07 +00:00
Dana Jansens
debe8a2f74 window snapping now has xinerama support 2002-07-22 06:49:12 +00:00
Dana Jansens
98d4ac78ff turn RectList into a vector 2002-07-22 06:12:38 +00:00
Dana Jansens
47585423c6 default all xinerama support options to off 2002-07-22 06:12:20 +00:00
Dana Jansens
47d7f62bf2 had an extra const in there 2002-07-22 06:11:33 +00:00
Dana Jansens
270981e6d7 better cascade placement! also, it has xinerama support now! 2002-07-22 06:02:29 +00:00
Dana Jansens
e943c31bb0 only say xinerama is active if we can find some regions for it 2002-07-22 05:37:10 +00:00
Dana Jansens
c293fd65ca xinerama support for maximizing windows 2002-07-22 04:56:25 +00:00
Dana Jansens
b7ab0001ce move an assert to its proper place 2002-07-22 04:39:32 +00:00
Dana Jansens
e18ff901fc xinerama support for window placement 2002-07-22 04:29:40 +00:00
Dana Jansens
9fe6b282c0 get the right rects for the xinerama regions 2002-07-22 02:07:36 +00:00
Dana Jansens
f7122039db make work without --enable-xinerama 2002-07-22 01:21:07 +00:00
Dana Jansens
bcb14a3ce9 acquire and provide Xinerama information for the window manager. now we just gotta use it. 2002-07-21 23:58:09 +00:00
Dana Jansens
296c12c036 add Xft-build-support and Xinerama-build-support to the -help output
add --enable-xinerama to configure
2002-07-21 17:58:03 +00:00
Dana Jansens
df7120d5ff new slit placement. yea its kinda weak. this can get improved late if people complain. slit is going away anyways for 3.0. 2002-07-21 10:08:57 +00:00
Dana Jansens
bd7f948159 sync with bb-cvs.
Add option in config menu for disabling mouse input with scroll lock.
Remove compile-time flag for event clobbering since this solves that problem for now.
2002-07-21 09:56:18 +00:00
Dana Jansens
54c495c83c add some cvsignore's 2002-07-20 23:19:25 +00:00
Dana Jansens
7493785c17 new windows on non-visible workspaces should follow the same focus rules as those on the visible workspace. if "Focus New Windows" is on, then they should get focus when the workspace becomes visible. 2002-07-20 20:44:29 +00:00
Dana Jansens
54dfa44cbe move the Strut struct from Screen.hh to Util.hh 2002-07-20 19:13:29 +00:00
Dana Jansens
df61eecc26 add ifdefs for config.h 2002-07-19 22:22:32 +00:00
Dana Jansens
5d95d24dd2 use the _variable member naming convention 2002-07-19 22:22:19 +00:00
Dana Jansens
37824505d7 screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :) 2002-07-19 19:31:57 +00:00
Dana Jansens
5862475ff2 make HUP reconfigure as in blackbox. make USR1 restart instead 2002-07-19 19:04:28 +00:00
Dana Jansens
256bcbed81 changing the number of workspaces in the rc does something without restarting now! 2002-07-19 14:38:10 +00:00
Dana Jansens
0326ac961f don't try to show windows which are already shown. this also ends up fixing an elusive segfault. 2002-07-19 08:13:42 +00:00
Dana Jansens
23da937e01 only focus new transient windows if their parent has the input focus 2002-07-19 06:56:00 +00:00
Dana Jansens
6b3f5abde4 dont reconfigure during startup. thats a waste and screws up stuff! 2002-07-19 06:47:27 +00:00
Dana Jansens
90239e2bfa make the bullet, checkmark, and text, all the same color in the menu 2002-07-18 06:47:26 +00:00
Dana Jansens
ec5ea27e53 select the focused window in the workspace menu 2002-07-18 06:29:38 +00:00
Dana Jansens
7972a75e46 fix some capitalisations 2002-07-18 05:30:48 +00:00
Dana Jansens
5b0751d51e move the checkmarks to the opposite side of the bullets. This means they still can be used in the workspace menu for the focused workspace. 2002-07-18 05:14:18 +00:00
Dana Jansens
0a9da78140 change the color used for the checkmark. match the text. dont check the current workspace in the workspace menu. 2002-07-17 22:56:21 +00:00
Dana Jansens
f020fb586b new checkmark for the menus 2002-07-17 22:43:33 +00:00
Dana Jansens
4b339891e7 reverse the if 2002-07-16 22:01:17 +00:00
Dana Jansens
de6c40934f dont put non-normal windows in the stacking list. they dont show up in theclient list either. 2002-07-16 22:00:44 +00:00
Dana Jansens
2dde696a13 much awesome support for special windows like panels/desktops.
All 'non-normal' windows are treated equally now, with a fe wexceptionms for the desktop for stacking.
Fix some ClicmMousePlacement bugs while we're at it.
2002-07-16 08:00:59 +00:00
Dana Jansens
41053a810a put the assert back. better solution in mind 2002-07-16 05:09:03 +00:00
Dana Jansens
d5d02c45eb taking out an assert that only causes problems 2002-07-16 05:07:16 +00:00
Dana Jansens
daaac0dfe2 Click Mouse Placement is BACK!#!# 2002-07-16 05:00:09 +00:00
Dana Jansens
94d86896b4 add sendClientMessage 2002-07-16 04:51:06 +00:00
Dana Jansens
315f1d107a switch workspaces if neccessary for a NET_WM_ACTIVE_WINDOW ClientMessage 2002-07-16 04:18:13 +00:00
Dana Jansens
7427fe1b9c make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does 2002-07-16 04:15:24 +00:00
Dana Jansens
1d4391b09c dont reposition non-normal/dialog windows when they get focus, such as kde's kicker, if they are off screen. they are special and may be doing this on purpose 2002-07-16 03:50:55 +00:00
Dana Jansens
fb613db29f dont let focus fall back to strange windows like panels, only to normal windows and dialogs 2002-07-16 02:38:26 +00:00
Dana Jansens
5cf86b186c add options for ignoring shaded windows and full-maxed windows while placing new windows 2002-07-16 02:18:16 +00:00
Dana Jansens
af0eced081 kde's 'desktop menu' now works just like a panel 2002-07-15 22:27:46 +00:00
Dana Jansens
90dbcb271c properly handle workspace names, and changes to them. 2002-07-14 20:54:03 +00:00
Dana Jansens
c6a826bf66 fix case where the window group deletes itself. somehow missed this while syncing! :( 2002-07-14 18:47:52 +00:00
Dana Jansens
3312a209d7 sych with blackbox 2002-07-14 18:45:46 +00:00
Dana Jansens
1525520dd1 make arrows larger, match th size of the other bullets. make all bullets' sizes quickly/easily adustable 2002-07-14 17:55:03 +00:00