Commit graph

362 commits

Author SHA1 Message Date
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
Dana Jansens
8ff1b70973 make sure the desktop names atom is set when setting a workspace name, even when it doesnt already exist (bug fix) 2002-07-14 17:30:26 +00:00
Dana Jansens
8cb1108f4e properly lower windows and keep desktop windows on the bottom. 2002-07-13 21:25:19 +00:00
Dana Jansens
e8b6f65186 add support for the WM_CLASS property.
make getValue for a string array return the right number in nelements.
2002-07-12 02:24:30 +00:00
Dana Jansens
17fbff7d70 make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock. 2002-07-11 23:44:04 +00:00
Dana Jansens
f320a02397 clean up the systray and desktop lists 2002-07-11 00:41:56 +00:00
Dana Jansens
cac80d06ef restart the window manager on a SIGHUP 2002-07-10 22:29:57 +00:00
Dana Jansens
9e99a9a1e2 sync with bb cvs 2002-07-10 22:24:48 +00:00
Dana Jansens
b21cf8b335 add another return, and return a value for a non-void funtion. 2002-07-10 17:49:05 +00:00
Dana Jansens
25f3456b5d missing a ; 2002-07-10 17:47:59 +00:00
Dana Jansens
66119f751d add some returns so the compiler doesnt get confused 2002-07-10 17:46:21 +00:00
Dana Jansens
235d9e4c40 use a BPen in the BFont class for drawing standard X fonts 2002-07-09 06:50:01 +00:00
Dana Jansens
0c04fb5260 synch with bb-cvs.
add window resize zones. the resource has been renamed from windowZones to resizeZones.
2002-07-09 06:09:10 +00:00
Dana Jansens
8e34bfcfcb keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops) 2002-07-09 04:49:04 +00:00
Dana Jansens
f2ecfb623b when a window is iconified, set its workspace to 'all workspaces' so it shows up in taskbars still. otherwise its impossible to get back iconified windows. update teh stacking list when windows switch workspaces. 2002-07-09 01:22:16 +00:00
Dana Jansens
20bc088a99 add option to the rc file to use/not use AA for Xft fonts 2002-07-08 04:40:34 +00:00
Dana Jansens
1618ecc845 extend the style format to use xft.(font|size|flags) to specify an xft font 2002-07-08 02:28:24 +00:00
Dana Jansens
137a0c4e59 allow style options in the rc file to override those found in the style 2002-07-07 21:16:35 +00:00
Dana Jansens
32c1369752 no need to call XrmInit outside of Config class. fix indenting. 2002-07-07 20:38:39 +00:00
Dana Jansens
1da5287620 dont need to XrmInit outside of the Config class. fix indenting. 2002-07-07 20:38:00 +00:00
Dana Jansens
6d4aa1af4e fix a debug print 2002-07-07 19:17:04 +00:00
Dana Jansens
ed3e597500 don't cast char*'s to string's needlessly 2002-07-07 11:17:44 +00:00
Dana Jansens
300491ce5a sync with bb-cvs 2002-07-07 10:27:06 +00:00
Dana Jansens
b29977196b try make the ~/.openbox dir if it doesnt exist. 2002-07-07 10:26:42 +00:00
Dana Jansens
b950402ba2 remove some debug fprintfs 2002-07-06 00:29:12 +00:00
Dana Jansens
5282d92b62 was ending up using the wrong cache items. now i find and release it every time a string is drawn 2002-07-06 00:28:27 +00:00
Dana Jansens
6716bd3323 sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily 2002-07-05 23:56:10 +00:00
Dana Jansens
9d2f88e05a use the True/False as is the blackbox code standard. 2002-07-05 22:09:40 +00:00
Dana Jansens
4abbbd9f84 remove compiler warnings 2002-07-05 20:13:56 +00:00
Dana Jansens
b3c3157354 fix a memleak reported by valgrind 2002-07-05 19:48:03 +00:00